Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001377/0.001377, allocations: 170.4 kB / 16.07 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.6 MB / 222.4 MB, free: 8.855 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007001/0.0007002, allocations: 95.5 kB / 270.8 MB, free: 8.109 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3112/0.3112, allocations: 43.67 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004089/0.0004088, allocations: 12 kB / 432.3 MB, free: 5.023 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1334, allocations: 58.85 MB / 491.2 MB, free: 10.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.001965/0.1354, allocations: 1.278 MB / 492.4 MB, free: 8.758 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007707/0.1362, allocations: 396.9 kB / 492.8 MB, free: 8.348 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.829e-05/0.1363, allocations: 0 / 492.8 MB, free: 8.348 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005378/0.1369, allocations: 451.2 kB / 493.3 MB, free: 7.906 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003398/0.1372, allocations: 247.5 kB / 493.5 MB, free: 7.664 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.1376, allocations: 139.8 kB / 493.6 MB, free: 7.527 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002602/0.1379, allocations: 163.6 kB / 493.8 MB, free: 7.367 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.138, allocations: 12.17 kB / 493.8 MB, free: 7.355 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.1382, allocations: 99.78 kB / 493.9 MB, free: 7.258 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002341/0.1384, allocations: 207.6 kB / 494.1 MB, free: 7.055 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.1385, allocations: 0 / 494.1 MB, free: 7.055 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.665e-05/0.1386, allocations: 19.98 kB / 494.1 MB, free: 7.035 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.1387, allocations: 87.62 kB / 494.2 MB, free: 6.949 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.1388, allocations: 124.8 kB / 494.3 MB, free: 6.82 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.1391, allocations: 231.3 kB / 494.6 MB, free: 6.594 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1391, allocations: 0 / 494.6 MB, free: 6.594 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1391, allocations: 0 / 494.6 MB, free: 6.594 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.647e-06/0.1391, allocations: 0 / 494.6 MB, free: 6.594 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007263/0.1398, allocations: 0.5988 MB / 495.2 MB, free: 5.945 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.1399, allocations: 8.031 kB / 495.2 MB, free: 5.938 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.698e-05/0.1399, allocations: 40.47 kB / 495.2 MB, free: 5.898 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.1403, allocations: 300.1 kB / 495.5 MB, free: 5.566 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.735e-06/0.1403, allocations: 384 / 495.5 MB, free: 5.566 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.1403, allocations: 4.375 kB / 495.5 MB, free: 5.562 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.1405, allocations: 57.62 kB / 495.6 MB, free: 5.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1405, allocations: 7.969 kB / 495.6 MB, free: 5.492 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1405, allocations: 4 kB / 495.6 MB, free: 5.488 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1405, allocations: 4 kB / 495.6 MB, free: 5.484 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.1407, allocations: 35.97 kB / 495.6 MB, free: 5.449 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004938/0.1412, allocations: 396.8 kB / 496 MB, free: 5.012 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.1413, allocations: 46.55 kB / 496.1 MB, free: 4.957 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.623e-05/0.1414, allocations: 32.94 kB / 496.1 MB, free: 4.922 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.1414, allocations: 0 / 496.1 MB, free: 4.922 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.1414, allocations: 34.56 kB / 496.1 MB, free: 4.879 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.1414, allocations: 0 / 496.1 MB, free: 4.879 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003296/0.1418, allocations: 145 kB / 496.3 MB, free: 4.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.1418, allocations: 51.41 kB / 496.3 MB, free: 4.668 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007853/0.1426, allocations: 0.8496 MB / 497.2 MB, free: 3.809 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.1426, allocations: 29.64 kB / 497.2 MB, free: 3.773 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.1428, allocations: 216.1 kB / 497.4 MB, free: 3.559 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.1429, allocations: 7.812 kB / 497.4 MB, free: 3.551 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.1429, allocations: 0 / 497.4 MB, free: 3.551 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.143, allocations: 366.7 kB / 497.8 MB, free: 3.184 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.978e-05/0.1431, allocations: 19.98 kB / 497.8 MB, free: 3.164 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.78e-05/0.1432, allocations: 19.98 kB / 497.8 MB, free: 3.145 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.1433, allocations: 60.81 kB / 497.9 MB, free: 3.082 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.1433, allocations: 0 / 497.9 MB, free: 3.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001973/0.1435, allocations: 113.1 kB / 498 MB, free: 2.965 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1435, allocations: 4 kB / 498 MB, free: 2.961 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1435, allocations: 0 / 498 MB, free: 2.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.1436, allocations: 8 kB / 498 MB, free: 2.953 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.1437, allocations: 11.98 kB / 498 MB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1437, allocations: 3.984 kB / 498 MB, free: 2.938 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.64e-05/0.1438, allocations: 11.88 kB / 498 MB, free: 2.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.1438, allocations: 0 / 498 MB, free: 2.926 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001744/0.144, allocations: 217.7 kB / 498.2 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.908e-05/0.144, allocations: 39.44 kB / 498.3 MB, free: 2.664 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002575/0.1443, allocations: 140.9 kB / 498.4 MB, free: 2.516 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1443, allocations: 0 / 498.4 MB, free: 2.516 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1443, allocations: 0 / 498.4 MB, free: 2.516 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1443, allocations: 4 kB / 498.4 MB, free: 2.512 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.1446, allocations: 289.5 kB / 498.7 MB, free: 2.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1446, allocations: 0 / 498.7 MB, free: 2.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.036e-05/0.1447, allocations: 16.36 kB / 498.7 MB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1447, allocations: 4 kB / 498.7 MB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.1447, allocations: 0 / 498.7 MB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1447, allocations: 0 / 498.7 MB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1447, allocations: 0 / 498.7 MB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.1449, allocations: 219 kB / 498.9 MB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.263e-05/0.145, allocations: 112.5 kB / 499 MB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.1451, allocations: 0 / 499 MB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.155e-05/0.1451, allocations: 7.984 kB / 499 MB, free: 1.793 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.1452, allocations: 4 kB / 499 MB, free: 1.789 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.1452, allocations: 3.938 kB / 499 MB, free: 1.785 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005909/0.1458, allocations: 0.6433 MB / 499.7 MB, free: 1.145 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1458, allocations: 0 / 499.7 MB, free: 1.145 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002276/0.146, allocations: 27.98 kB / 499.7 MB, free: 1.117 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.000755/0.1468, allocations: 395.4 kB / 0.4884 GB, free: 0.8359 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.147, allocations: 55.95 kB / 0.4884 GB, free: 0.7812 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.147, allocations: 0 / 0.4884 GB, free: 0.7812 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.827e-05/0.1471, allocations: 31.92 kB / 0.4885 GB, free: 0.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.1475, allocations: 17.95 kB / 0.4885 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1616/0.309, allocations: 0.8552 MB / 0.4893 GB, free: 43.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.3093, allocations: 0.8202 MB / 0.4901 GB, free: 42.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.775e-05/0.3094, allocations: 14.95 kB / 0.4901 GB, free: 42.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/0.3095, allocations: 10.66 kB / 0.4901 GB, free: 42.77 MB / 378.7 MB Notification: Performance of SimCode: time 1.172e-06/0.3095, allocations: 0 / 0.4901 GB, free: 42.77 MB / 378.7 MB Notification: Performance of Templates: time 0.004055/0.3135, allocations: 1.211 MB / 0.4913 GB, free: 42.74 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches