Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 113.2 kB / 17.78 MB, free: 5.266 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.001946/0.001946, allocations: 184.2 kB / 18.71 MB, free: 4.34 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.537/1.537, allocations: 222.9 MB / 242.4 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.2214/0.2214, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001574, allocations: 59.91 kB / 470.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4097, allocations: 60.83 MB / 0.519 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003685/0.4134, allocations: 1.908 MB / 0.5208 GB, free: 2.281 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.4151, allocations: 0.9162 MB / 0.5217 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001954/0.4153, allocations: 6.375 kB / 0.5217 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004211/0.4158, allocations: 45.73 kB / 0.5218 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003192/0.4161, allocations: 58.97 kB / 0.5218 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000447/0.4165, allocations: 122.1 kB / 0.522 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002318/0.4168, allocations: 135.9 kB / 0.5221 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.4169, allocations: 35.78 kB / 0.5221 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.4171, allocations: 58.39 kB / 0.5222 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.4172, allocations: 52.16 kB / 0.5222 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.4172, allocations: 7.719 kB / 0.5222 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.4173, allocations: 48.56 kB / 0.5223 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.989e-05/0.4174, allocations: 23.66 kB / 0.5223 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.49e-05/0.4175, allocations: 47.06 kB / 0.5223 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002837/0.4178, allocations: 148.3 kB / 0.5225 GB, free: 1.258 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.4178, allocations: 5.562 kB / 0.5225 GB, free: 1.254 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4178, allocations: 4 kB / 0.5225 GB, free: 1.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.4178, allocations: 0 / 0.5225 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.0006534/0.4185, allocations: 475.2 kB / 0.5229 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.4185, allocations: 9.688 kB / 0.523 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.646e-05/0.4186, allocations: 20.61 kB / 0.523 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.4189, allocations: 229 kB / 0.5232 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.4189, allocations: 3.562 kB / 0.5232 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.321e-05/0.419, allocations: 17.33 kB / 0.5232 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.4192, allocations: 104.4 kB / 0.5233 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.4192, allocations: 4.969 kB / 0.5233 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.4192, allocations: 9.875 kB / 0.5233 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.4193, allocations: 1 kB / 0.5233 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.4194, allocations: 47.06 kB / 0.5234 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005256/0.4199, allocations: 0.5087 MB / 0.5239 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000335/0.4203, allocations: 82.8 kB / 0.5239 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.4204, allocations: 45.55 kB / 0.524 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.4204, allocations: 1.219 kB / 0.524 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001875/0.4206, allocations: 81.97 kB / 0.5241 GB, free: 15.85 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.4206, allocations: 0 / 0.5241 GB, free: 15.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004084/0.4211, allocations: 143.7 kB / 0.5242 GB, free: 15.78 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.4211, allocations: 61.44 kB / 0.5243 GB, free: 15.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.4213, allocations: 190.5 kB / 0.5244 GB, free: 15.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.4214, allocations: 31.2 kB / 0.5245 GB, free: 15.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.828e-05/0.4215, allocations: 110.4 kB / 0.5246 GB, free: 15.44 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.4215, allocations: 31.23 kB / 0.5246 GB, free: 15.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.383e-05/0.4216, allocations: 28.56 kB / 0.5246 GB, free: 15.39 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.4217, allocations: 323.6 kB / 0.5249 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.986e-05/0.4218, allocations: 33.08 kB / 0.525 GB, free: 15.06 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.4219, allocations: 67.05 kB / 0.525 GB, free: 15.01 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002208/0.4222, allocations: 103.9 kB / 0.5251 GB, free: 14.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4222, allocations: 1.125 kB / 0.5251 GB, free: 14.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002843/0.4225, allocations: 141.9 kB / 0.5253 GB, free: 14.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.4225, allocations: 6.281 kB / 0.5253 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.4225, allocations: 0 / 0.5253 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.4225, allocations: 1.969 kB / 0.5253 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.4226, allocations: 25.58 kB / 0.5253 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.4227, allocations: 6.688 kB / 0.5253 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.528e-05/0.4227, allocations: 7.969 kB / 0.5253 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.4228, allocations: 15.14 kB / 0.5253 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.000121/0.4229, allocations: 127.8 kB / 0.5255 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.4229, allocations: 15.88 kB / 0.5255 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.16e-05/0.423, allocations: 19.3 kB / 0.5255 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.423, allocations: 5.75 kB / 0.5255 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.423, allocations: 0 / 0.5255 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.423, allocations: 6.188 kB / 0.5255 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.4232, allocations: 204.8 kB / 0.5257 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.4232, allocations: 1.219 kB / 0.5257 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.69e-05/0.4233, allocations: 16.22 kB / 0.5257 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.4233, allocations: 0 / 0.5257 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.4233, allocations: 2.297 kB / 0.5257 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.163e-06/0.4233, allocations: 5.094 kB / 0.5257 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4234, allocations: 0 / 0.5257 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003939/0.4237, allocations: 182.2 kB / 0.5259 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.431e-05/0.4238, allocations: 93.2 kB / 0.526 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.4239, allocations: 10.33 kB / 0.526 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.635e-05/0.4239, allocations: 9.859 kB / 0.526 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.517e-05/0.424, allocations: 6.297 kB / 0.526 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.424, allocations: 4.5 kB / 0.526 GB, free: 14.24 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001335/0.4241, allocations: 142 kB / 0.5262 GB, free: 14.15 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4242, allocations: 3.938 kB / 0.5262 GB, free: 14.14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00027/0.4244, allocations: 33.45 kB / 0.5262 GB, free: 14.13 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.0009644/0.4254, allocations: 406.9 kB / 0.5266 GB, free: 13.94 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002622/0.4257, allocations: 77.33 kB / 0.5267 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4257, allocations: 4.125 kB / 0.5267 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.4258, allocations: 39.14 kB / 0.5267 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.0003299/0.4261, allocations: 41.3 kB / 0.5267 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005907/0.4267, allocations: 252 kB / 0.527 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.4271, allocations: 0.7173 MB / 0.5277 GB, free: 13.01 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.694e-05/0.4272, allocations: 21.03 kB / 0.5277 GB, free: 13.01 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.168e-05/0.4272, allocations: 16.2 kB / 0.5277 GB, free: 13 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4272, allocations: 0 / 0.5277 GB, free: 13 MB / 398.1 MB Notification: Performance of Templates: time 0.005564/0.4328, allocations: 1.898 MB / 0.5296 GB, free: 12.24 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches