Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.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.CombiTable1D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2") translateModel(ModelicaTest.Tables.CombiTable1D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001163/0.001163, allocations: 172.1 kB / 16.08 MB, free: 5.699 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.242/1.242, allocations: 205.6 MB / 222.4 MB, free: 8.922 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.0007521/0.0007522, allocations: 91.02 kB / 270.8 MB, free: 8.121 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.2966/0.2966, allocations: 43.66 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002838/0.0002838, allocations: 12 kB / 432.3 MB, free: 5.016 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09197/0.09227, allocations: 58.84 MB / 491.2 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test2): time 0.00167/0.09397, allocations: 1.263 MB / 492.4 MB, free: 8.77 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006267/0.09461, allocations: 388.9 kB / 492.8 MB, free: 8.367 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.802e-05/0.09467, allocations: 3.938 kB / 492.8 MB, free: 8.363 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001582/0.09483, allocations: 11.94 kB / 492.8 MB, free: 8.352 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.09497, allocations: 31.91 kB / 492.8 MB, free: 8.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.09522, allocations: 87.81 kB / 492.9 MB, free: 8.234 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000109/0.09534, allocations: 47.91 kB / 493 MB, free: 8.188 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.347e-05/0.09543, allocations: 11.98 kB / 493 MB, free: 8.176 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.326e-05/0.09548, allocations: 23.86 kB / 493 MB, free: 8.152 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.626e-05/0.09554, allocations: 15.86 kB / 493 MB, free: 8.137 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.09556, allocations: 4 kB / 493 MB, free: 8.133 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.922e-05/0.09563, allocations: 27.98 kB / 493.1 MB, free: 8.105 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.085e-05/0.09568, allocations: 11.94 kB / 493.1 MB, free: 8.094 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.353e-05/0.09573, allocations: 41.58 kB / 493.1 MB, free: 8.047 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.09587, allocations: 75.98 kB / 493.2 MB, free: 7.973 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.09588, allocations: 4 kB / 493.2 MB, free: 7.969 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.09589, allocations: 0 / 493.2 MB, free: 7.969 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.0959, allocations: 0 / 493.2 MB, free: 7.969 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.0003722/0.09628, allocations: 363.3 kB / 493.5 MB, free: 7.566 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.09632, allocations: 12.03 kB / 493.6 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.521e-05/0.09635, allocations: 8.844 kB / 493.6 MB, free: 7.547 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.09651, allocations: 188.2 kB / 493.8 MB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.881e-06/0.09652, allocations: 384 / 493.8 MB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.09655, allocations: 4.375 kB / 493.8 MB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.09667, allocations: 61.81 kB / 493.8 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.0967, allocations: 7.891 kB / 493.8 MB, free: 7.246 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.09671, allocations: 0 / 493.8 MB, free: 7.246 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.09672, allocations: 0 / 493.8 MB, free: 7.246 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.506e-05/0.09682, allocations: 31.98 kB / 493.9 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003373/0.09716, allocations: 284.8 kB / 494.1 MB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.09735, allocations: 46.66 kB / 494.2 MB, free: 6.832 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.299e-05/0.09741, allocations: 20.84 kB / 494.2 MB, free: 6.809 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.09744, allocations: 0 / 494.2 MB, free: 6.809 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.09746, allocations: 30.56 kB / 494.2 MB, free: 6.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.09747, allocations: 0 / 494.2 MB, free: 6.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005062/0.09798, allocations: 169.3 kB / 494.4 MB, free: 6.598 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.09802, allocations: 51.41 kB / 494.4 MB, free: 6.535 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.09815, allocations: 142 kB / 494.6 MB, free: 6.383 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.09817, allocations: 25.7 kB / 494.6 MB, free: 6.352 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.441e-05/0.09822, allocations: 100.1 kB / 494.7 MB, free: 6.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.09825, allocations: 19.73 kB / 494.7 MB, free: 6.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.138e-05/0.09826, allocations: 4 kB / 494.7 MB, free: 6.227 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.09838, allocations: 322.7 kB / 495 MB, free: 5.902 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.559e-05/0.09846, allocations: 23.98 kB / 495.1 MB, free: 5.879 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.69e-05/0.09853, allocations: 31.92 kB / 495.1 MB, free: 5.848 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.0987, allocations: 60.83 kB / 495.2 MB, free: 5.785 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.09871, allocations: 0 / 495.2 MB, free: 5.785 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002112/0.09893, allocations: 97.56 kB / 495.3 MB, free: 5.684 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.09895, allocations: 7.938 kB / 495.3 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.09896, allocations: 0 / 495.3 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.09898, allocations: 0 / 495.3 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.674e-05/0.09906, allocations: 15.98 kB / 495.3 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.09907, allocations: 0 / 495.3 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.78e-05/0.09913, allocations: 4 kB / 495.3 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.09914, allocations: 11.94 kB / 495.3 MB, free: 5.645 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 (5): * Single equations (assignments): 5 * 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 9.192e-05/0.09924, allocations: 121.8 kB / 495.4 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.09928, allocations: 7.906 kB / 495.4 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000276/0.09956, allocations: 102.3 kB / 495.5 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.09958, allocations: 4 kB / 495.5 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.09959, allocations: 8 kB / 495.5 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.0996, allocations: 0 / 495.5 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004698/0.1001, allocations: 358.4 kB / 495.9 MB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1001, allocations: 0 / 495.9 MB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.331e-05/0.1002, allocations: 19.98 kB / 495.9 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.1002, allocations: 0 / 495.9 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.1002, allocations: 8 kB / 495.9 MB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.1002, allocations: 3.938 kB / 495.9 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1002, allocations: 0 / 495.9 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.1005, allocations: 191.4 kB / 496.1 MB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.362e-05/0.1005, allocations: 85.02 kB / 496.2 MB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.1006, allocations: 0 / 496.2 MB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.842e-05/0.1007, allocations: 15.92 kB / 496.2 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.1007, allocations: 4 kB / 496.2 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-06/0.1007, allocations: 0 / 496.2 MB, free: 4.625 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.826e-05/0.1008, allocations: 115.8 kB / 496.3 MB, free: 4.512 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1008, allocations: 0 / 496.3 MB, free: 4.512 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002653/0.1011, allocations: 24 kB / 496.3 MB, free: 4.488 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 (5): * Single equations (assignments): 5 * 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.0009578/0.1021, allocations: 453.9 kB / 496.8 MB, free: 4.164 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.1023, allocations: 51.97 kB / 496.8 MB, free: 4.113 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1023, allocations: 0 / 496.8 MB, free: 4.113 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.706e-05/0.1024, allocations: 43.91 kB / 496.9 MB, free: 4.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.1028, allocations: 15.59 kB / 496.9 MB, free: 4.059 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003713/0.1032, allocations: 195.4 kB / 497.1 MB, free: 3.844 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.1034, allocations: 0.7004 MB / 497.8 MB, free: 3.117 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.722e-05/0.1035, allocations: 19.95 kB / 497.8 MB, free: 3.098 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.826e-05/0.1035, allocations: 11.44 kB / 497.8 MB, free: 3.09 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.1035, allocations: 0 / 497.8 MB, free: 3.09 MB / 378.7 MB Notification: Performance of Templates: time 0.003459/0.107, allocations: 1.022 MB / 498.8 MB, free: 2.07 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches