Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 112.7 kB / 18.45 MB, free: 4.645 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.001279/0.001279, allocations: 181.2 kB / 19.38 MB, free: 3.727 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.345/1.345, 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.23/0.23, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.91 kB / 471.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3983, allocations: 60.82 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003989/0.4023, allocations: 1.908 MB / 0.5215 GB, free: 2.289 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.4041, allocations: 0.9168 MB / 0.5224 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001983/0.4043, allocations: 4.969 kB / 0.5224 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000415/0.4047, allocations: 43 kB / 0.5224 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003616/0.4051, allocations: 57.36 kB / 0.5225 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000529/0.4057, allocations: 131.2 kB / 0.5226 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000345/0.406, allocations: 135.4 kB / 0.5227 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.4062, allocations: 28.52 kB / 0.5228 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/0.4064, allocations: 60.41 kB / 0.5228 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.4065, allocations: 49.67 kB / 0.5229 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.4065, allocations: 6.906 kB / 0.5229 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.4067, allocations: 49.23 kB / 0.5229 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.006e-05/0.4068, allocations: 28.09 kB / 0.523 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.031e-05/0.4069, allocations: 45.19 kB / 0.523 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003829/0.4073, allocations: 149.4 kB / 0.5231 GB, free: 1.266 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.4073, allocations: 2.203 kB / 0.5231 GB, free: 1.266 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.4073, allocations: 0 / 0.5231 GB, free: 1.266 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.4073, allocations: 3.938 kB / 0.5232 GB, free: 1.262 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.0007513/0.4081, allocations: 475.2 kB / 0.5236 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.4082, allocations: 13.47 kB / 0.5236 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.329e-05/0.4082, allocations: 16.02 kB / 0.5236 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/0.4086, allocations: 229.7 kB / 0.5239 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.4086, allocations: 6.594 kB / 0.5239 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.132e-05/0.4087, allocations: 13.47 kB / 0.5239 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.409, allocations: 110 kB / 0.524 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.409, allocations: 3.938 kB / 0.524 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.409, allocations: 2.578 kB / 0.524 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.409, allocations: 1.719 kB / 0.524 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.4092, allocations: 50.38 kB / 0.524 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006093/0.4098, allocations: 0.4997 MB / 0.5245 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003572/0.4102, allocations: 90.98 kB / 0.5246 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.4103, allocations: 37.19 kB / 0.5246 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.4103, allocations: 6.531 kB / 0.5246 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002227/0.4105, allocations: 89.64 kB / 0.5247 GB, free: 15.85 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.754e-06/0.4106, allocations: 0 / 0.5247 GB, free: 15.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004494/0.411, allocations: 139.4 kB / 0.5249 GB, free: 15.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.4111, allocations: 56.41 kB / 0.5249 GB, free: 15.72 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.4113, allocations: 201.3 kB / 0.5251 GB, free: 15.58 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.4114, allocations: 25.7 kB / 0.5251 GB, free: 15.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.961e-05/0.4114, allocations: 111.2 kB / 0.5252 GB, free: 15.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.4115, allocations: 29.88 kB / 0.5253 GB, free: 15.42 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.426e-05/0.4116, allocations: 28.66 kB / 0.5253 GB, free: 15.4 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.4117, allocations: 328.2 kB / 0.5256 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.567e-05/0.4118, allocations: 24.52 kB / 0.5256 GB, free: 15.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.4119, allocations: 71.89 kB / 0.5257 GB, free: 15.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.4122, allocations: 91.97 kB / 0.5258 GB, free: 14.96 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.4122, allocations: 4.75 kB / 0.5258 GB, free: 14.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000328/0.4125, allocations: 144.2 kB / 0.5259 GB, free: 14.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.4125, allocations: 7.312 kB / 0.5259 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.4125, allocations: 1.344 kB / 0.5259 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.4126, allocations: 1.125 kB / 0.5259 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.4127, allocations: 26.31 kB / 0.526 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.4127, allocations: 2.578 kB / 0.526 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.826e-05/0.4128, allocations: 17.78 kB / 0.526 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.4128, allocations: 4.594 kB / 0.526 GB, free: 14.86 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.00012/0.4129, allocations: 132.8 kB / 0.5261 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.413, allocations: 15.03 kB / 0.5261 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.234e-05/0.413, allocations: 16.16 kB / 0.5261 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.413, allocations: 4.453 kB / 0.5262 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.4131, allocations: 1.625 kB / 0.5262 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.4131, allocations: 0.5625 kB / 0.5262 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.4133, allocations: 210.3 kB / 0.5264 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.4133, allocations: 4 kB / 0.5264 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.549e-05/0.4134, allocations: 11.3 kB / 0.5264 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.4134, allocations: 5.141 kB / 0.5264 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.4134, allocations: 2.078 kB / 0.5264 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.4134, allocations: 5.312 kB / 0.5264 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.4134, allocations: 4.688 kB / 0.5264 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004076/0.4139, allocations: 185.6 kB / 0.5266 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.77e-05/0.4139, allocations: 89.75 kB / 0.5266 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.414, allocations: 1.938 kB / 0.5266 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.891e-05/0.414, allocations: 10.7 kB / 0.5267 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.4141, allocations: 13.11 kB / 0.5267 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.4141, allocations: 4.75 kB / 0.5267 GB, free: 14.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001493/0.4143, allocations: 138.1 kB / 0.5268 GB, free: 14.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4143, allocations: 3.938 kB / 0.5268 GB, free: 14.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.4146, allocations: 29.08 kB / 0.5268 GB, free: 14.15 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.001016/0.4156, allocations: 412.9 kB / 0.5272 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003008/0.4159, allocations: 77.73 kB / 0.5273 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4159, allocations: 192 / 0.5273 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.416, allocations: 42.8 kB / 0.5273 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.4164, allocations: 32.28 kB / 0.5274 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007133/0.4171, allocations: 285.4 kB / 0.5277 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005242/0.4176, allocations: 0.7151 MB / 0.5284 GB, free: 13 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.629e-05/0.4178, allocations: 21.81 kB / 0.5284 GB, free: 12.98 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4178, allocations: 0 / 0.5284 GB, free: 12.98 MB / 398.1 MB Notification: Performance of Templates: time 0.005867/0.4236, allocations: 2.179 MB / 0.5305 GB, free: 12.05 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches