Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001105/0.001105, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 226.7 MB / 245.5 MB, free: 6.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001159/0.001159, allocations: 118.5 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.39/0.39, allocations: 44.84 MB / 392.7 MB, free: 34.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 63.91 kB / 465.5 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3719, allocations: 62.01 MB / 0.5152 GB, free: 37.84 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002795/0.3748, allocations: 1.795 MB / 0.5169 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001995/0.3768, allocations: 1.614 MB / 0.5185 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.194e-05/0.3769, allocations: 7.156 kB / 0.5185 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002679/0.3772, allocations: 37.77 kB / 0.5185 GB, free: 35.42 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.3774, allocations: 80.14 kB / 0.5186 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.3776, allocations: 93.62 kB / 0.5187 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.3778, allocations: 102.9 kB / 0.5188 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.698e-05/0.3779, allocations: 5.875 kB / 0.5188 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.017e-05/0.378, allocations: 47.88 kB / 0.5189 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.3781, allocations: 48.92 kB / 0.5189 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.3781, allocations: 2.812 kB / 0.5189 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.3783, allocations: 95.41 kB / 0.519 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.805e-05/0.3784, allocations: 20.98 kB / 0.519 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.689e-05/0.3784, allocations: 35.86 kB / 0.519 GB, free: 35.17 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.3787, allocations: 171.4 kB / 0.5192 GB, free: 35.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3787, allocations: 0 / 0.5192 GB, free: 35.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3787, allocations: 0 / 0.5192 GB, free: 35.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.3787, allocations: 0 / 0.5192 GB, free: 35.11 MB / 378.7 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.0005189/0.3792, allocations: 426.7 kB / 0.5196 GB, free: 34.69 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.3793, allocations: 8.688 kB / 0.5196 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.469e-05/0.3793, allocations: 10.56 kB / 0.5196 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.3795, allocations: 215.6 kB / 0.5198 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.3795, allocations: 7.75 kB / 0.5198 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.3796, allocations: 3.281 kB / 0.5198 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.3797, allocations: 69.23 kB / 0.5199 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.3798, allocations: 0 / 0.5199 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.3798, allocations: 0 / 0.5199 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.3798, allocations: 6.625 kB / 0.5199 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.904e-05/0.3799, allocations: 23.27 kB / 0.5199 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003029/0.3802, allocations: 287.5 kB / 0.5202 GB, free: 34.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.3803, allocations: 55.95 kB / 0.5203 GB, free: 34.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.597e-05/0.3804, allocations: 24.53 kB / 0.5203 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.3804, allocations: 0 / 0.5203 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001826/0.3806, allocations: 67.83 kB / 0.5204 GB, free: 33.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.134e-06/0.3806, allocations: 0 / 0.5204 GB, free: 33.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005067/0.3811, allocations: 171.8 kB / 0.5205 GB, free: 33.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.3812, allocations: 81.05 kB / 0.5206 GB, free: 33.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.3813, allocations: 172.5 kB / 0.5208 GB, free: 33.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.3813, allocations: 29.7 kB / 0.5208 GB, free: 33.65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.867e-05/0.3814, allocations: 108.4 kB / 0.5209 GB, free: 33.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.3814, allocations: 21.86 kB / 0.5209 GB, free: 33.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.554e-05/0.3814, allocations: 23.84 kB / 0.5209 GB, free: 33.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.033e-05/0.3815, allocations: 322.1 kB / 0.5212 GB, free: 33.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.978e-05/0.3816, allocations: 23.14 kB / 0.5213 GB, free: 33.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.741e-05/0.3816, allocations: 44.48 kB / 0.5213 GB, free: 33.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.74e-05/0.3817, allocations: 59.2 kB / 0.5214 GB, free: 33.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.3817, allocations: 3.938 kB / 0.5214 GB, free: 33.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001501/0.3819, allocations: 97.64 kB / 0.5215 GB, free: 33.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.3819, allocations: 5.531 kB / 0.5215 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.3819, allocations: 0 / 0.5215 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.3819, allocations: 0 / 0.5215 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.915e-05/0.382, allocations: 17.84 kB / 0.5215 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.382, allocations: 15.33 kB / 0.5215 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.39e-05/0.3821, allocations: 3.094 kB / 0.5215 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.3821, allocations: 7 kB / 0.5215 GB, free: 33.04 MB / 378.7 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 (10): * Single equations (assignments): 10 * 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 6.726e-05/0.3822, allocations: 120.4 kB / 0.5216 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.3822, allocations: 13.16 kB / 0.5216 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.51e-05/0.3822, allocations: 14.91 kB / 0.5217 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3822, allocations: 0 / 0.5217 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3823, allocations: 3.938 kB / 0.5217 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3823, allocations: 0 / 0.5217 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003309/0.3826, allocations: 404.8 kB / 0.522 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3826, allocations: 2.906 kB / 0.522 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.869e-05/0.3826, allocations: 9.688 kB / 0.5221 GB, free: 32.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3827, allocations: 6.203 kB / 0.5221 GB, free: 32.53 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.3827, allocations: 4 kB / 0.5221 GB, free: 32.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.3827, allocations: 2.812 kB / 0.5221 GB, free: 32.53 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3827, allocations: 0 / 0.5221 GB, free: 32.53 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003934/0.3831, allocations: 0.7874 MB / 0.5228 GB, free: 31.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.271e-05/0.3831, allocations: 83.92 kB / 0.5229 GB, free: 31.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.3831, allocations: 2.844 kB / 0.5229 GB, free: 31.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.788e-05/0.3832, allocations: 2.906 kB / 0.5229 GB, free: 31.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.3833, allocations: 10.22 kB / 0.5229 GB, free: 31.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.3833, allocations: 6.812 kB / 0.5229 GB, free: 31.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.76e-05/0.3834, allocations: 129.1 kB / 0.5231 GB, free: 31.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3834, allocations: 192 / 0.5231 GB, free: 31.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003734/0.3838, allocations: 50.75 kB / 0.5231 GB, free: 31.55 MB / 378.7 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 (8): * Single equations (assignments): 6 * 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.00116/0.3849, allocations: 0.5475 MB / 0.5236 GB, free: 31.28 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001587/0.3851, allocations: 58.19 kB / 0.5237 GB, free: 31.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3851, allocations: 0 / 0.5237 GB, free: 31.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.499e-05/0.3852, allocations: 26.58 kB / 0.5237 GB, free: 31.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.3855, allocations: 28.06 kB / 0.5238 GB, free: 31.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004193/0.3859, allocations: 345.8 kB / 0.5241 GB, free: 30.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001447/0.3861, allocations: 0.6974 MB / 0.5248 GB, free: 30.24 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.148e-05/0.3861, allocations: 22.95 kB / 0.5248 GB, free: 30.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.872e-05/0.3862, allocations: 26.3 kB / 0.5248 GB, free: 30.22 MB / 378.7 MB Notification: Performance of SimCode: time 2.01e-07/0.3862, allocations: 0 / 0.5248 GB, free: 30.22 MB / 378.7 MB Notification: Performance of Templates: time 0.004766/0.391, allocations: 2.337 MB / 0.5271 GB, free: 29.97 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches