Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 97.91 kB / 16.93 MB, free: 5.805 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.001193/0.001193, allocations: 187.3 kB / 17.86 MB, free: 5.18 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.403/1.403, allocations: 205.1 MB / 223.7 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2086/0.2086, allocations: 43.53 MB / 314.6 MB, free: 0.543 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.002173/0.002173, allocations: 71.36 kB / 383.4 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.13, allocations: 57.78 MB / 441.2 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002668/0.1327, allocations: 1.703 MB / 442.9 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.1337, allocations: 0.7961 MB / 443.7 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.446e-05/0.1338, allocations: 3.938 kB / 443.7 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002909/0.1341, allocations: 47.81 kB / 443.7 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001791/0.1343, allocations: 51.7 kB / 443.8 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.1345, allocations: 83.75 kB / 443.9 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.1347, allocations: 95.7 kB / 444 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.133e-05/0.1348, allocations: 8.516 kB / 444 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.131e-05/0.1348, allocations: 43.8 kB / 444 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.568e-05/0.1349, allocations: 35.83 kB / 444.1 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.1349, allocations: 4 kB / 444.1 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.213e-05/0.135, allocations: 36 kB / 444.1 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.331e-05/0.1351, allocations: 27.84 kB / 444.1 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.596e-05/0.1351, allocations: 35.73 kB / 444.2 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.1353, allocations: 111.6 kB / 444.3 MB, free: 3.832 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1353, allocations: 0 / 444.3 MB, free: 3.832 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1353, allocations: 0 / 444.3 MB, free: 3.832 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.1353, allocations: 0 / 444.3 MB, free: 3.832 MB / 318.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.0004749/0.1358, allocations: 415 kB / 444.7 MB, free: 3.379 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.1358, allocations: 11.89 kB / 444.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.056e-05/0.1359, allocations: 12.83 kB / 444.7 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.1361, allocations: 201 kB / 444.9 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.1361, allocations: 384 / 444.9 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.1361, allocations: 16.06 kB / 444.9 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.1363, allocations: 49.67 kB / 445 MB, free: 3.051 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.1363, allocations: 0 / 445 MB, free: 3.051 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.1363, allocations: 7.984 kB / 445 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.1363, allocations: 4 kB / 445 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.624e-05/0.1364, allocations: 19.98 kB / 445 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002849/0.1367, allocations: 288.8 kB / 445.3 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.1368, allocations: 58.62 kB / 445.3 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.478e-05/0.1369, allocations: 20.84 kB / 445.3 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.1369, allocations: 8 kB / 445.4 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/0.1371, allocations: 67.33 kB / 445.4 MB, free: 2.512 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1371, allocations: 0 / 445.4 MB, free: 2.512 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004963/0.1376, allocations: 173.1 kB / 445.6 MB, free: 2.336 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.1376, allocations: 51.41 kB / 445.6 MB, free: 2.273 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.1378, allocations: 194.1 kB / 445.8 MB, free: 2.074 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.1378, allocations: 29.7 kB / 445.9 MB, free: 2.039 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.518e-05/0.1378, allocations: 96.14 kB / 445.9 MB, free: 1.941 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.1379, allocations: 23.7 kB / 446 MB, free: 1.918 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/0.1379, allocations: 25.72 kB / 446 MB, free: 1.887 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.803e-05/0.138, allocations: 326.8 kB / 446.3 MB, free: 1.559 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.324e-05/0.138, allocations: 31.86 kB / 446.3 MB, free: 1.527 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.207e-05/0.1381, allocations: 34.08 kB / 446.4 MB, free: 1.488 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.115e-05/0.1382, allocations: 57.7 kB / 446.4 MB, free: 1.426 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1382, allocations: 0 / 446.4 MB, free: 1.426 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001515/0.1383, allocations: 109.5 kB / 446.5 MB, free: 1.312 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1384, allocations: 5.25 kB / 446.5 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1384, allocations: 3.984 kB / 446.6 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1384, allocations: 4 kB / 446.6 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.143e-05/0.1385, allocations: 15.98 kB / 446.6 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.1385, allocations: 0 / 446.6 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.232e-05/0.1385, allocations: 11.97 kB / 446.6 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.1386, allocations: 0 / 446.6 MB, free: 1.273 MB / 318.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 7.844e-05/0.1386, allocations: 137.7 kB / 446.7 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.922e-05/0.1387, allocations: 11.81 kB / 446.7 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.921e-05/0.1387, allocations: 12.72 kB / 446.7 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1387, allocations: 0 / 446.7 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1387, allocations: 4 kB / 446.7 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1387, allocations: 7.922 kB / 446.8 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003151/0.1391, allocations: 395.3 kB / 447.1 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1391, allocations: 0 / 447.1 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.729e-05/0.1391, allocations: 8 kB / 447.1 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1391, allocations: 0 / 447.1 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.1391, allocations: 7.938 kB / 447.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1391, allocations: 0 / 447.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1391, allocations: 0 / 447.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.1393, allocations: 204.3 kB / 447.4 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.554e-05/0.1393, allocations: 92.94 kB / 447.4 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.1394, allocations: 3.938 kB / 447.4 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.377e-05/0.1394, allocations: 4 kB / 447.5 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.1395, allocations: 11.98 kB / 447.5 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.1395, allocations: 4 kB / 447.5 MB, free: 280 kB / 318.1 MB Notification: Performance of sorting global known variables: time 7.895e-05/0.1396, allocations: 135.2 kB / 447.6 MB, free: 144 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1396, allocations: 4 kB / 447.6 MB, free: 140 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.000368/0.14, allocations: 31.89 kB / 447.6 MB, free: 108 kB / 318.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.001232/0.1412, allocations: 462.5 kB / 448.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001888/0.1414, allocations: 67.91 kB / 448.2 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1414, allocations: 0 / 448.2 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.163e-05/0.1415, allocations: 31.92 kB / 448.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.1418, allocations: 27.92 kB / 448.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007088/0.1426, allocations: 261.1 kB / 448.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.1429, allocations: 0.704 MB / 449.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.996e-05/0.143, allocations: 15.44 kB / 449.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.143, allocations: 0 / 449.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of Templates: time 0.004456/0.1475, allocations: 1.898 MB / 451.1 MB, free: 12.69 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches