Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002051/0.002051, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009638/0.0009638, allocations: 102.7 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3782/0.3782, allocations: 44.13 MB / 386.1 MB, free: 37.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001034/0.001034, allocations: 51.92 kB / 457.7 MB, free: 2.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.4125, allocations: 60.81 MB / 0.5064 GB, free: 38.39 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002755/0.4153, allocations: 1.716 MB / 0.5081 GB, free: 37.21 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.4165, allocations: 0.852 MB / 0.5089 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.529e-05/0.4166, allocations: 1.031 kB / 0.5089 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003059/0.4169, allocations: 56.61 kB / 0.509 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001686/0.4171, allocations: 64.53 kB / 0.509 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.4173, allocations: 96.84 kB / 0.5091 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.4175, allocations: 90.55 kB / 0.5092 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.706e-05/0.4175, allocations: 3.656 kB / 0.5092 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.97e-05/0.4176, allocations: 43.12 kB / 0.5092 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.561e-05/0.4177, allocations: 41.83 kB / 0.5093 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.4177, allocations: 6.688 kB / 0.5093 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.373e-05/0.4178, allocations: 32.98 kB / 0.5093 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.075e-05/0.4178, allocations: 17.06 kB / 0.5093 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.629e-05/0.4179, allocations: 33.28 kB / 0.5094 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.4181, allocations: 99.84 kB / 0.5095 GB, free: 36.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.4181, allocations: 0 / 0.5095 GB, free: 36.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4181, allocations: 0 / 0.5095 GB, free: 36.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.4181, allocations: 0 / 0.5095 GB, free: 36.38 MB / 378.7 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.0004619/0.4186, allocations: 398.4 kB / 0.5098 GB, free: 35.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.4186, allocations: 11.53 kB / 0.5099 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.4186, allocations: 7.719 kB / 0.5099 GB, free: 35.97 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.4188, allocations: 201.4 kB / 0.5101 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.4189, allocations: 10.58 kB / 0.5101 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.4189, allocations: 8.125 kB / 0.5101 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.419, allocations: 47.8 kB / 0.5101 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.419, allocations: 3.938 kB / 0.5101 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.419, allocations: 4 kB / 0.5101 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.419, allocations: 0 / 0.5101 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.604e-05/0.4191, allocations: 11.89 kB / 0.5101 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001671/0.4193, allocations: 179.2 kB / 0.5103 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.4194, allocations: 61.75 kB / 0.5104 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.098e-05/0.4195, allocations: 25.16 kB / 0.5104 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.4195, allocations: 0 / 0.5104 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/0.4197, allocations: 64.16 kB / 0.5105 GB, free: 35.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.253e-06/0.4197, allocations: 0 / 0.5105 GB, free: 35.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002468/0.42, allocations: 94.2 kB / 0.5105 GB, free: 35.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.42, allocations: 67.28 kB / 0.5106 GB, free: 35.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.4202, allocations: 181.9 kB / 0.5108 GB, free: 35.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.4202, allocations: 25.7 kB / 0.5108 GB, free: 35.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.075e-05/0.4202, allocations: 105 kB / 0.5109 GB, free: 35.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.4203, allocations: 10.62 kB / 0.5109 GB, free: 35.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/0.4203, allocations: 19.03 kB / 0.5109 GB, free: 34.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.602e-05/0.4203, allocations: 324.1 kB / 0.5112 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.425e-05/0.4204, allocations: 15.56 kB / 0.5113 GB, free: 34.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.733e-05/0.4205, allocations: 32.77 kB / 0.5113 GB, free: 34.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.366e-05/0.4205, allocations: 44.89 kB / 0.5113 GB, free: 34.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4206, allocations: 0 / 0.5113 GB, free: 34.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001298/0.4207, allocations: 90.77 kB / 0.5114 GB, free: 34.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.4207, allocations: 5.531 kB / 0.5114 GB, free: 34.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.4207, allocations: 0 / 0.5114 GB, free: 34.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.4207, allocations: 4.031 kB / 0.5114 GB, free: 34.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.525e-05/0.4208, allocations: 8.5 kB / 0.5114 GB, free: 34.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.4208, allocations: 6.594 kB / 0.5114 GB, free: 34.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.091e-05/0.4209, allocations: 5.844 kB / 0.5115 GB, free: 34.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.4209, allocations: 0 / 0.5115 GB, free: 34.54 MB / 378.7 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 7.702e-05/0.421, allocations: 124.6 kB / 0.5116 GB, free: 34.42 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.921e-05/0.421, allocations: 13.89 kB / 0.5116 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.669e-05/0.421, allocations: 13.31 kB / 0.5116 GB, free: 34.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.421, allocations: 0 / 0.5116 GB, free: 34.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.4211, allocations: 6.688 kB / 0.5116 GB, free: 34.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.4211, allocations: 0 / 0.5116 GB, free: 34.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.788e-05/0.4212, allocations: 184.7 kB / 0.5118 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.4212, allocations: 0 / 0.5118 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/0.4212, allocations: 5.062 kB / 0.5118 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.4212, allocations: 0 / 0.5118 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.4212, allocations: 3.422 kB / 0.5118 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.4212, allocations: 2.531 kB / 0.5118 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4212, allocations: 3.938 kB / 0.5118 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003315/0.4216, allocations: 0.6862 MB / 0.5125 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.656e-05/0.4216, allocations: 83.83 kB / 0.5125 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.4216, allocations: 128 / 0.5125 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.718e-05/0.4217, allocations: 14.28 kB / 0.5126 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.4217, allocations: 6.781 kB / 0.5126 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.4217, allocations: 3.938 kB / 0.5126 GB, free: 33.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.199e-05/0.4218, allocations: 154.7 kB / 0.5127 GB, free: 33.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4218, allocations: 3.938 kB / 0.5127 GB, free: 33.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002906/0.4221, allocations: 18.75 kB / 0.5127 GB, free: 33.29 MB / 378.7 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.0008685/0.423, allocations: 399.9 kB / 0.5131 GB, free: 33.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001419/0.4231, allocations: 41.91 kB / 0.5132 GB, free: 33.08 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.4231, allocations: 0 / 0.5132 GB, free: 33.08 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.555e-05/0.4232, allocations: 21.25 kB / 0.5132 GB, free: 33.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.4235, allocations: 34.84 kB / 0.5132 GB, free: 33.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004047/0.4239, allocations: 327.7 kB / 0.5135 GB, free: 32.78 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.424, allocations: 0.7098 MB / 0.5142 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.338e-05/0.4241, allocations: 13.75 kB / 0.5142 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.696e-05/0.4241, allocations: 13.38 kB / 0.5142 GB, free: 32.07 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4241, allocations: 2.75 kB / 0.5142 GB, free: 32.07 MB / 378.7 MB Notification: Performance of Templates: time 0.003469/0.4276, allocations: 1.443 MB / 0.5157 GB, free: 31.89 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches