Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 113.4 kB / 17.86 MB, free: 5.629 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.001322/0.001322, allocations: 201.9 kB / 18.77 MB, free: 4.715 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.422/1.422, allocations: 222.9 MB / 242.4 MB, free: 15.46 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.2292/0.2292, allocations: 44.17 MB / 336.8 MB, free: 2.98 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 70.12 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1151, allocations: 60.83 MB / 469.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003463/0.1187, allocations: 1.71 MB / 470.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.1202, allocations: 0.8536 MB / 471.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.1204, allocations: 4 kB / 471.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003107/0.1207, allocations: 39.88 kB / 471.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.1209, allocations: 55.77 kB / 471.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000335/0.1213, allocations: 95.75 kB / 471.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.1215, allocations: 87.7 kB / 472 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.447e-05/0.1216, allocations: 8 kB / 472 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.1217, allocations: 43.77 kB / 472.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.1218, allocations: 35.78 kB / 472.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1218, allocations: 8 kB / 472.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.1219, allocations: 28 kB / 472.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.743e-05/0.122, allocations: 15.91 kB / 472.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.533e-05/0.122, allocations: 31.8 kB / 472.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.1222, allocations: 68.14 kB / 472.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1222, allocations: 0 / 472.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1222, allocations: 0 / 472.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.1222, allocations: 0 / 472.3 MB, free: 11.73 MB / 350.1 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.0005478/0.1228, allocations: 395.1 kB / 472.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.1228, allocations: 16.03 kB / 472.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.021e-05/0.1229, allocations: 12.78 kB / 472.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.1231, allocations: 204.1 kB / 472.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.1232, allocations: 4.375 kB / 472.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.1232, allocations: 8.125 kB / 472.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.1233, allocations: 41.69 kB / 472.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.1234, allocations: 0 / 472.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.1234, allocations: 3.984 kB / 472.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.1234, allocations: 4 kB / 472.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.605e-05/0.1235, allocations: 16 kB / 473 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000202/0.1237, allocations: 177.7 kB / 473.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.1239, allocations: 58.53 kB / 473.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.752e-05/0.124, allocations: 20.8 kB / 473.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.124, allocations: 3.984 kB / 473.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/0.1242, allocations: 71.33 kB / 473.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.533e-06/0.1242, allocations: 0 / 473.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000292/0.1245, allocations: 97.52 kB / 473.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.1246, allocations: 51.41 kB / 473.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.1247, allocations: 166.2 kB / 473.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.1248, allocations: 29.7 kB / 473.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.139e-05/0.1248, allocations: 100.1 kB / 473.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.1249, allocations: 11.75 kB / 473.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/0.1249, allocations: 25.72 kB / 473.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.125, allocations: 322.8 kB / 474.1 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.562e-05/0.1251, allocations: 19.98 kB / 474.1 MB, free: 9.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.886e-05/0.1252, allocations: 29.7 kB / 474.1 MB, free: 9.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.415e-05/0.1253, allocations: 41.66 kB / 474.2 MB, free: 9.613 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1253, allocations: 4 kB / 474.2 MB, free: 9.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000158/0.1254, allocations: 81.52 kB / 474.2 MB, free: 9.523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1255, allocations: 8 kB / 474.2 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.1255, allocations: 320 / 474.2 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1255, allocations: 3.938 kB / 474.2 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.462e-05/0.1256, allocations: 15.94 kB / 474.3 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1256, allocations: 4 kB / 474.3 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.46e-05/0.1256, allocations: 0 / 474.3 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.1257, allocations: 7.984 kB / 474.3 MB, free: 9.484 MB / 350.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.277e-05/0.1258, allocations: 133 kB / 474.4 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.1258, allocations: 11.81 kB / 474.4 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.793e-05/0.1258, allocations: 12.3 kB / 474.4 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1258, allocations: 0 / 474.4 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1258, allocations: 0 / 474.4 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1259, allocations: 0 / 474.4 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.126, allocations: 189.6 kB / 474.6 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.126, allocations: 0 / 474.6 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.235e-05/0.126, allocations: 4 kB / 474.6 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.126, allocations: 0 / 474.6 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.1261, allocations: 4 kB / 474.6 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.1261, allocations: 0 / 474.6 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1261, allocations: 3.938 kB / 474.6 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.1263, allocations: 109 kB / 474.7 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.434e-05/0.1263, allocations: 89 kB / 474.8 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.1264, allocations: 0 / 474.8 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.764e-05/0.1264, allocations: 4 kB / 474.8 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.1264, allocations: 8 kB / 474.8 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.1265, allocations: 7.984 kB / 474.8 MB, free: 8.824 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.1266, allocations: 128.9 kB / 475 MB, free: 8.699 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1266, allocations: 7.938 kB / 475 MB, free: 8.691 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002152/0.1268, allocations: 20 kB / 475 MB, free: 8.672 MB / 350.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: 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 (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.0009327/0.1277, allocations: 405.4 kB / 475.4 MB, free: 8.426 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001665/0.1279, allocations: 43.92 kB / 475.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.1279, allocations: 4.062 kB / 475.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.198e-05/0.128, allocations: 19.98 kB / 475.5 MB, free: 8.359 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.1283, allocations: 27.91 kB / 475.5 MB, free: 8.332 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004263/0.1287, allocations: 229.3 kB / 475.7 MB, free: 8.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.129, allocations: 0.7043 MB / 476.4 MB, free: 7.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.505e-05/0.129, allocations: 15.44 kB / 476.4 MB, free: 7.328 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.129, allocations: 0 / 476.4 MB, free: 7.328 MB / 350.1 MB Notification: Performance of Templates: time 0.003587/0.1326, allocations: 1.653 MB / 478.1 MB, free: 5.684 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches