Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002285/0.002285, 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.577/1.577, allocations: 222.9 MB / 241.6 MB, free: 10.99 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.001183/0.001183, allocations: 109.6 kB / 291.9 MB, free: 10.93 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.3983/0.3983, allocations: 44.13 MB / 386.1 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 51.92 kB / 457.7 MB, free: 2.301 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4177, allocations: 60.8 MB / 0.5064 GB, free: 38.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003001/0.4207, allocations: 1.72 MB / 0.5081 GB, free: 37.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.422, allocations: 0.8575 MB / 0.5089 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.902e-05/0.4221, allocations: 0 / 0.5089 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003296/0.4224, allocations: 63.22 kB / 0.509 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.4226, allocations: 51.77 kB / 0.509 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.4228, allocations: 90.45 kB / 0.5091 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.423, allocations: 95.23 kB / 0.5092 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.208e-05/0.4231, allocations: 10.89 kB / 0.5092 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.194e-05/0.4231, allocations: 42.17 kB / 0.5092 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.076e-05/0.4232, allocations: 50.23 kB / 0.5093 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.4233, allocations: 2.781 kB / 0.5093 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.379e-05/0.4233, allocations: 29.19 kB / 0.5093 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.299e-05/0.4234, allocations: 16.03 kB / 0.5093 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.309e-05/0.4234, allocations: 27.5 kB / 0.5094 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.4236, allocations: 96.77 kB / 0.5095 GB, free: 36.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.4236, allocations: 3.938 kB / 0.5095 GB, free: 36.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.4236, allocations: 4 kB / 0.5095 GB, free: 36.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.4236, allocations: 0 / 0.5095 GB, free: 36.5 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.0004647/0.4241, allocations: 401.3 kB / 0.5098 GB, free: 36.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.4242, allocations: 11.69 kB / 0.5099 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.087e-05/0.4242, allocations: 7.781 kB / 0.5099 GB, free: 36.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.4244, allocations: 209.6 kB / 0.5101 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.4244, allocations: 384 / 0.5101 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.4244, allocations: 7.156 kB / 0.5101 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.4246, allocations: 49.27 kB / 0.5101 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.4246, allocations: 0 / 0.5101 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.4246, allocations: 0.9688 kB / 0.5101 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.4246, allocations: 1.344 kB / 0.5101 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.677e-05/0.4247, allocations: 18.36 kB / 0.5101 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001596/0.4249, allocations: 184.9 kB / 0.5103 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.425, allocations: 49.64 kB / 0.5104 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.815e-05/0.4251, allocations: 24.8 kB / 0.5104 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.4251, allocations: 5.953 kB / 0.5104 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.4253, allocations: 65.16 kB / 0.5105 GB, free: 35.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.4253, allocations: 0 / 0.5105 GB, free: 35.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002467/0.4255, allocations: 99.05 kB / 0.5106 GB, free: 35.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.4256, allocations: 51.41 kB / 0.5106 GB, free: 35.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.4257, allocations: 189.6 kB / 0.5108 GB, free: 35.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.4257, allocations: 28.55 kB / 0.5108 GB, free: 35.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.147e-05/0.4258, allocations: 98.16 kB / 0.5109 GB, free: 35.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.4258, allocations: 15.72 kB / 0.5109 GB, free: 35.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.4258, allocations: 21.03 kB / 0.5109 GB, free: 35.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.874e-05/0.4259, allocations: 321.2 kB / 0.5112 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.4e-05/0.426, allocations: 12.72 kB / 0.5113 GB, free: 34.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.759e-05/0.426, allocations: 29.52 kB / 0.5113 GB, free: 34.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.072e-05/0.4261, allocations: 48.58 kB / 0.5113 GB, free: 34.74 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.4261, allocations: 0 / 0.5113 GB, free: 34.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001289/0.4262, allocations: 88.92 kB / 0.5114 GB, free: 34.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.4263, allocations: 7.156 kB / 0.5114 GB, free: 34.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.4263, allocations: 0 / 0.5114 GB, free: 34.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.4263, allocations: 6.656 kB / 0.5114 GB, free: 34.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.151e-05/0.4264, allocations: 12.75 kB / 0.5114 GB, free: 34.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.4264, allocations: 0 / 0.5114 GB, free: 34.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.117e-05/0.4264, allocations: 10.12 kB / 0.5114 GB, free: 34.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.4264, allocations: 2.75 kB / 0.5115 GB, free: 34.67 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 6.963e-05/0.4265, allocations: 126 kB / 0.5116 GB, free: 34.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.658e-05/0.4265, allocations: 6.625 kB / 0.5116 GB, free: 34.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.773e-05/0.4266, allocations: 18.17 kB / 0.5116 GB, free: 34.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.4266, allocations: 0 / 0.5116 GB, free: 34.53 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4266, allocations: 320 / 0.5116 GB, free: 34.53 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.4266, allocations: 4 kB / 0.5116 GB, free: 34.53 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.438e-05/0.4267, allocations: 185 kB / 0.5118 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.4267, allocations: 6.562 kB / 0.5118 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.789e-05/0.4267, allocations: 10.39 kB / 0.5118 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.4267, allocations: 0 / 0.5118 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.4268, allocations: 0 / 0.5118 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4268, allocations: 2.938 kB / 0.5118 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4268, allocations: 160 / 0.5118 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003319/0.4271, allocations: 0.6868 MB / 0.5125 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.571e-05/0.4271, allocations: 87.2 kB / 0.5125 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.4272, allocations: 0 / 0.5125 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.335e-05/0.4272, allocations: 2.781 kB / 0.5126 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.4272, allocations: 3.234 kB / 0.5126 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.4273, allocations: 10.81 kB / 0.5126 GB, free: 33.53 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.204e-05/0.4273, allocations: 151.5 kB / 0.5127 GB, free: 33.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4273, allocations: 0 / 0.5127 GB, free: 33.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003182/0.4277, allocations: 18.47 kB / 0.5127 GB, free: 33.42 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.0008589/0.4285, allocations: 410.8 kB / 0.5131 GB, free: 33.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001414/0.4287, allocations: 40.84 kB / 0.5132 GB, free: 33.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4287, allocations: 0 / 0.5132 GB, free: 33.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.401e-05/0.4288, allocations: 18.75 kB / 0.5132 GB, free: 33.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.429, allocations: 34.12 kB / 0.5132 GB, free: 33.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004273/0.4295, allocations: 327.9 kB / 0.5135 GB, free: 32.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.4296, allocations: 0.7019 MB / 0.5142 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.639e-05/0.4297, allocations: 15.58 kB / 0.5142 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.817e-05/0.4297, allocations: 16.3 kB / 0.5142 GB, free: 32.2 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4297, allocations: 0 / 0.5142 GB, free: 32.2 MB / 378.7 MB Notification: Performance of Templates: time 0.003617/0.4333, allocations: 1.454 MB / 0.5157 GB, free: 32.02 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches