Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.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.CombiTable1Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 110.3 kB / 17.78 MB, free: 5.184 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.001182/0.001183, allocations: 184.1 kB / 18.71 MB, free: 4.258 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.409/1.409, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2537/0.2537, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 55.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4128/0.4142, allocations: 60.83 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.003498/0.4178, allocations: 1.564 MB / 0.5205 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001739/0.4195, allocations: 1.024 MB / 0.5215 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.578e-05/0.4196, allocations: 5.312 kB / 0.5215 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003012/0.4199, allocations: 27.47 kB / 0.5215 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002432/0.4202, allocations: 41.89 kB / 0.5215 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003387/0.4205, allocations: 110.6 kB / 0.5216 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.4207, allocations: 56.41 kB / 0.5217 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.4209, allocations: 16.55 kB / 0.5217 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.974e-05/0.4209, allocations: 22.89 kB / 0.5217 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.4211, allocations: 30.22 kB / 0.5217 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.4211, allocations: 3.312 kB / 0.5218 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.4213, allocations: 53.62 kB / 0.5218 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.657e-05/0.4213, allocations: 12.95 kB / 0.5218 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.792e-05/0.4214, allocations: 21.12 kB / 0.5218 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.4216, allocations: 87.08 kB / 0.5219 GB, free: 1.559 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4216, allocations: 1.094 kB / 0.5219 GB, free: 1.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4217, allocations: 0 / 0.5219 GB, free: 1.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.4217, allocations: 0 / 0.5219 GB, free: 1.559 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004855/0.4222, allocations: 373.6 kB / 0.5223 GB, free: 1.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/0.4222, allocations: 10.88 kB / 0.5223 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.265e-05/0.4223, allocations: 11.06 kB / 0.5223 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.4225, allocations: 195.7 kB / 0.5225 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.4225, allocations: 2.406 kB / 0.5225 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.4225, allocations: 2.266 kB / 0.5225 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.4227, allocations: 66.59 kB / 0.5226 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.4227, allocations: 0.5625 kB / 0.5226 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.4228, allocations: 5.219 kB / 0.5226 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.4228, allocations: 0 / 0.5226 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.4229, allocations: 23.55 kB / 0.5226 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000398/0.4233, allocations: 279.3 kB / 0.5228 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.4235, allocations: 45.97 kB / 0.5229 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.189e-05/0.4236, allocations: 19.22 kB / 0.5229 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.4237, allocations: 1.312 kB / 0.5229 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.4237, allocations: 40.48 kB / 0.5229 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.4237, allocations: 0 / 0.5229 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006846/0.4244, allocations: 146.8 kB / 0.5231 GB, free: 464 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.4244, allocations: 81.11 kB / 0.5232 GB, free: 364 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.4246, allocations: 132.1 kB / 0.5233 GB, free: 252 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.4246, allocations: 26.92 kB / 0.5233 GB, free: 220 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.773e-05/0.4247, allocations: 95.94 kB / 0.5234 GB, free: 124 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.4247, allocations: 19.42 kB / 0.5234 GB, free: 108 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/0.4248, allocations: 15.28 kB / 0.5234 GB, free: 92 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002512/0.425, allocations: 323 kB / 0.5237 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.408e-05/0.4251, allocations: 20.97 kB / 0.5238 GB, free: 15.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.708e-05/0.4252, allocations: 36.69 kB / 0.5238 GB, free: 15.74 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.4254, allocations: 51.94 kB / 0.5239 GB, free: 15.72 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4254, allocations: 1.031 kB / 0.5239 GB, free: 15.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002802/0.4257, allocations: 84.58 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.4257, allocations: 5.906 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.4257, allocations: 7.969 kB / 0.5239 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.4258, allocations: 2.094 kB / 0.524 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.995e-05/0.4258, allocations: 15.56 kB / 0.524 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.4258, allocations: 0 / 0.524 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.144e-05/0.4259, allocations: 5.844 kB / 0.524 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.4259, allocations: 4.969 kB / 0.524 GB, free: 15.66 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001173/0.426, allocations: 119.3 kB / 0.5241 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.759e-05/0.4261, allocations: 8.234 kB / 0.5241 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002939/0.4264, allocations: 97.03 kB / 0.5242 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.4264, allocations: 5.578 kB / 0.5242 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4264, allocations: 0.6562 kB / 0.5242 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.4264, allocations: 0 / 0.5242 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004941/0.4269, allocations: 361.3 kB / 0.5245 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.4269, allocations: 1.766 kB / 0.5245 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.078e-05/0.427, allocations: 11.75 kB / 0.5246 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.427, allocations: 4 kB / 0.5246 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.427, allocations: 5.984 kB / 0.5246 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.427, allocations: 3.938 kB / 0.5246 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.427, allocations: 1.125 kB / 0.5246 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.4273, allocations: 181.2 kB / 0.5247 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.187e-05/0.4274, allocations: 79.59 kB / 0.5248 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.4274, allocations: 1.469 kB / 0.5248 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.337e-05/0.4275, allocations: 13.08 kB / 0.5248 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.4275, allocations: 8.484 kB / 0.5248 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.4275, allocations: 1.438 kB / 0.5248 GB, free: 14.87 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.059e-05/0.4276, allocations: 106.7 kB / 0.5249 GB, free: 14.78 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4276, allocations: 0 / 0.5249 GB, free: 14.78 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.4279, allocations: 21.59 kB / 0.525 GB, free: 14.78 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001095/0.429, allocations: 437.8 kB / 0.5254 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002422/0.4293, allocations: 52.94 kB / 0.5254 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4293, allocations: 0 / 0.5254 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.902e-05/0.4294, allocations: 29.64 kB / 0.5255 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.4297, allocations: 22.58 kB / 0.5255 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000398/0.4301, allocations: 163.8 kB / 0.5256 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.4305, allocations: 0.6934 MB / 0.5263 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.55e-05/0.4306, allocations: 21.06 kB / 0.5263 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.276e-05/0.4306, allocations: 16.84 kB / 0.5263 GB, free: 13.7 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4306, allocations: 5.656 kB / 0.5264 GB, free: 13.69 MB / 398.1 MB Notification: Performance of Templates: time 0.004864/0.4355, allocations: 1.37 MB / 0.5277 GB, free: 13.36 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches