Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001178/0.001179, allocations: 174.8 kB / 16.72 MB, free: 5.082 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.262/1.262, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.0007652/0.0007653, allocations: 78.42 kB / 271.2 MB, free: 8.254 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.2921/0.2921, allocations: 43.57 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003618, allocations: 16 kB / 432 MB, free: 5.594 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.106, allocations: 58.85 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.001838/0.1079, allocations: 1.365 MB / 492.2 MB, free: 9.277 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.109, allocations: 0.7278 MB / 492.9 MB, free: 8.543 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.707e-05/0.109, allocations: 0 / 492.9 MB, free: 8.543 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002989/0.1093, allocations: 71.77 kB / 493 MB, free: 8.473 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001794/0.1095, allocations: 75.78 kB / 493.1 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.1098, allocations: 67.86 kB / 493.1 MB, free: 8.332 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.1099, allocations: 87.73 kB / 493.2 MB, free: 8.246 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.357e-05/0.11, allocations: 7.984 kB / 493.2 MB, free: 8.238 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.519e-05/0.1101, allocations: 43.78 kB / 493.3 MB, free: 8.195 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.649e-05/0.1102, allocations: 43.83 kB / 493.3 MB, free: 8.152 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.1102, allocations: 4 kB / 493.3 MB, free: 8.148 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.822e-05/0.1103, allocations: 27.98 kB / 493.3 MB, free: 8.121 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.244e-05/0.1103, allocations: 23.92 kB / 493.4 MB, free: 8.098 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.279e-05/0.1104, allocations: 57.44 kB / 493.4 MB, free: 8.035 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.1105, allocations: 80.05 kB / 493.5 MB, free: 7.957 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1105, allocations: 0 / 493.5 MB, free: 7.957 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1105, allocations: 0 / 493.5 MB, free: 7.957 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.1106, allocations: 0 / 493.5 MB, free: 7.957 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.0005296/0.1111, allocations: 394.7 kB / 493.9 MB, free: 7.527 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.1111, allocations: 16.02 kB / 493.9 MB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.1112, allocations: 8.844 kB / 493.9 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.1114, allocations: 220 kB / 494.1 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.1114, allocations: 384 / 494.1 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.1115, allocations: 8.062 kB / 494.1 MB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.1116, allocations: 53.66 kB / 494.2 MB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.1116, allocations: 0 / 494.2 MB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1116, allocations: 0 / 494.2 MB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1116, allocations: 0 / 494.2 MB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.528e-05/0.1117, allocations: 15.98 kB / 494.2 MB, free: 7.168 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002031/0.1119, allocations: 181.7 kB / 494.4 MB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.1121, allocations: 66.48 kB / 494.4 MB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.242e-05/0.1122, allocations: 24.78 kB / 494.5 MB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.1122, allocations: 0 / 494.5 MB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001786/0.1124, allocations: 71.33 kB / 494.5 MB, free: 6.758 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 3.557e-06/0.1124, allocations: 4 kB / 494.5 MB, free: 6.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002638/0.1127, allocations: 93.58 kB / 494.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.1127, allocations: 55.34 kB / 494.7 MB, free: 6.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.1129, allocations: 210.3 kB / 494.9 MB, free: 6.375 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.1129, allocations: 29.69 kB / 494.9 MB, free: 6.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.954e-05/0.113, allocations: 100.1 kB / 495 MB, free: 6.238 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.113, allocations: 11.89 kB / 495 MB, free: 6.227 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.1131, allocations: 0 / 495 MB, free: 6.227 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1132, allocations: 330.8 kB / 495.3 MB, free: 5.895 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.502e-05/0.1132, allocations: 12 kB / 495.4 MB, free: 5.883 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.928e-05/0.1133, allocations: 25.7 kB / 495.4 MB, free: 5.852 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.713e-05/0.1134, allocations: 45.7 kB / 495.4 MB, free: 5.801 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.1134, allocations: 0 / 495.4 MB, free: 5.801 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001398/0.1135, allocations: 85.38 kB / 495.5 MB, free: 5.711 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1136, allocations: 12.03 kB / 495.5 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1136, allocations: 0 / 495.5 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.1136, allocations: 0 / 495.5 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-05/0.1136, allocations: 8 kB / 495.5 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/0.1137, allocations: 12.06 kB / 495.5 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.532e-05/0.1137, allocations: 11.94 kB / 495.6 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.1137, allocations: 4 kB / 495.6 MB, free: 5.664 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 8.628e-05/0.1138, allocations: 129.4 kB / 495.7 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.1138, allocations: 11.91 kB / 495.7 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.376e-05/0.1139, allocations: 17 kB / 495.7 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1139, allocations: 0 / 495.7 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1139, allocations: 0 / 495.7 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1139, allocations: 0 / 495.7 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.114, allocations: 201.5 kB / 495.9 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1141, allocations: 0 / 495.9 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.665e-05/0.1141, allocations: 0 / 495.9 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.1141, allocations: 4 kB / 495.9 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.1141, allocations: 0 / 495.9 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1141, allocations: 320 / 495.9 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1141, allocations: 0 / 495.9 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.1143, allocations: 120.9 kB / 496 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.1143, allocations: 92.94 kB / 496.1 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.1144, allocations: 0 / 496.1 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.821e-05/0.1144, allocations: 8 kB / 496.1 MB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.02e-05/0.1144, allocations: 7.922 kB / 496.1 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.1145, allocations: 4 kB / 496.1 MB, free: 4.984 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001116/0.1146, allocations: 156.2 kB / 496.3 MB, free: 4.832 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1146, allocations: 4 kB / 496.3 MB, free: 4.828 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001927/0.1148, allocations: 16 kB / 496.3 MB, free: 4.812 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.0008485/0.1156, allocations: 406 kB / 496.7 MB, free: 4.449 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001419/0.1158, allocations: 39.92 kB / 496.8 MB, free: 4.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1158, allocations: 0 / 496.8 MB, free: 4.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.553e-05/0.1159, allocations: 23.98 kB / 496.8 MB, free: 4.387 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.1161, allocations: 35.91 kB / 496.8 MB, free: 4.352 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003893/0.1165, allocations: 258.6 kB / 497.1 MB, free: 4.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.1168, allocations: 0.7043 MB / 497.8 MB, free: 3.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.866e-05/0.1168, allocations: 15.44 kB / 497.8 MB, free: 3.324 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1168, allocations: 0 / 497.8 MB, free: 3.324 MB / 378.7 MB Notification: Performance of Templates: time 0.002971/0.1198, allocations: 1.703 MB / 499.5 MB, free: 1.625 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches