Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 113.4 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.001172/0.001172, allocations: 186.2 kB / 19.38 MB, free: 3.695 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.3/1.3, 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.2217/0.2217, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 67.89 kB / 471.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4153/0.4168, allocations: 60.82 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003125/0.42, allocations: 1.803 MB / 0.5214 GB, free: 2.359 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.4221, allocations: 1.563 MB / 0.5229 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.282e-05/0.4222, allocations: 5.031 kB / 0.5229 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003287/0.4225, allocations: 48.72 kB / 0.523 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002834/0.4228, allocations: 90.33 kB / 0.523 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004006/0.4233, allocations: 174.9 kB / 0.5232 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.4235, allocations: 183.3 kB / 0.5234 GB, free: 1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.939e-05/0.4236, allocations: 14.3 kB / 0.5234 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.4237, allocations: 85.59 kB / 0.5235 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.4239, allocations: 73.33 kB / 0.5235 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.867e-05/0.4239, allocations: 7.281 kB / 0.5236 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.4241, allocations: 62.34 kB / 0.5236 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.196e-05/0.4242, allocations: 33.42 kB / 0.5236 GB, free: 0.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.717e-05/0.4242, allocations: 57.62 kB / 0.5237 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000262/0.4245, allocations: 168.9 kB / 0.5239 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4245, allocations: 0 / 0.5239 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4245, allocations: 1.188 kB / 0.5239 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.4245, allocations: 0 / 0.5239 GB, free: 0.7695 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005767/0.4251, allocations: 473.3 kB / 0.5243 GB, free: 340 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.4252, allocations: 8.969 kB / 0.5243 GB, free: 340 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.21e-05/0.4252, allocations: 17.27 kB / 0.5243 GB, free: 332 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.4256, allocations: 239.1 kB / 0.5246 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.4256, allocations: 3.344 kB / 0.5246 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.4256, allocations: 11.28 kB / 0.5246 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.4259, allocations: 102.5 kB / 0.5247 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.4259, allocations: 0 / 0.5247 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.4259, allocations: 5.938 kB / 0.5247 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.4259, allocations: 0 / 0.5247 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.4261, allocations: 26.47 kB / 0.5247 GB, free: 16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002489/0.4263, allocations: 217.7 kB / 0.5249 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.4266, allocations: 109.2 kB / 0.525 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.604e-05/0.4267, allocations: 42.69 kB / 0.5251 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.4267, allocations: 2.234 kB / 0.5251 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002296/0.427, allocations: 112.3 kB / 0.5252 GB, free: 15.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 3.496e-06/0.427, allocations: 1.75 kB / 0.5252 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004568/0.4275, allocations: 167.4 kB / 0.5253 GB, free: 15.51 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.894e-05/0.4275, allocations: 131 kB / 0.5255 GB, free: 15.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.4278, allocations: 210.5 kB / 0.5257 GB, free: 15.22 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.4278, allocations: 34.83 kB / 0.5257 GB, free: 15.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.406e-05/0.4279, allocations: 110.4 kB / 0.5258 GB, free: 15.08 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.279e-05/0.4279, allocations: 26.88 kB / 0.5258 GB, free: 15.06 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.394e-05/0.428, allocations: 33.66 kB / 0.5259 GB, free: 15.03 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.4281, allocations: 329.7 kB / 0.5262 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.049e-05/0.4282, allocations: 27.22 kB / 0.5262 GB, free: 14.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.4283, allocations: 72.44 kB / 0.5263 GB, free: 14.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.4285, allocations: 87.69 kB / 0.5263 GB, free: 14.58 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.4285, allocations: 0 / 0.5263 GB, free: 14.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002837/0.4288, allocations: 147.1 kB / 0.5265 GB, free: 14.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.4289, allocations: 5.5 kB / 0.5265 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.4289, allocations: 1.688 kB / 0.5265 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.4289, allocations: 1.094 kB / 0.5265 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.429, allocations: 20.86 kB / 0.5265 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.429, allocations: 2.938 kB / 0.5265 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.421e-05/0.4291, allocations: 17.75 kB / 0.5265 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.4291, allocations: 5 kB / 0.5265 GB, free: 14.49 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001161/0.4293, allocations: 139.5 kB / 0.5267 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.771e-05/0.4293, allocations: 19.69 kB / 0.5267 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.868e-05/0.4294, allocations: 21.73 kB / 0.5267 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.4294, allocations: 1.828 kB / 0.5267 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4294, allocations: 1.156 kB / 0.5267 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.4294, allocations: 0.5625 kB / 0.5267 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.4296, allocations: 219 kB / 0.5269 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4296, allocations: 5.031 kB / 0.5269 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.279e-05/0.4296, allocations: 7.125 kB / 0.5269 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.4297, allocations: 1.5 kB / 0.5269 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.4297, allocations: 3.984 kB / 0.5269 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.4297, allocations: 4 kB / 0.5269 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4297, allocations: 1.344 kB / 0.5269 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.43, allocations: 172.9 kB / 0.5271 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.559e-05/0.4301, allocations: 85.11 kB / 0.5272 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.669e-05/0.4301, allocations: 7.828 kB / 0.5272 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.44e-05/0.4302, allocations: 8.938 kB / 0.5272 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.4302, allocations: 19.34 kB / 0.5272 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.4302, allocations: 9.312 kB / 0.5272 GB, free: 13.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001586/0.4304, allocations: 157.7 kB / 0.5274 GB, free: 13.78 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4304, allocations: 0 / 0.5274 GB, free: 13.78 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.4307, allocations: 34.81 kB / 0.5274 GB, free: 13.77 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001015/0.4317, allocations: 453.5 kB / 0.5279 GB, free: 13.56 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000268/0.432, allocations: 85.31 kB / 0.5279 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.432, allocations: 0 / 0.5279 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.4321, allocations: 40 kB / 0.528 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.4325, allocations: 61.73 kB / 0.528 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000511/0.433, allocations: 283.1 kB / 0.5283 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.4333, allocations: 0.7168 MB / 0.529 GB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.405e-05/0.4334, allocations: 32.27 kB / 0.529 GB, free: 12.57 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4334, allocations: 0 / 0.529 GB, free: 12.57 MB / 398.1 MB Notification: Performance of Templates: time 0.004857/0.4383, allocations: 2.738 MB / 0.5317 GB, free: 11.27 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches