Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 109.4 kB / 17.21 MB, free: 6.27 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.001361/0.001361, allocations: 194 kB / 18.12 MB, free: 5.363 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.425/1.425, allocations: 222.9 MB / 241.8 MB, free: 13.85 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.2366/0.2366, allocations: 44.17 MB / 336.1 MB, free: 2.82 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 68.19 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1313, allocations: 60.82 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002743/0.1341, allocations: 1.709 MB / 470.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.1354, allocations: 0.8497 MB / 471.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.613e-05/0.1355, allocations: 4 kB / 471.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002765/0.1358, allocations: 55.8 kB / 471.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.1359, allocations: 59.81 kB / 471.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.1362, allocations: 90.58 kB / 471.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.1363, allocations: 91.69 kB / 471.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.966e-05/0.1363, allocations: 8 kB / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.587e-05/0.1364, allocations: 43.78 kB / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.037e-05/0.1365, allocations: 47.77 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.1365, allocations: 0 / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.602e-05/0.1366, allocations: 27.98 kB / 471.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.687e-05/0.1367, allocations: 19.92 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.468e-05/0.1367, allocations: 31.78 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.1369, allocations: 99.94 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1369, allocations: 0 / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.1369, allocations: 0 / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.1369, allocations: 0 / 471.7 MB, free: 11.7 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.0004616/0.1374, allocations: 409.6 kB / 472.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.1374, allocations: 8.031 kB / 472.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.1375, allocations: 8.844 kB / 472.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.1377, allocations: 204.1 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.1377, allocations: 8.375 kB / 472.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.1377, allocations: 4.125 kB / 472.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.1378, allocations: 49.62 kB / 472.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1378, allocations: 3.984 kB / 472.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.1378, allocations: 4 kB / 472.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1379, allocations: 0 / 472.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.884e-05/0.1379, allocations: 15.94 kB / 472.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.1381, allocations: 185.5 kB / 472.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.1383, allocations: 54.61 kB / 472.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.328e-05/0.1383, allocations: 24.78 kB / 472.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.1384, allocations: 8 kB / 472.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.1385, allocations: 59.39 kB / 472.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.1385, allocations: 0 / 472.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002599/0.1388, allocations: 93.52 kB / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.1388, allocations: 55.41 kB / 472.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.139, allocations: 190.1 kB / 473 MB, free: 10.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.139, allocations: 29.7 kB / 473 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.191e-05/0.1391, allocations: 96.14 kB / 473.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.1391, allocations: 19.8 kB / 473.2 MB, free: 10 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.1392, allocations: 21.72 kB / 473.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1393, allocations: 322.8 kB / 473.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.735e-05/0.1393, allocations: 15.94 kB / 473.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.526e-05/0.1394, allocations: 29.69 kB / 473.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.1395, allocations: 53.64 kB / 473.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.1395, allocations: 0 / 473.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001425/0.1397, allocations: 85.47 kB / 473.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1397, allocations: 8 kB / 473.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1397, allocations: 0 / 473.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1397, allocations: 0 / 473.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.312e-05/0.1398, allocations: 11.98 kB / 473.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.1398, allocations: 0 / 473.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.187e-05/0.1399, allocations: 8.344 kB / 473.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.1399, allocations: 4 kB / 473.7 MB, free: 9.418 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 8.702e-05/0.14, allocations: 125.8 kB / 473.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.14, allocations: 7.906 kB / 473.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.266e-05/0.14, allocations: 16.31 kB / 473.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.14, allocations: 0 / 473.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.14, allocations: 0 / 473.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.14, allocations: 3.938 kB / 473.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.1402, allocations: 197.5 kB / 474 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1402, allocations: 4 kB / 474 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.065e-05/0.1402, allocations: 7.938 kB / 474.1 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1402, allocations: 3.984 kB / 474.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.1402, allocations: 0 / 474.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1402, allocations: 4 kB / 474.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1402, allocations: 0 / 474.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.1404, allocations: 109 kB / 474.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-05/0.1405, allocations: 84.95 kB / 474.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.1405, allocations: 8 kB / 474.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.588e-05/0.1405, allocations: 3.984 kB / 474.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-05/0.1406, allocations: 4 kB / 474.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.1406, allocations: 0 / 474.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001088/0.1407, allocations: 143.2 kB / 474.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1407, allocations: 0 / 474.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002007/0.1409, allocations: 16 kB / 474.4 MB, free: 8.594 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.0008562/0.1418, allocations: 411.9 kB / 474.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001513/0.1419, allocations: 43.92 kB / 474.9 MB, free: 8.297 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.142, allocations: 0 / 474.9 MB, free: 8.297 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.941e-05/0.142, allocations: 19.98 kB / 474.9 MB, free: 8.277 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.1423, allocations: 29.75 kB / 474.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003478/0.1426, allocations: 219.7 kB / 475.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.1429, allocations: 0.6965 MB / 475.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.504e-05/0.1429, allocations: 12.55 kB / 475.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.748e-05/0.143, allocations: 11.44 kB / 475.9 MB, free: 7.262 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.143, allocations: 0 / 475.9 MB, free: 7.262 MB / 350.1 MB Notification: Performance of Templates: time 0.003689/0.1467, allocations: 1.433 MB / 477.3 MB, free: 5.844 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches