Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 175.2 kB / 16.72 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.4 MB / 222.9 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008277/0.0008279, allocations: 97.23 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3173/0.3173, allocations: 43.55 MB / 363.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003575, allocations: 16 kB / 432 MB, free: 5.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1115, allocations: 58.86 MB / 490.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.001874/0.1135, allocations: 1.361 MB / 492.2 MB, free: 9.504 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.1145, allocations: 0.7278 MB / 492.9 MB, free: 8.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.31e-05/0.1146, allocations: 4 kB / 492.9 MB, free: 8.766 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.1149, allocations: 47.88 kB / 493 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001723/0.1151, allocations: 47.81 kB / 493 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.1153, allocations: 71.86 kB / 493.1 MB, free: 8.602 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.1155, allocations: 83.69 kB / 493.2 MB, free: 8.52 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.933e-05/0.1155, allocations: 7.984 kB / 493.2 MB, free: 8.512 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.236e-05/0.1156, allocations: 39.78 kB / 493.2 MB, free: 8.473 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.65e-05/0.1157, allocations: 35.83 kB / 493.3 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.1158, allocations: 8 kB / 493.3 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.304e-05/0.1158, allocations: 20 kB / 493.3 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.383e-05/0.1159, allocations: 15.92 kB / 493.3 MB, free: 8.395 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.205e-05/0.116, allocations: 53.55 kB / 493.3 MB, free: 8.336 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.1161, allocations: 80 kB / 493.4 MB, free: 8.258 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1161, allocations: 0 / 493.4 MB, free: 8.258 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.1161, allocations: 3.938 kB / 493.4 MB, free: 8.254 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.1161, allocations: 0 / 493.4 MB, free: 8.254 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.0004815/0.1166, allocations: 375.2 kB / 493.8 MB, free: 7.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.1167, allocations: 16.03 kB / 493.8 MB, free: 7.824 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.1167, allocations: 12.84 kB / 493.8 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.1169, allocations: 200.1 kB / 494 MB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.117, allocations: 384 / 494 MB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.117, allocations: 8.125 kB / 494 MB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.1171, allocations: 45.67 kB / 494.1 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.1171, allocations: 3.938 kB / 494.1 MB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.1172, allocations: 4 kB / 494.1 MB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1172, allocations: 4 kB / 494.1 MB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.44e-05/0.1172, allocations: 11.98 kB / 494.1 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001829/0.1174, allocations: 185.6 kB / 494.3 MB, free: 7.266 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.1176, allocations: 54.61 kB / 494.3 MB, free: 7.203 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.886e-05/0.1177, allocations: 24.78 kB / 494.4 MB, free: 7.176 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.1177, allocations: 3.938 kB / 494.4 MB, free: 7.172 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000181/0.1179, allocations: 67.33 kB / 494.4 MB, free: 7.094 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.543e-06/0.1179, allocations: 0 / 494.4 MB, free: 7.094 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002626/0.1181, allocations: 89.58 kB / 494.5 MB, free: 7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.1182, allocations: 55.41 kB / 494.6 MB, free: 6.934 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.1184, allocations: 166.2 kB / 494.7 MB, free: 6.758 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.1184, allocations: 25.7 kB / 494.8 MB, free: 6.727 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/0.1184, allocations: 100.1 kB / 494.9 MB, free: 6.625 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.1185, allocations: 15.84 kB / 494.9 MB, free: 6.609 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-06/0.1185, allocations: 4 kB / 494.9 MB, free: 6.605 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1186, allocations: 322.8 kB / 495.2 MB, free: 6.281 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.654e-05/0.1186, allocations: 15.92 kB / 495.2 MB, free: 6.266 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.209e-05/0.1187, allocations: 29.72 kB / 495.2 MB, free: 6.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.591e-05/0.1188, allocations: 37.95 kB / 495.3 MB, free: 6.188 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1188, allocations: 0 / 495.3 MB, free: 6.188 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001457/0.119, allocations: 97.38 kB / 495.4 MB, free: 6.086 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.119, allocations: 11.98 kB / 495.4 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.119, allocations: 0 / 495.4 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.119, allocations: 3.984 kB / 495.4 MB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.391e-05/0.1191, allocations: 8 kB / 495.4 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1191, allocations: 4 kB / 495.4 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.21e-05/0.1192, allocations: 0 / 495.4 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.1192, allocations: 4 kB / 495.4 MB, free: 6.055 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.1193, allocations: 137.5 kB / 495.5 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.716e-05/0.1193, allocations: 7.906 kB / 495.5 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.423e-05/0.1193, allocations: 12.31 kB / 495.5 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1194, allocations: 7.922 kB / 495.6 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1194, allocations: 0 / 495.6 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1194, allocations: 0 / 495.6 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.1195, allocations: 185.6 kB / 495.7 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1196, allocations: 0 / 495.7 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.044e-05/0.1196, allocations: 4 kB / 495.7 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.1196, allocations: 0 / 495.7 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.1196, allocations: 0 / 495.7 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1196, allocations: 4 kB / 495.7 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1196, allocations: 0 / 495.7 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.1198, allocations: 116.8 kB / 495.9 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.938e-05/0.1199, allocations: 89 kB / 495.9 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.1199, allocations: 0 / 495.9 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.667e-05/0.1199, allocations: 4 kB / 495.9 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.12, allocations: 11.92 kB / 496 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.12, allocations: 8 kB / 496 MB, free: 5.391 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001046/0.1201, allocations: 131.9 kB / 496.1 MB, free: 5.262 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1201, allocations: 0 / 496.1 MB, free: 5.262 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001956/0.1203, allocations: 16 kB / 496.1 MB, free: 5.246 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000861/0.1212, allocations: 410.9 kB / 496.5 MB, free: 4.883 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001511/0.1213, allocations: 43.97 kB / 496.6 MB, free: 4.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1213, allocations: 0 / 496.6 MB, free: 4.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.701e-05/0.1214, allocations: 24 kB / 496.6 MB, free: 4.816 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.1217, allocations: 31.84 kB / 496.6 MB, free: 4.785 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003999/0.1221, allocations: 218.8 kB / 496.8 MB, free: 4.539 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.1223, allocations: 0.7004 MB / 497.5 MB, free: 3.812 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.314e-05/0.1224, allocations: 15.44 kB / 497.5 MB, free: 3.797 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1224, allocations: 0 / 497.5 MB, free: 3.797 MB / 378.7 MB Notification: Performance of Templates: time 0.003101/0.1255, allocations: 1.637 MB / 499.2 MB, free: 2.164 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches