Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 107.6 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 206.8 kB / 24.48 MB, free: 3.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.467/1.467, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2274/0.2274, allocations: 46.97 MB / 361.6 MB, free: 4.129 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 79.88 kB / 0.4974 GB, free: 7.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3449, allocations: 66.03 MB / 0.5619 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.004126/0.349, allocations: 1.71 MB / 0.5636 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002061/0.351, allocations: 0.9793 MB / 0.5645 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.101e-05/0.3511, allocations: 7.938 kB / 0.5645 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003391/0.3515, allocations: 39.77 kB / 0.5646 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003552/0.3518, allocations: 95.59 kB / 0.5646 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.3521, allocations: 79.67 kB / 0.5647 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.3523, allocations: 119.6 kB / 0.5648 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.3524, allocations: 7.984 kB / 0.5648 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.3525, allocations: 55.77 kB / 0.5649 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.983e-05/0.3526, allocations: 39.78 kB / 0.5649 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.3526, allocations: 8 kB / 0.5649 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002014/0.3528, allocations: 111.9 kB / 0.565 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.826e-05/0.3529, allocations: 19.92 kB / 0.5651 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.377e-05/0.3529, allocations: 31.78 kB / 0.5651 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000331/0.3533, allocations: 181.8 kB / 0.5653 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3533, allocations: 0 / 0.5653 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3533, allocations: 0 / 0.5653 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.3533, allocations: 4 kB / 0.5653 GB, free: 0.6875 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006497/0.3539, allocations: 357.4 kB / 0.5656 GB, free: 316 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.354, allocations: 12.03 kB / 0.5656 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.145e-05/0.354, allocations: 12.89 kB / 0.5656 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.3543, allocations: 160 kB / 0.5658 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.3544, allocations: 384 / 0.5658 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.3544, allocations: 8.125 kB / 0.5658 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.3546, allocations: 97.03 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.3546, allocations: 0 / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.3546, allocations: 4 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3546, allocations: 4 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.165e-05/0.3547, allocations: 23.97 kB / 0.5659 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000417/0.3552, allocations: 220.6 kB / 0.5661 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.3554, allocations: 70.53 kB / 0.5662 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.227e-05/0.3554, allocations: 24.97 kB / 0.5662 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.3555, allocations: 0 / 0.5662 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001796/0.3556, allocations: 71.39 kB / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.3556, allocations: 0 / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006978/0.3563, allocations: 225.2 kB / 0.5665 GB, free: 15.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.415e-05/0.3564, allocations: 85.05 kB / 0.5666 GB, free: 15.19 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.3566, allocations: 169.9 kB / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.453e-05/0.3567, allocations: 29.7 kB / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.089e-05/0.3567, allocations: 96.12 kB / 0.5669 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.496e-05/0.3568, allocations: 31.84 kB / 0.5669 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.618e-05/0.3568, allocations: 33.64 kB / 0.5669 GB, free: 14.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.357, allocations: 330.8 kB / 0.5672 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.746e-05/0.3571, allocations: 27.98 kB / 0.5673 GB, free: 14.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.3572, allocations: 84.25 kB / 0.5674 GB, free: 14.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.3574, allocations: 85.61 kB / 0.5674 GB, free: 14.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3574, allocations: 0 / 0.5674 GB, free: 14.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002386/0.3576, allocations: 121.6 kB / 0.5676 GB, free: 14.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3576, allocations: 4 kB / 0.5676 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3576, allocations: 0 / 0.5676 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.3576, allocations: 4 kB / 0.5676 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.3578, allocations: 23.92 kB / 0.5676 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.3578, allocations: 0 / 0.5676 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.95e-05/0.3578, allocations: 12.03 kB / 0.5676 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.3578, allocations: 11.92 kB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001222/0.358, allocations: 124.7 kB / 0.5677 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.358, allocations: 11.91 kB / 0.5677 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003295/0.3583, allocations: 138.2 kB / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.3583, allocations: 0 / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.3583, allocations: 0 / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3583, allocations: 0 / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006006/0.3589, allocations: 374.9 kB / 0.5682 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.3589, allocations: 12.03 kB / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.401e-05/0.359, allocations: 11.94 kB / 0.5682 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.359, allocations: 4 kB / 0.5683 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.359, allocations: 3.938 kB / 0.5683 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.359, allocations: 3.984 kB / 0.5683 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.359, allocations: 4 kB / 0.5683 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003145/0.3593, allocations: 220.3 kB / 0.5685 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.712e-05/0.3594, allocations: 15.89 kB / 0.5685 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.3594, allocations: 7.938 kB / 0.5685 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.156e-05/0.3595, allocations: 4 kB / 0.5685 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.3595, allocations: 15.92 kB / 0.5685 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.3595, allocations: 4 kB / 0.5685 GB, free: 13.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001395/0.3597, allocations: 135.2 kB / 0.5686 GB, free: 12.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3597, allocations: 96 / 0.5686 GB, free: 12.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003385/0.36, allocations: 51.81 kB / 0.5687 GB, free: 12.89 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002194/0.3622, allocations: 0.595 MB / 0.5693 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002619/0.3625, allocations: 79.89 kB / 0.5694 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3625, allocations: 4 kB / 0.5694 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.3626, allocations: 35.92 kB / 0.5694 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.363, allocations: 19.98 kB / 0.5694 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005656/0.3635, allocations: 260.4 kB / 0.5697 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.884e-05/0.3636, allocations: 89.44 kB / 0.5697 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.523e-05/0.3637, allocations: 23.42 kB / 0.5698 GB, free: 11.99 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3637, allocations: 0 / 0.5698 GB, free: 11.99 MB / 414.1 MB Notification: Performance of Templates: time 0.00537/0.3691, allocations: 2.593 MB / 0.5723 GB, free: 9.402 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.04137982899556]