Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 108.6 kB / 18.45 MB, free: 4.621 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.001503/0.001503, allocations: 183.1 kB / 19.38 MB, free: 3.699 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.353/1.353, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.2103/0.2103, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 67.89 kB / 471.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4067/0.4079, allocations: 60.82 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003634/0.4116, allocations: 1.676 MB / 0.5213 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.4132, allocations: 0.852 MB / 0.5221 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.4134, allocations: 1.125 kB / 0.5221 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003675/0.4138, allocations: 58.73 kB / 0.5222 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003113/0.4141, allocations: 55.67 kB / 0.5222 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000444/0.4146, allocations: 107.8 kB / 0.5223 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002284/0.4148, allocations: 91.73 kB / 0.5224 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.981e-05/0.4149, allocations: 8.625 kB / 0.5224 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.415, allocations: 41.41 kB / 0.5224 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.851e-05/0.4151, allocations: 25.48 kB / 0.5225 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.4151, allocations: 3.094 kB / 0.5225 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.4153, allocations: 31.02 kB / 0.5225 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.371e-05/0.4153, allocations: 22.83 kB / 0.5225 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.388e-05/0.4154, allocations: 45.91 kB / 0.5226 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.4157, allocations: 117.3 kB / 0.5227 GB, free: 1.586 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4157, allocations: 0 / 0.5227 GB, free: 1.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4157, allocations: 0 / 0.5227 GB, free: 1.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.4157, allocations: 6.266 kB / 0.5227 GB, free: 1.582 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005803/0.4163, allocations: 425.9 kB / 0.5231 GB, free: 1.168 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.4163, allocations: 9.844 kB / 0.5231 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.856e-05/0.4164, allocations: 14.34 kB / 0.5231 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.4167, allocations: 214.6 kB / 0.5233 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.4167, allocations: 1.469 kB / 0.5233 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.4168, allocations: 5.25 kB / 0.5233 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.4169, allocations: 55 kB / 0.5234 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.4169, allocations: 4 kB / 0.5234 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.417, allocations: 1.984 kB / 0.5234 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.417, allocations: 0 / 0.5234 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.075e-05/0.4171, allocations: 14.77 kB / 0.5234 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002134/0.4173, allocations: 186.5 kB / 0.5236 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.4175, allocations: 53.8 kB / 0.5236 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.413e-05/0.4175, allocations: 26.98 kB / 0.5237 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.4176, allocations: 1.125 kB / 0.5237 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.4177, allocations: 63.66 kB / 0.5237 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.4177, allocations: 0 / 0.5237 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002956/0.418, allocations: 98.69 kB / 0.5238 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.4181, allocations: 52.59 kB / 0.5239 GB, free: 472 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/0.4183, allocations: 266.2 kB / 0.5241 GB, free: 316 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.4184, allocations: 30.86 kB / 0.5241 GB, free: 280 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.932e-05/0.4184, allocations: 110.4 kB / 0.5243 GB, free: 176 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.4185, allocations: 14.95 kB / 0.5243 GB, free: 164 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.4185, allocations: 20.36 kB / 0.5243 GB, free: 144 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.4186, allocations: 328.4 kB / 0.5246 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.489e-05/0.4187, allocations: 17.48 kB / 0.5246 GB, free: 15.81 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.625e-05/0.4188, allocations: 30.8 kB / 0.5246 GB, free: 15.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.4189, allocations: 49.94 kB / 0.5247 GB, free: 15.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4189, allocations: 0.9688 kB / 0.5247 GB, free: 15.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001908/0.4191, allocations: 93.95 kB / 0.5248 GB, free: 15.69 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.4191, allocations: 4.625 kB / 0.5248 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.4191, allocations: 2.438 kB / 0.5248 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.4192, allocations: 0 / 0.5248 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.737e-05/0.4192, allocations: 11.73 kB / 0.5248 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.4193, allocations: 4.031 kB / 0.5248 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.242e-05/0.4193, allocations: 7.312 kB / 0.5248 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.4193, allocations: 3.312 kB / 0.5248 GB, free: 15.68 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 (7): * Single equations (assignments): 7 * 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.0001263/0.4195, allocations: 136 kB / 0.5249 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.4195, allocations: 14.12 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.753e-05/0.4196, allocations: 20.08 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.4196, allocations: 0 / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4196, allocations: 0 / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.4196, allocations: 0.8438 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.4198, allocations: 205 kB / 0.5252 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.4198, allocations: 2.062 kB / 0.5252 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.195e-05/0.4198, allocations: 3.281 kB / 0.5252 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.4198, allocations: 0.6094 kB / 0.5252 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.4198, allocations: 2.297 kB / 0.5252 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4198, allocations: 0 / 0.5252 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.4198, allocations: 1.594 kB / 0.5252 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.42, allocations: 115 kB / 0.5253 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.732e-05/0.4201, allocations: 92.44 kB / 0.5254 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.4201, allocations: 4.906 kB / 0.5254 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.095e-05/0.4202, allocations: 6.734 kB / 0.5254 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.4202, allocations: 3.75 kB / 0.5254 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.4203, allocations: 7.016 kB / 0.5254 GB, free: 15.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002198/0.4205, allocations: 200.2 kB / 0.5256 GB, free: 15 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.655e-06/0.4205, allocations: 0 / 0.5256 GB, free: 15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002352/0.4207, allocations: 21.59 kB / 0.5256 GB, free: 15 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001038/0.4218, allocations: 412.9 kB / 0.526 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001742/0.422, allocations: 40.77 kB / 0.526 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.422, allocations: 1.125 kB / 0.526 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.379e-05/0.4221, allocations: 21.75 kB / 0.5261 GB, free: 14.78 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.4224, allocations: 30.12 kB / 0.5261 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005537/0.4229, allocations: 280.7 kB / 0.5264 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.4233, allocations: 0.7196 MB / 0.5271 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.4233, allocations: 16.36 kB / 0.5271 GB, free: 13.86 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4233, allocations: 0 / 0.5271 GB, free: 13.86 MB / 398.1 MB Notification: Performance of Templates: time 0.00471/0.428, allocations: 1.847 MB / 0.5289 GB, free: 13.24 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches