Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 111.8 kB / 18.45 MB, free: 4.578 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.001455/0.001455, allocations: 182.3 kB / 19.38 MB, free: 3.664 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.342/1.342, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2093/0.2093, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 59.91 kB / 471.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3798, allocations: 60.83 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003158/0.383, allocations: 1.914 MB / 0.5215 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.3845, allocations: 0.9207 MB / 0.5224 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.897e-05/0.3846, allocations: 5.062 kB / 0.5224 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000316/0.3849, allocations: 34.38 kB / 0.5224 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002451/0.3852, allocations: 67.55 kB / 0.5225 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003735/0.3855, allocations: 129.6 kB / 0.5226 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002484/0.3858, allocations: 138.8 kB / 0.5228 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.3859, allocations: 24.8 kB / 0.5228 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.3861, allocations: 57.53 kB / 0.5228 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.978e-05/0.3862, allocations: 52.3 kB / 0.5229 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.3862, allocations: 6.688 kB / 0.5229 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.3863, allocations: 50.34 kB / 0.5229 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.468e-05/0.3864, allocations: 22.62 kB / 0.523 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.034e-05/0.3865, allocations: 50.94 kB / 0.523 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002855/0.3868, allocations: 148.8 kB / 0.5232 GB, free: 1.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.3868, allocations: 1.703 kB / 0.5232 GB, free: 1.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.3868, allocations: 0 / 0.5232 GB, free: 1.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.3868, allocations: 0 / 0.5232 GB, free: 1.25 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006154/0.3874, allocations: 479 kB / 0.5236 GB, free: 0.793 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.3875, allocations: 14.59 kB / 0.5236 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.909e-05/0.3875, allocations: 15.95 kB / 0.5236 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.3879, allocations: 229 kB / 0.5239 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.3879, allocations: 11.47 kB / 0.5239 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.3879, allocations: 9.25 kB / 0.5239 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.3882, allocations: 109.3 kB / 0.524 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.3882, allocations: 2.156 kB / 0.524 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.3882, allocations: 4.562 kB / 0.524 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.3882, allocations: 2.656 kB / 0.524 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.3884, allocations: 53.8 kB / 0.524 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005165/0.3889, allocations: 0.5001 MB / 0.5245 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003314/0.3892, allocations: 87.03 kB / 0.5246 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.3894, allocations: 41.16 kB / 0.5247 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.3894, allocations: 6.391 kB / 0.5247 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002275/0.3896, allocations: 76.62 kB / 0.5247 GB, free: 15.85 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.3896, allocations: 5.469 kB / 0.5247 GB, free: 15.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004083/0.39, allocations: 138.1 kB / 0.5249 GB, free: 15.78 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.3901, allocations: 60.91 kB / 0.5249 GB, free: 15.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.3903, allocations: 196.2 kB / 0.5251 GB, free: 15.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.3903, allocations: 30.89 kB / 0.5251 GB, free: 15.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.316e-05/0.3904, allocations: 110.5 kB / 0.5252 GB, free: 15.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.3904, allocations: 35.23 kB / 0.5253 GB, free: 15.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.832e-05/0.3905, allocations: 28.42 kB / 0.5253 GB, free: 15.38 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3906, allocations: 324.5 kB / 0.5256 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.055e-05/0.3907, allocations: 27.23 kB / 0.5256 GB, free: 15.06 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.3908, allocations: 68.14 kB / 0.5257 GB, free: 15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.391, allocations: 96.42 kB / 0.5258 GB, free: 14.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.391, allocations: 5.031 kB / 0.5258 GB, free: 14.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002767/0.3913, allocations: 136.6 kB / 0.5259 GB, free: 14.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.3913, allocations: 5.719 kB / 0.5259 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.393e-06/0.3913, allocations: 9.469 kB / 0.5259 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.3914, allocations: 2.625 kB / 0.526 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.3915, allocations: 26.11 kB / 0.526 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.3915, allocations: 1.344 kB / 0.526 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.65e-05/0.3916, allocations: 14.31 kB / 0.526 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.3916, allocations: 9.188 kB / 0.526 GB, free: 14.84 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001049/0.3917, allocations: 135.1 kB / 0.5261 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.3917, allocations: 14.31 kB / 0.5261 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.77e-05/0.3918, allocations: 17.12 kB / 0.5262 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.3918, allocations: 4.781 kB / 0.5262 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3918, allocations: 0 / 0.5262 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.3918, allocations: 2.328 kB / 0.5262 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.392, allocations: 204.7 kB / 0.5264 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.392, allocations: 4.516 kB / 0.5264 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.711e-05/0.3921, allocations: 13 kB / 0.5264 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3921, allocations: 0 / 0.5264 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.3921, allocations: 2.391 kB / 0.5264 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/0.3921, allocations: 3.938 kB / 0.5264 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3921, allocations: 0.5156 kB / 0.5264 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003767/0.3925, allocations: 183 kB / 0.5266 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.91e-05/0.3926, allocations: 89.59 kB / 0.5266 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.3926, allocations: 6.484 kB / 0.5267 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.469e-05/0.3927, allocations: 13.09 kB / 0.5267 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.3927, allocations: 9.906 kB / 0.5267 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.3928, allocations: 8.156 kB / 0.5267 GB, free: 14.24 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001272/0.3929, allocations: 142.2 kB / 0.5268 GB, free: 14.14 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3929, allocations: 0 / 0.5268 GB, free: 14.14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000233/0.3931, allocations: 30.11 kB / 0.5268 GB, free: 14.14 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0009267/0.3941, allocations: 402.9 kB / 0.5272 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002553/0.3943, allocations: 82.64 kB / 0.5273 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3943, allocations: 0 / 0.5273 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.3945, allocations: 39 kB / 0.5273 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.3948, allocations: 44.75 kB / 0.5274 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005463/0.3953, allocations: 282.4 kB / 0.5277 GB, free: 13.69 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.3956, allocations: 0.7132 MB / 0.5284 GB, free: 12.99 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.3957, allocations: 18.77 kB / 0.5284 GB, free: 12.98 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3957, allocations: 0 / 0.5284 GB, free: 12.98 MB / 398.1 MB Notification: Performance of Templates: time 0.004604/0.4003, allocations: 2.192 MB / 0.5305 GB, free: 12.03 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches