Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000876/0.000876, allocations: 96.28 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.0009688/0.0009691, allocations: 176.5 kB / 16.57 MB, free: 6.391 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.414/1.414, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.3232/0.3232, allocations: 43.54 MB / 314.5 MB, free: 8.742 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.0004971/0.0004972, allocations: 16 kB / 383.9 MB, free: 8.031 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1086, allocations: 58.85 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002198/0.1109, allocations: 1.588 MB / 444.3 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.112, allocations: 0.7617 MB / 445.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.1122, allocations: 7.938 kB / 445.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002308/0.1124, allocations: 35.77 kB / 445.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002124/0.1126, allocations: 43.88 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.1129, allocations: 87.77 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.1131, allocations: 79.84 kB / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.98e-05/0.1132, allocations: 37.44 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.982e-05/0.1133, allocations: 43.78 kB / 445.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.984e-05/0.1134, allocations: 47.72 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.1134, allocations: 0 / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.01e-05/0.1135, allocations: 31.92 kB / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.899e-05/0.1136, allocations: 19.92 kB / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.288e-05/0.1136, allocations: 41.64 kB / 445.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.1138, allocations: 104 kB / 445.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.1138, allocations: 0 / 445.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1138, allocations: 4 kB / 445.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.1138, allocations: 0 / 445.7 MB, free: 10.12 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000567/0.1144, allocations: 468.3 kB / 446.1 MB, free: 9.609 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.1144, allocations: 19.84 kB / 446.2 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/0.1145, allocations: 15.81 kB / 446.2 MB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.1148, allocations: 211.6 kB / 446.4 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.1148, allocations: 8 kB / 446.4 MB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.1148, allocations: 8 kB / 446.4 MB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.1151, allocations: 108.2 kB / 446.5 MB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1151, allocations: 0 / 446.5 MB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.1151, allocations: 4 kB / 446.5 MB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.1151, allocations: 7.953 kB / 446.5 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.1153, allocations: 51.97 kB / 446.6 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005754/0.1158, allocations: 0.5126 MB / 447.1 MB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003295/0.1162, allocations: 94.59 kB / 447.2 MB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.1162, allocations: 0 / 447.2 MB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002424/0.1165, allocations: 83.38 kB / 447.2 MB, free: 8.363 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.1165, allocations: 4 kB / 447.2 MB, free: 8.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003905/0.1169, allocations: 149.4 kB / 447.4 MB, free: 8.207 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.1169, allocations: 55.39 kB / 447.4 MB, free: 8.141 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.1171, allocations: 187.5 kB / 447.6 MB, free: 7.945 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.1171, allocations: 25.7 kB / 447.7 MB, free: 7.914 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.2e-05/0.1172, allocations: 120 kB / 447.8 MB, free: 7.793 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.1173, allocations: 27.61 kB / 447.8 MB, free: 7.766 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-06/0.1173, allocations: 4 kB / 447.8 MB, free: 7.762 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1174, allocations: 322.8 kB / 448.1 MB, free: 7.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.084e-05/0.1175, allocations: 32.05 kB / 448.2 MB, free: 7.406 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.866e-05/0.1176, allocations: 72.27 kB / 448.2 MB, free: 7.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.1177, allocations: 36.38 kB / 448.3 MB, free: 7.285 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1177, allocations: 3.938 kB / 448.3 MB, free: 7.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002567/0.118, allocations: 141.4 kB / 448.4 MB, free: 7.137 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.118, allocations: 8 kB / 448.4 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.118, allocations: 0 / 448.4 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.118, allocations: 4 kB / 448.4 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.978e-05/0.1181, allocations: 27.92 kB / 448.4 MB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1182, allocations: 0 / 448.4 MB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.084e-05/0.1182, allocations: 19.92 kB / 448.5 MB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.1183, allocations: 7.938 kB / 448.5 MB, free: 7.07 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.628e-05/0.1184, allocations: 133.8 kB / 448.6 MB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.25e-05/0.1184, allocations: 15.77 kB / 448.6 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.084e-05/0.1184, allocations: 21.39 kB / 448.6 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1184, allocations: 0 / 448.6 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1185, allocations: 0 / 448.6 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1185, allocations: 0 / 448.6 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.1186, allocations: 209.8 kB / 448.8 MB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.1186, allocations: 0 / 448.8 MB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.7e-05/0.1187, allocations: 15.98 kB / 448.9 MB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.1187, allocations: 7.953 kB / 448.9 MB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/0.1188, allocations: 7.984 kB / 448.9 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.1188, allocations: 4 kB / 448.9 MB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1188, allocations: 0 / 448.9 MB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003606/0.1192, allocations: 184.8 kB / 449.1 MB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.62e-05/0.1192, allocations: 96.88 kB / 449.1 MB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.1193, allocations: 3.953 kB / 449.2 MB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-05/0.1193, allocations: 15.98 kB / 449.2 MB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.1194, allocations: 4.188 kB / 449.2 MB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.1194, allocations: 3.984 kB / 449.2 MB, free: 6.266 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001182/0.1195, allocations: 141.2 kB / 449.3 MB, free: 6.129 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1195, allocations: 0 / 449.3 MB, free: 6.129 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002308/0.1198, allocations: 27.98 kB / 449.3 MB, free: 6.102 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.0008525/0.1206, allocations: 422.1 kB / 449.8 MB, free: 5.719 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002355/0.1209, allocations: 79.84 kB / 449.8 MB, free: 5.641 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1209, allocations: 0 / 449.8 MB, free: 5.641 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.562e-05/0.121, allocations: 44.16 kB / 449.9 MB, free: 5.598 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.1212, allocations: 28.17 kB / 449.9 MB, free: 5.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006148/0.1219, allocations: 301.6 kB / 450.2 MB, free: 5.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005281/0.1224, allocations: 0.7123 MB / 450.9 MB, free: 4.512 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.683e-05/0.1225, allocations: 21.41 kB / 450.9 MB, free: 4.488 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.1226, allocations: 19.44 kB / 450.9 MB, free: 4.469 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1226, allocations: 0 / 450.9 MB, free: 4.469 MB / 382.1 MB Notification: Performance of Templates: time 0.004182/0.1268, allocations: 1.723 MB / 452.7 MB, free: 2.75 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches