Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.001161, allocations: 109.4 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 190.2 kB / 19.38 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 243.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2125/0.2125, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 67.89 kB / 471.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.4023, allocations: 60.82 MB / 0.5196 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003138/0.4055, allocations: 1.706 MB / 0.5213 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.4069, allocations: 0.8749 MB / 0.5222 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.384e-05/0.407, allocations: 5.5 kB / 0.5222 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.4073, allocations: 31.14 kB / 0.5222 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002172/0.4075, allocations: 54.62 kB / 0.5222 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.4078, allocations: 108.7 kB / 0.5224 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.408, allocations: 95.8 kB / 0.5224 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.4081, allocations: 20.16 kB / 0.5225 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.482e-05/0.4082, allocations: 41.52 kB / 0.5225 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.71e-05/0.4083, allocations: 26.14 kB / 0.5225 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.4083, allocations: 4.312 kB / 0.5225 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.4084, allocations: 45.98 kB / 0.5226 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.497e-05/0.4085, allocations: 16.97 kB / 0.5226 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.704e-05/0.4085, allocations: 29.41 kB / 0.5226 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.4087, allocations: 111.4 kB / 0.5227 GB, free: 1.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4088, allocations: 1.125 kB / 0.5227 GB, free: 1.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4088, allocations: 0 / 0.5227 GB, free: 1.555 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.4088, allocations: 0 / 0.5227 GB, free: 1.555 MB / 382.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.0004855/0.4093, allocations: 397.7 kB / 0.5231 GB, free: 1.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.4093, allocations: 10.36 kB / 0.5231 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.121e-05/0.4094, allocations: 12.78 kB / 0.5231 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.4096, allocations: 204.5 kB / 0.5233 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.4096, allocations: 8.969 kB / 0.5233 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.4096, allocations: 6.781 kB / 0.5233 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.4098, allocations: 57.78 kB / 0.5234 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.4098, allocations: 1.25 kB / 0.5234 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.4098, allocations: 4.797 kB / 0.5234 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.4099, allocations: 1.25 kB / 0.5234 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.451e-05/0.4099, allocations: 17.91 kB / 0.5234 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003309/0.4103, allocations: 283.3 kB / 0.5237 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.4104, allocations: 56.33 kB / 0.5237 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.314e-05/0.4105, allocations: 24.92 kB / 0.5238 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.4105, allocations: 1.219 kB / 0.5238 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001425/0.4107, allocations: 65.61 kB / 0.5238 GB, free: 496 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.4107, allocations: 0 / 0.5238 GB, free: 496 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005749/0.4113, allocations: 176.8 kB / 0.524 GB, free: 404 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.4113, allocations: 60.75 kB / 0.5241 GB, free: 332 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.4115, allocations: 159.6 kB / 0.5242 GB, free: 208 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.4115, allocations: 30.83 kB / 0.5242 GB, free: 172 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.122e-05/0.4115, allocations: 94.92 kB / 0.5243 GB, free: 80 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.4116, allocations: 25.8 kB / 0.5244 GB, free: 60 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.4116, allocations: 26.88 kB / 0.5244 GB, free: 36 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.4118, allocations: 321.3 kB / 0.5247 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.655e-05/0.4118, allocations: 21.16 kB / 0.5247 GB, free: 15.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.903e-05/0.4119, allocations: 47.92 kB / 0.5248 GB, free: 15.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.412, allocations: 60.05 kB / 0.5248 GB, free: 15.64 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.4121, allocations: 1.375 kB / 0.5248 GB, free: 15.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001933/0.4123, allocations: 104.6 kB / 0.5249 GB, free: 15.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.4123, allocations: 5.938 kB / 0.5249 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.4123, allocations: 0 / 0.5249 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.4123, allocations: 5.062 kB / 0.5249 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.4124, allocations: 15.73 kB / 0.5249 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.4124, allocations: 5.719 kB / 0.5249 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.412e-05/0.4125, allocations: 3.062 kB / 0.5249 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.4125, allocations: 2.25 kB / 0.5249 GB, free: 15.57 MB / 398.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 (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 0.0001146/0.4126, allocations: 129.7 kB / 0.5251 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.4127, allocations: 9.969 kB / 0.5251 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.662e-05/0.4127, allocations: 17.47 kB / 0.5251 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.4127, allocations: 1.344 kB / 0.5251 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.4127, allocations: 6.016 kB / 0.5251 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.4127, allocations: 4 kB / 0.5251 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004905/0.4132, allocations: 386.5 kB / 0.5255 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4132, allocations: 1.125 kB / 0.5255 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.205e-05/0.4133, allocations: 8.406 kB / 0.5255 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4133, allocations: 1.125 kB / 0.5255 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.4133, allocations: 6.781 kB / 0.5255 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.4133, allocations: 2.391 kB / 0.5255 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4133, allocations: 0 / 0.5255 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.4136, allocations: 200.8 kB / 0.5257 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.608e-05/0.4136, allocations: 87.77 kB / 0.5258 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.4137, allocations: 11.55 kB / 0.5258 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.588e-05/0.4137, allocations: 2.797 kB / 0.5258 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.4138, allocations: 5.109 kB / 0.5258 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.4138, allocations: 3.719 kB / 0.5258 GB, free: 14.79 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.4139, allocations: 129.1 kB / 0.5259 GB, free: 14.7 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4139, allocations: 0 / 0.5259 GB, free: 14.7 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.4142, allocations: 25.31 kB / 0.5259 GB, free: 14.69 MB / 398.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 (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.001112/0.4153, allocations: 479.9 kB / 0.5264 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002081/0.4155, allocations: 67.77 kB / 0.5265 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4155, allocations: 0 / 0.5265 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.462e-05/0.4156, allocations: 28.89 kB / 0.5265 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.416, allocations: 26.84 kB / 0.5265 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005656/0.4166, allocations: 226 kB / 0.5267 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.417, allocations: 0.7016 MB / 0.5274 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.119e-05/0.417, allocations: 17.31 kB / 0.5274 GB, free: 13.53 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.417, allocations: 0 / 0.5274 GB, free: 13.53 MB / 398.1 MB Notification: Performance of Templates: time 0.004189/0.4212, allocations: 1.861 MB / 0.5292 GB, free: 12.91 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches