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.002418/0.002417, allocations: 187.9 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.066/2.066, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001152/0.001152, allocations: 94.84 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3114/0.3114, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004407/0.0004409, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1146, allocations: 58.87 MB / 490.2 MB, free: 9.332 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.00243/0.1171, allocations: 1.348 MB / 491.6 MB, free: 7.969 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.1188, allocations: 0.7072 MB / 492.3 MB, free: 7.254 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.589e-05/0.1189, allocations: 3.938 kB / 492.3 MB, free: 7.25 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003444/0.1193, allocations: 75.77 kB / 492.4 MB, free: 7.176 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002419/0.1195, allocations: 67.83 kB / 492.4 MB, free: 7.109 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003511/0.1199, allocations: 71.78 kB / 492.5 MB, free: 7.039 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.1201, allocations: 67.84 kB / 492.6 MB, free: 6.973 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.526e-05/0.1202, allocations: 7.938 kB / 492.6 MB, free: 6.965 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.1203, allocations: 47.83 kB / 492.6 MB, free: 6.918 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.1204, allocations: 35.89 kB / 492.7 MB, free: 6.883 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.1205, allocations: 3.938 kB / 492.7 MB, free: 6.879 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.954e-05/0.1206, allocations: 16 kB / 492.7 MB, free: 6.863 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.589e-05/0.1206, allocations: 15.98 kB / 492.7 MB, free: 6.848 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.551e-05/0.1207, allocations: 45.58 kB / 492.7 MB, free: 6.797 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.1209, allocations: 80.09 kB / 492.8 MB, free: 6.719 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.1209, allocations: 4 kB / 492.8 MB, free: 6.715 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1209, allocations: 0 / 492.8 MB, free: 6.715 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.1209, allocations: 0 / 492.8 MB, free: 6.715 MB / 330.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.0006113/0.1215, allocations: 394.9 kB / 493.2 MB, free: 6.281 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.1216, allocations: 12.02 kB / 493.2 MB, free: 6.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.005e-05/0.1216, allocations: 19.77 kB / 493.2 MB, free: 6.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.1219, allocations: 194.9 kB / 493.4 MB, free: 6.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.122, allocations: 0 / 493.4 MB, free: 6.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/0.122, allocations: 4 kB / 493.4 MB, free: 6.016 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.1222, allocations: 53.67 kB / 493.5 MB, free: 5.957 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.1222, allocations: 0 / 493.5 MB, free: 5.957 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.1222, allocations: 0 / 493.5 MB, free: 5.957 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1222, allocations: 3.938 kB / 493.5 MB, free: 5.953 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.957e-05/0.1224, allocations: 23.88 kB / 493.5 MB, free: 5.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002431/0.1226, allocations: 185.7 kB / 493.7 MB, free: 5.699 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.1229, allocations: 58.59 kB / 493.7 MB, free: 5.633 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.1229, allocations: 0 / 493.7 MB, free: 5.633 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002187/0.1231, allocations: 63.48 kB / 493.8 MB, free: 5.559 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.794e-06/0.1231, allocations: 3.938 kB / 493.8 MB, free: 5.555 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003743/0.1235, allocations: 97.48 kB / 493.9 MB, free: 5.453 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.1236, allocations: 51.41 kB / 494 MB, free: 5.391 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003124/0.1239, allocations: 214.3 kB / 494.2 MB, free: 5.172 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.1239, allocations: 25.7 kB / 494.2 MB, free: 5.141 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.879e-05/0.124, allocations: 166.5 kB / 494.4 MB, free: 4.977 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.526e-05/0.1241, allocations: 11.91 kB / 494.4 MB, free: 4.965 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.1241, allocations: 0 / 494.4 MB, free: 4.965 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1243, allocations: 318.8 kB / 494.7 MB, free: 4.645 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.535e-05/0.1243, allocations: 12 kB / 494.7 MB, free: 4.633 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.429e-05/0.1244, allocations: 33.7 kB / 494.7 MB, free: 4.594 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.329e-05/0.1245, allocations: 19.94 kB / 494.7 MB, free: 4.574 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1246, allocations: 0 / 494.7 MB, free: 4.574 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002251/0.1248, allocations: 69.59 kB / 494.8 MB, free: 4.5 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.1248, allocations: 11.98 kB / 494.8 MB, free: 4.488 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1248, allocations: 3.938 kB / 494.8 MB, free: 4.484 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1249, allocations: 0 / 494.8 MB, free: 4.484 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.125, allocations: 11.94 kB / 494.8 MB, free: 4.473 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.125, allocations: 4 kB / 494.8 MB, free: 4.469 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.971e-05/0.1251, allocations: 11.97 kB / 494.9 MB, free: 4.457 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.1251, allocations: 4 kB / 494.9 MB, free: 4.453 MB / 330.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.0001389/0.1253, allocations: 133.8 kB / 495 MB, free: 4.312 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.1253, allocations: 7.906 kB / 495 MB, free: 4.305 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.985e-05/0.1254, allocations: 16.98 kB / 495 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1254, allocations: 0 / 495 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1254, allocations: 0 / 495 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1254, allocations: 4 kB / 495 MB, free: 4.285 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001954/0.1256, allocations: 185.6 kB / 495.2 MB, free: 4.055 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1256, allocations: 0 / 495.2 MB, free: 4.055 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.22e-05/0.1257, allocations: 11.98 kB / 495.2 MB, free: 4.043 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1257, allocations: 3.938 kB / 495.2 MB, free: 4.039 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.1257, allocations: 0 / 495.2 MB, free: 4.039 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1257, allocations: 320 / 495.2 MB, free: 4.039 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1257, allocations: 0 / 495.2 MB, free: 4.039 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.126, allocations: 120.8 kB / 495.3 MB, free: 3.902 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.518e-05/0.1261, allocations: 85.02 kB / 495.4 MB, free: 3.801 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.1261, allocations: 8 kB / 495.4 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.391e-05/0.1262, allocations: 7.984 kB / 495.4 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.1263, allocations: 4 kB / 495.4 MB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.1263, allocations: 0 / 495.4 MB, free: 3.781 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001958/0.1265, allocations: 156.2 kB / 495.6 MB, free: 3.629 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1265, allocations: 0 / 495.6 MB, free: 3.629 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000281/0.1268, allocations: 19.98 kB / 495.6 MB, free: 3.609 MB / 330.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.001204/0.128, allocations: 409.5 kB / 496 MB, free: 3.258 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002477/0.1283, allocations: 47.92 kB / 496.1 MB, free: 3.211 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.1283, allocations: 0 / 496.1 MB, free: 3.211 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.326e-05/0.1284, allocations: 19.98 kB / 496.1 MB, free: 3.191 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.1287, allocations: 23.94 kB / 496.1 MB, free: 3.168 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006004/0.1294, allocations: 262.9 kB / 496.4 MB, free: 2.875 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.1297, allocations: 0.7043 MB / 497.1 MB, free: 2.145 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.029e-05/0.1298, allocations: 15.42 kB / 497.1 MB, free: 2.129 MB / 330.7 MB Notification: Performance of SimCode: time 3.567e-06/0.1298, allocations: 0 / 497.1 MB, free: 2.129 MB / 330.7 MB Notification: Performance of Templates: time 0.004991/0.1348, allocations: 1.73 MB / 498.8 MB, free: 412 kB / 330.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/jenkins1/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