Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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 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 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 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000983/0.000983, allocations: 95.89 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009433/0.0009434, allocations: 175.2 kB / 16.57 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3348/0.3348, allocations: 43.54 MB / 314.5 MB, free: 8.766 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004568/0.0004568, allocations: 20 kB / 383.9 MB, free: 8.023 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1196, allocations: 58.85 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.001896/0.1216, allocations: 1.391 MB / 444.1 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.1226, allocations: 0.7267 MB / 444.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.829e-05/0.1227, allocations: 0 / 444.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001816/0.1229, allocations: 35.83 kB / 444.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00014/0.1231, allocations: 43.88 kB / 445 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.1233, allocations: 71.78 kB / 445 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.1234, allocations: 59.86 kB / 445.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.968e-05/0.1235, allocations: 20.19 kB / 445.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.198e-05/0.1235, allocations: 35.86 kB / 445.1 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.278e-05/0.1236, allocations: 31.84 kB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.789e-06/0.1236, allocations: 0 / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.523e-05/0.1237, allocations: 35.86 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.04e-05/0.1237, allocations: 11.97 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.959e-05/0.1238, allocations: 37.64 kB / 445.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.1239, allocations: 84.11 kB / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.1239, allocations: 0 / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1239, allocations: 0 / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.1239, allocations: 0 / 445.3 MB, free: 10.46 MB / 382.1 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.0004282/0.1243, allocations: 410.7 kB / 445.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.759e-05/0.1244, allocations: 15.97 kB / 445.7 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/0.1244, allocations: 7.906 kB / 445.8 MB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.1246, allocations: 206.8 kB / 446 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.1247, allocations: 4 kB / 446 MB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.1247, allocations: 4 kB / 446 MB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.1248, allocations: 53.67 kB / 446 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1248, allocations: 0 / 446 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.1248, allocations: 0 / 446 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.1249, allocations: 11.95 kB / 446 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.469e-05/0.1249, allocations: 23.92 kB / 446.1 MB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003215/0.1253, allocations: 277 kB / 446.3 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.1254, allocations: 58.67 kB / 446.4 MB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.1254, allocations: 0 / 446.4 MB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001497/0.1256, allocations: 79.31 kB / 446.5 MB, free: 9.172 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1256, allocations: 0 / 446.5 MB, free: 9.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000466/0.1261, allocations: 165.3 kB / 446.6 MB, free: 9.004 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.1261, allocations: 51.41 kB / 446.7 MB, free: 8.941 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.1263, allocations: 190.1 kB / 446.9 MB, free: 8.746 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.1263, allocations: 25.7 kB / 446.9 MB, free: 8.715 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.314e-05/0.1264, allocations: 108.1 kB / 447 MB, free: 8.605 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.1264, allocations: 23.7 kB / 447 MB, free: 8.582 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-06/0.1264, allocations: 4 kB / 447 MB, free: 8.578 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.74e-05/0.1265, allocations: 322.8 kB / 447.3 MB, free: 8.254 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.815e-05/0.1266, allocations: 19.98 kB / 447.3 MB, free: 8.234 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.962e-05/0.1266, allocations: 37.7 kB / 447.4 MB, free: 8.191 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.288e-05/0.1267, allocations: 20 kB / 447.4 MB, free: 8.172 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1267, allocations: 4 kB / 447.4 MB, free: 8.168 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001511/0.1269, allocations: 97.52 kB / 447.5 MB, free: 8.066 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1269, allocations: 11.95 kB / 447.5 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.1269, allocations: 3.938 kB / 447.5 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.1269, allocations: 0 / 447.5 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.667e-05/0.127, allocations: 12 kB / 447.5 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.127, allocations: 4 kB / 447.5 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.334e-05/0.1271, allocations: 7.984 kB / 447.5 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.046e-06/0.1271, allocations: 4 kB / 447.5 MB, free: 8.023 MB / 382.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 ($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 8.911e-05/0.1272, allocations: 129.8 kB / 447.7 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.1272, allocations: 16.09 kB / 447.7 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.653e-05/0.1272, allocations: 20.66 kB / 447.7 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1272, allocations: 3.938 kB / 447.7 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1272, allocations: 0 / 447.7 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1273, allocations: 0 / 447.7 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003976/0.1277, allocations: 395.2 kB / 448.1 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1277, allocations: 4.031 kB / 448.1 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.369e-05/0.1277, allocations: 11.98 kB / 448.1 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1277, allocations: 0 / 448.1 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.1277, allocations: 4 kB / 448.1 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1277, allocations: 4.375 kB / 448.1 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1277, allocations: 0 / 448.1 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002096/0.128, allocations: 217.9 kB / 448.3 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.957e-05/0.128, allocations: 96.89 kB / 448.4 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.1281, allocations: 4 kB / 448.4 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.07e-05/0.1281, allocations: 8 kB / 448.4 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.1282, allocations: 11.97 kB / 448.5 MB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.1282, allocations: 0 / 448.5 MB, free: 7.008 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001027/0.1283, allocations: 144.1 kB / 448.6 MB, free: 6.867 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1283, allocations: 0 / 448.6 MB, free: 6.867 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002358/0.1285, allocations: 27.98 kB / 448.6 MB, free: 6.84 MB / 382.1 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.0009769/0.1295, allocations: 465.1 kB / 449.1 MB, free: 6.414 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001489/0.1297, allocations: 63.89 kB / 449.1 MB, free: 6.352 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1297, allocations: 4.062 kB / 449.1 MB, free: 6.348 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.068e-05/0.1298, allocations: 27.94 kB / 449.2 MB, free: 6.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.13, allocations: 27.92 kB / 449.2 MB, free: 6.293 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003769/0.1304, allocations: 234.4 kB / 449.4 MB, free: 6.035 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.1308, allocations: 0.7082 MB / 450.1 MB, free: 5.301 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.76e-05/0.1308, allocations: 8.891 kB / 450.1 MB, free: 5.289 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.782e-05/0.1309, allocations: 19.42 kB / 450.2 MB, free: 5.27 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1309, allocations: 0 / 450.2 MB, free: 5.27 MB / 382.1 MB Notification: Performance of Templates: time 0.004128/0.1351, allocations: 1.587 MB / 451.7 MB, free: 3.684 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches