Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, 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.001012/0.001012, 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.419/1.419, allocations: 222.9 MB / 242.4 MB, free: 15.47 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.2162/0.2162, allocations: 44.17 MB / 336.8 MB, free: 3.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 69.09 kB / 408.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1152, allocations: 60.83 MB / 469.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.00306/0.1183, allocations: 1.757 MB / 470.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.1203, allocations: 1.452 MB / 472.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.17e-05/0.1204, allocations: 4 kB / 472.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002838/0.1207, allocations: 39.84 kB / 472.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001849/0.1209, allocations: 51.77 kB / 472.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.1212, allocations: 87.83 kB / 472.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.1213, allocations: 91.75 kB / 472.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.572e-05/0.1214, allocations: 4.234 kB / 472.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.197e-05/0.1215, allocations: 43.73 kB / 472.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.1217, allocations: 35.83 kB / 472.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.1217, allocations: 4 kB / 472.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.1218, allocations: 63.91 kB / 472.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.919e-05/0.1219, allocations: 15.98 kB / 472.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.564e-05/0.122, allocations: 31.73 kB / 472.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.1221, allocations: 92.03 kB / 473 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1222, allocations: 4 kB / 473 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1222, allocations: 0 / 473 MB, free: 11.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.1222, allocations: 0 / 473 MB, free: 11.06 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006154/0.1228, allocations: 395.2 kB / 473.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.1228, allocations: 12.03 kB / 473.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.764e-05/0.1229, allocations: 12.84 kB / 473.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.1231, allocations: 202.7 kB / 473.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.1232, allocations: 8.375 kB / 473.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.1232, allocations: 4.125 kB / 473.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.1234, allocations: 75.31 kB / 473.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.1234, allocations: 3.938 kB / 473.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.1234, allocations: 0 / 473.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.1234, allocations: 0 / 473.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.815e-05/0.1235, allocations: 23.98 kB / 473.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003744/0.1239, allocations: 284.8 kB / 474 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.1241, allocations: 62.61 kB / 474 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.377e-05/0.1242, allocations: 16.86 kB / 474 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.1242, allocations: 4 kB / 474 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001896/0.1244, allocations: 75.36 kB / 474.1 MB, free: 9.738 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.1244, allocations: 4 kB / 474.1 MB, free: 9.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005494/0.125, allocations: 169.2 kB / 474.3 MB, free: 9.562 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.125, allocations: 81.11 kB / 474.4 MB, free: 9.465 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.1252, allocations: 149.8 kB / 474.5 MB, free: 9.309 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.1252, allocations: 29.7 kB / 474.5 MB, free: 9.273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.383e-05/0.1253, allocations: 100.1 kB / 474.6 MB, free: 9.172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.1253, allocations: 19.72 kB / 474.6 MB, free: 9.152 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.1253, allocations: 25.7 kB / 474.7 MB, free: 9.121 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1255, allocations: 322.8 kB / 475 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.016e-05/0.1255, allocations: 23.92 kB / 475 MB, free: 8.773 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.649e-05/0.1256, allocations: 38.56 kB / 475.1 MB, free: 8.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.1257, allocations: 65.73 kB / 475.1 MB, free: 8.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1258, allocations: 0 / 475.1 MB, free: 8.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001984/0.126, allocations: 101.5 kB / 475.2 MB, free: 8.551 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.126, allocations: 8 kB / 475.2 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.126, allocations: 0 / 475.2 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.126, allocations: 0 / 475.2 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.319e-05/0.1261, allocations: 15.98 kB / 475.2 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1261, allocations: 0 / 475.2 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.35e-05/0.1262, allocations: 15.91 kB / 475.3 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.1262, allocations: 4 kB / 475.3 MB, free: 8.508 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 (10): * Single equations (assignments): 10 * 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 0.0001072/0.1263, allocations: 125.8 kB / 475.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.1263, allocations: 11.91 kB / 475.4 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.93e-05/0.1264, allocations: 8.719 kB / 475.4 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1264, allocations: 4 kB / 475.4 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1264, allocations: 0 / 475.4 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1264, allocations: 7.922 kB / 475.4 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004367/0.1269, allocations: 387.5 kB / 475.8 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1269, allocations: 0 / 475.8 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.333e-05/0.1269, allocations: 11.94 kB / 475.8 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1269, allocations: 0 / 475.8 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.1269, allocations: 15.88 kB / 475.8 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.1269, allocations: 3.984 kB / 475.8 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.127, allocations: 0 / 475.8 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.1272, allocations: 204.2 kB / 476 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.812e-05/0.1272, allocations: 85.02 kB / 476.1 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.1273, allocations: 8.312 kB / 476.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.311e-05/0.1274, allocations: 4 kB / 476.1 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.1274, allocations: 3.984 kB / 476.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.1274, allocations: 8 kB / 476.1 MB, free: 7.527 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.341e-05/0.1275, allocations: 126 kB / 476.3 MB, free: 7.406 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1275, allocations: 0 / 476.3 MB, free: 7.406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.1278, allocations: 32 kB / 476.3 MB, free: 7.375 MB / 350.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 (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.001188/0.129, allocations: 0.4965 MB / 476.8 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001992/0.1292, allocations: 63.91 kB / 476.8 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1292, allocations: 0 / 476.8 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.522e-05/0.1293, allocations: 27.92 kB / 476.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.1296, allocations: 31.97 kB / 476.9 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004569/0.1301, allocations: 234.4 kB / 477.1 MB, free: 6.684 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.1304, allocations: 0.6926 MB / 477.8 MB, free: 5.965 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.903e-05/0.1305, allocations: 27.42 kB / 477.8 MB, free: 5.938 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1305, allocations: 0 / 477.8 MB, free: 5.938 MB / 350.1 MB Notification: Performance of Templates: time 0.00391/0.1344, allocations: 2.046 MB / 479.9 MB, free: 3.906 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches