Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001615/0.001615, allocations: 178.3 kB / 16.41 MB, free: 5.727 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.866/1.866, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0008169/0.0008174, allocations: 88.86 kB / 270.9 MB, free: 8.355 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.4435/0.4435, allocations: 43.56 MB / 362.7 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003964/0.0003967, allocations: 12 kB / 431.4 MB, free: 5.914 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1151, allocations: 58.85 MB / 490.2 MB, free: 10.97 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.001881/0.117, allocations: 1.398 MB / 491.6 MB, free: 9.559 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.1181, allocations: 0.7383 MB / 492.4 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.002e-05/0.1182, allocations: 0 / 492.4 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.1185, allocations: 83.75 kB / 492.5 MB, free: 8.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.1187, allocations: 71.78 kB / 492.5 MB, free: 8.66 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.119, allocations: 71.8 kB / 492.6 MB, free: 8.59 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.1191, allocations: 91.73 kB / 492.7 MB, free: 8.5 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.754e-05/0.1192, allocations: 16.2 kB / 492.7 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.775e-05/0.1193, allocations: 47.78 kB / 492.8 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.316e-05/0.1194, allocations: 51.81 kB / 492.8 MB, free: 8.387 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.1194, allocations: 4 kB / 492.8 MB, free: 8.383 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.737e-05/0.1195, allocations: 31.94 kB / 492.8 MB, free: 8.352 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.467e-05/0.1196, allocations: 31.89 kB / 492.9 MB, free: 8.32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.096e-05/0.1197, allocations: 41.58 kB / 492.9 MB, free: 8.273 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.1198, allocations: 92.09 kB / 493 MB, free: 8.184 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.1198, allocations: 0 / 493 MB, free: 8.184 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1198, allocations: 0 / 493 MB, free: 8.184 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.1198, allocations: 0 / 493 MB, free: 8.184 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005286/0.1204, allocations: 410.8 kB / 493.4 MB, free: 7.734 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.1204, allocations: 16.02 kB / 493.4 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.1204, allocations: 11.81 kB / 493.4 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.1207, allocations: 202.9 kB / 493.6 MB, free: 7.469 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.1207, allocations: 0 / 493.6 MB, free: 7.469 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.1207, allocations: 8 kB / 493.6 MB, free: 7.461 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.1209, allocations: 57.61 kB / 493.7 MB, free: 7.398 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.1209, allocations: 3.938 kB / 493.7 MB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.1209, allocations: 0 / 493.7 MB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.1209, allocations: 7.891 kB / 493.7 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.046e-05/0.121, allocations: 19.98 kB / 493.7 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003497/0.1214, allocations: 296.8 kB / 494 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.1215, allocations: 62.62 kB / 494.1 MB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.601e-05/0.1216, allocations: 20.84 kB / 494.1 MB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.1216, allocations: 0 / 494.1 MB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.1218, allocations: 71.34 kB / 494.2 MB, free: 6.852 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1218, allocations: 4 kB / 494.2 MB, free: 6.848 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005248/0.1224, allocations: 177.2 kB / 494.3 MB, free: 6.668 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.1224, allocations: 51.41 kB / 494.4 MB, free: 6.605 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.1226, allocations: 214.7 kB / 494.6 MB, free: 6.383 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.1226, allocations: 29.7 kB / 494.6 MB, free: 6.348 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.603e-05/0.1227, allocations: 112 kB / 494.7 MB, free: 6.234 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.1227, allocations: 23.66 kB / 494.8 MB, free: 6.211 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.1227, allocations: 0 / 494.8 MB, free: 6.211 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.1229, allocations: 330.8 kB / 495.1 MB, free: 5.879 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.639e-05/0.1229, allocations: 15.98 kB / 495.1 MB, free: 5.863 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.132e-05/0.123, allocations: 41.64 kB / 495.1 MB, free: 5.816 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.87e-05/0.1231, allocations: 24 kB / 495.2 MB, free: 5.793 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1231, allocations: 0 / 495.2 MB, free: 5.793 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000185/0.1233, allocations: 101.5 kB / 495.3 MB, free: 5.688 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1233, allocations: 11.94 kB / 495.3 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1233, allocations: 32 / 495.3 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.1233, allocations: 4 kB / 495.3 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-05/0.1234, allocations: 12 kB / 495.3 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.1234, allocations: 7.984 kB / 495.3 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.802e-05/0.1235, allocations: 4 kB / 495.3 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.1235, allocations: 4 kB / 495.3 MB, free: 5.645 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 (10): * Single equations (assignments): 10 * 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.0001096/0.1236, allocations: 130.9 kB / 495.4 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.1236, allocations: 19.77 kB / 495.5 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.072e-05/0.1237, allocations: 13.41 kB / 495.5 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1237, allocations: 7.984 kB / 495.5 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1237, allocations: 0 / 495.5 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.1237, allocations: 7.984 kB / 495.5 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004277/0.1241, allocations: 399.2 kB / 495.9 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1242, allocations: 0 / 495.9 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.357e-05/0.1242, allocations: 12.12 kB / 495.9 MB, free: 5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.1242, allocations: 0 / 495.9 MB, free: 5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.1242, allocations: 7.938 kB / 495.9 MB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1242, allocations: 4.031 kB / 495.9 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1242, allocations: 3.984 kB / 495.9 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.1245, allocations: 200.2 kB / 496.1 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.938e-05/0.1245, allocations: 88.97 kB / 496.2 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.1245, allocations: 4 kB / 496.2 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.415e-05/0.1246, allocations: 7.984 kB / 496.2 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-05/0.1247, allocations: 8 kB / 496.2 MB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.1247, allocations: 4 kB / 496.2 MB, free: 4.641 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001405/0.1248, allocations: 175.1 kB / 496.4 MB, free: 4.469 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1248, allocations: 0 / 496.4 MB, free: 4.469 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002367/0.1251, allocations: 20 kB / 496.4 MB, free: 4.449 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.000922/0.126, allocations: 471.7 kB / 496.9 MB, free: 4.039 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001661/0.1262, allocations: 55.92 kB / 496.9 MB, free: 3.984 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1262, allocations: 0 / 496.9 MB, free: 3.984 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.783e-05/0.1263, allocations: 31.98 kB / 496.9 MB, free: 3.953 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.1266, allocations: 20.17 kB / 497 MB, free: 3.934 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004853/0.1271, allocations: 307.8 kB / 497.3 MB, free: 3.598 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.1274, allocations: 0.7198 MB / 498 MB, free: 2.852 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.705e-05/0.1274, allocations: 15.44 kB / 498 MB, free: 2.836 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1274, allocations: 0 / 498 MB, free: 2.836 MB / 378.7 MB Notification: Performance of Templates: time 0.003376/0.1308, allocations: 1.956 MB / 500 MB, free: 0.8867 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches