Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 112.7 kB / 18.45 MB, free: 4.598 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.001258/0.001258, allocations: 181.2 kB / 19.38 MB, free: 3.684 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.274/1.274, allocations: 222.9 MB / 243.1 MB, free: 15.14 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.1888/0.1888, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.89 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3428, allocations: 60.82 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.002655/0.3455, allocations: 1.567 MB / 0.5211 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.3467, allocations: 1.04 MB / 0.5221 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.124e-05/0.3468, allocations: 1.094 kB / 0.5221 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002148/0.347, allocations: 15.78 kB / 0.5221 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.3472, allocations: 45.38 kB / 0.5222 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.3475, allocations: 103.7 kB / 0.5223 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.3477, allocations: 59.91 kB / 0.5223 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.464e-05/0.3478, allocations: 16.59 kB / 0.5224 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.457e-05/0.3478, allocations: 23.17 kB / 0.5224 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.3479, allocations: 25.17 kB / 0.5224 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.348, allocations: 3.781 kB / 0.5224 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.3481, allocations: 49.45 kB / 0.5225 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.344e-05/0.3481, allocations: 13.48 kB / 0.5225 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.687e-05/0.3482, allocations: 16.89 kB / 0.5225 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.3484, allocations: 95.45 kB / 0.5226 GB, free: 1.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3484, allocations: 0 / 0.5226 GB, free: 1.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3484, allocations: 4 kB / 0.5226 GB, free: 1.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.3484, allocations: 1.094 kB / 0.5226 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.0003802/0.3488, allocations: 369.3 kB / 0.5229 GB, free: 1.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3488, allocations: 14.08 kB / 0.5229 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/0.3489, allocations: 8.5 kB / 0.523 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.349, allocations: 184.8 kB / 0.5231 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.349, allocations: 4.375 kB / 0.5231 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.3491, allocations: 6.469 kB / 0.5231 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.3492, allocations: 71.47 kB / 0.5232 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.3492, allocations: 0 / 0.5232 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.3492, allocations: 4 kB / 0.5232 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3493, allocations: 5.031 kB / 0.5232 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.534e-05/0.3494, allocations: 24.31 kB / 0.5232 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003152/0.3497, allocations: 278.3 kB / 0.5235 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.3499, allocations: 51.55 kB / 0.5236 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.909e-05/0.3499, allocations: 18.14 kB / 0.5236 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.35, allocations: 0.7969 kB / 0.5236 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/0.35, allocations: 31.44 kB / 0.5236 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.35, allocations: 1.062 kB / 0.5236 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005247/0.3505, allocations: 154.7 kB / 0.5238 GB, free: 456 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.3506, allocations: 78.88 kB / 0.5238 GB, free: 360 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.3507, allocations: 134.8 kB / 0.524 GB, free: 248 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.3507, allocations: 25.7 kB / 0.524 GB, free: 216 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.657e-05/0.3507, allocations: 89.58 kB / 0.5241 GB, free: 128 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.3508, allocations: 18.17 kB / 0.5241 GB, free: 112 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/0.3508, allocations: 20.05 kB / 0.5241 GB, free: 92 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.3509, allocations: 323.2 kB / 0.5244 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.21e-05/0.351, allocations: 20.34 kB / 0.5244 GB, free: 15.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.011e-05/0.3511, allocations: 37.61 kB / 0.5245 GB, free: 15.74 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.3512, allocations: 56.12 kB / 0.5245 GB, free: 15.72 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3512, allocations: 0 / 0.5245 GB, free: 15.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001824/0.3514, allocations: 84.77 kB / 0.5246 GB, free: 15.67 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.3514, allocations: 5.312 kB / 0.5246 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3515, allocations: 1.156 kB / 0.5246 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.3515, allocations: 0 / 0.5246 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.23e-05/0.3515, allocations: 13.03 kB / 0.5246 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.3515, allocations: 0 / 0.5246 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.338e-05/0.3516, allocations: 13.52 kB / 0.5246 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.3516, allocations: 2.156 kB / 0.5246 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 8.231e-05/0.3517, allocations: 127 kB / 0.5248 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.3517, allocations: 7.219 kB / 0.5248 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000237/0.352, allocations: 93.78 kB / 0.5249 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.352, allocations: 0.7031 kB / 0.5249 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.352, allocations: 4.938 kB / 0.5249 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.352, allocations: 288 / 0.5249 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004363/0.3525, allocations: 358.1 kB / 0.5252 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3525, allocations: 0 / 0.5252 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.34e-05/0.3525, allocations: 12.12 kB / 0.5252 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.3525, allocations: 5.453 kB / 0.5252 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.3525, allocations: 4.781 kB / 0.5252 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3526, allocations: 5.281 kB / 0.5252 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3526, allocations: 0 / 0.5252 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.3528, allocations: 182.1 kB / 0.5254 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.351e-05/0.3528, allocations: 78.53 kB / 0.5255 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.3529, allocations: 9.547 kB / 0.5255 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-05/0.353, allocations: 9.484 kB / 0.5255 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/0.353, allocations: 3.531 kB / 0.5255 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.353, allocations: 1.875 kB / 0.5255 GB, free: 14.87 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.521e-05/0.3531, allocations: 107.4 kB / 0.5256 GB, free: 14.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3531, allocations: 0 / 0.5256 GB, free: 14.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002498/0.3533, allocations: 20.19 kB / 0.5256 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.0009805/0.3543, allocations: 446.7 kB / 0.526 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002202/0.3546, allocations: 53.62 kB / 0.5261 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3546, allocations: 4 kB / 0.5261 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.968e-05/0.3547, allocations: 30.48 kB / 0.5261 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.355, allocations: 13.94 kB / 0.5261 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003496/0.3553, allocations: 190.4 kB / 0.5263 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.3556, allocations: 0.6913 MB / 0.527 GB, free: 13.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.85e-05/0.3557, allocations: 18.94 kB / 0.527 GB, free: 13.67 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3557, allocations: 5.344 kB / 0.527 GB, free: 13.67 MB / 398.1 MB Notification: Performance of Templates: time 0.003504/0.3592, allocations: 1.594 MB / 0.5286 GB, free: 13.21 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches