Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001273, allocations: 177.9 kB / 17.41 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 225.7 MB / 243.9 MB, free: 8.516 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007514/0.0007515, allocations: 93.19 kB / 295.1 MB, free: 9.52 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3219/0.3219, allocations: 44.32 MB / 390.5 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003327/0.0003327, allocations: 11.98 kB / 463.2 MB, free: 472 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3138, allocations: 61.89 MB / 0.5127 GB, free: 37.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.001499/0.3154, allocations: 1.266 MB / 0.514 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005635/0.316, allocations: 452.1 kB / 0.5144 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.67e-05/0.316, allocations: 0 / 0.5144 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.3162, allocations: 28.52 kB / 0.5144 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.3163, allocations: 33.67 kB / 0.5145 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.3165, allocations: 76.72 kB / 0.5145 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.3167, allocations: 59.59 kB / 0.5146 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.414e-05/0.3168, allocations: 12.16 kB / 0.5146 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.104e-05/0.3168, allocations: 16.61 kB / 0.5146 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.551e-05/0.3169, allocations: 20.89 kB / 0.5146 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.3169, allocations: 2.625 kB / 0.5146 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.902e-05/0.3169, allocations: 23.33 kB / 0.5147 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.467e-05/0.317, allocations: 16.83 kB / 0.5147 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.59e-05/0.317, allocations: 51 kB / 0.5147 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.3172, allocations: 76.48 kB / 0.5148 GB, free: 36.49 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3172, allocations: 4 kB / 0.5148 GB, free: 36.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3172, allocations: 0 / 0.5148 GB, free: 36.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.3172, allocations: 0 / 0.5148 GB, free: 36.48 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.0003367/0.3175, allocations: 372.5 kB / 0.5152 GB, free: 36.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.3176, allocations: 8.625 kB / 0.5152 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.498e-05/0.3176, allocations: 7.656 kB / 0.5152 GB, free: 36.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.3177, allocations: 199.3 kB / 0.5154 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.3178, allocations: 384 / 0.5154 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.3178, allocations: 8.312 kB / 0.5154 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.3179, allocations: 56.61 kB / 0.5154 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.3179, allocations: 2.562 kB / 0.5154 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.3179, allocations: 0 / 0.5154 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3179, allocations: 0 / 0.5154 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.39e-05/0.318, allocations: 26.72 kB / 0.5155 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002959/0.3183, allocations: 284.7 kB / 0.5157 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.3185, allocations: 44.69 kB / 0.5158 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.733e-05/0.3186, allocations: 20.52 kB / 0.5158 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.3186, allocations: 0 / 0.5158 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.473e-05/0.3186, allocations: 41.16 kB / 0.5158 GB, free: 35.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.3186, allocations: 0 / 0.5158 GB, free: 35.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000497/0.3191, allocations: 153.5 kB / 0.516 GB, free: 35.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.3192, allocations: 54.22 kB / 0.516 GB, free: 35.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.3193, allocations: 166.4 kB / 0.5162 GB, free: 35.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.3193, allocations: 29.7 kB / 0.5162 GB, free: 35.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.777e-05/0.3194, allocations: 97.16 kB / 0.5163 GB, free: 35.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.3194, allocations: 15.05 kB / 0.5163 GB, free: 35.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-06/0.3194, allocations: 7.031 kB / 0.5163 GB, free: 35.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.415e-05/0.3195, allocations: 318.8 kB / 0.5166 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.559e-05/0.3196, allocations: 25.39 kB / 0.5167 GB, free: 34.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.278e-05/0.3196, allocations: 21.94 kB / 0.5167 GB, free: 34.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.3197, allocations: 61.14 kB / 0.5167 GB, free: 34.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-07/0.3197, allocations: 0 / 0.5167 GB, free: 34.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000162/0.3199, allocations: 87.47 kB / 0.5168 GB, free: 34.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.3199, allocations: 2.906 kB / 0.5168 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3199, allocations: 3.984 kB / 0.5168 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.32, allocations: 3.062 kB / 0.5168 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.926e-05/0.32, allocations: 18.98 kB / 0.5168 GB, free: 34.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.32, allocations: 0 / 0.5168 GB, free: 34.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.555e-05/0.3201, allocations: 2.969 kB / 0.5169 GB, free: 34.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.3201, allocations: 2.938 kB / 0.5169 GB, free: 34.65 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 7.158e-05/0.3202, allocations: 122.9 kB / 0.517 GB, free: 34.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.3202, allocations: 7 kB / 0.517 GB, free: 34.53 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002106/0.3204, allocations: 108.9 kB / 0.5171 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.3204, allocations: 64 / 0.5171 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.3204, allocations: 4 kB / 0.5171 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3204, allocations: 0 / 0.5171 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003226/0.3208, allocations: 361.2 kB / 0.5174 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3208, allocations: 0 / 0.5174 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.876e-05/0.3208, allocations: 11.22 kB / 0.5174 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.3208, allocations: 3.938 kB / 0.5174 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.3209, allocations: 9.797 kB / 0.5175 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.3209, allocations: 3.938 kB / 0.5175 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3209, allocations: 0 / 0.5175 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.321, allocations: 184.6 kB / 0.5176 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.476e-05/0.3211, allocations: 83.86 kB / 0.5177 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.3211, allocations: 0 / 0.5177 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.445e-05/0.3212, allocations: 19.91 kB / 0.5177 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.3212, allocations: 5.641 kB / 0.5177 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.3212, allocations: 6.844 kB / 0.5177 GB, free: 33.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.006e-05/0.3213, allocations: 124 kB / 0.5179 GB, free: 33.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3213, allocations: 0 / 0.5179 GB, free: 33.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002091/0.3215, allocations: 20.86 kB / 0.5179 GB, free: 33.77 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.0008727/0.3224, allocations: 465.1 kB / 0.5183 GB, free: 33.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001722/0.3226, allocations: 52.36 kB / 0.5184 GB, free: 33.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3226, allocations: 1.094 kB / 0.5184 GB, free: 33.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.179e-05/0.3227, allocations: 30.77 kB / 0.5184 GB, free: 33.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.323, allocations: 13.45 kB / 0.5184 GB, free: 33.47 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003544/0.3234, allocations: 214 kB / 0.5186 GB, free: 33.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.3235, allocations: 0.6965 MB / 0.5193 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.077e-05/0.3235, allocations: 12.27 kB / 0.5193 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.418e-05/0.3236, allocations: 11.56 kB / 0.5193 GB, free: 32.59 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.3236, allocations: 0 / 0.5193 GB, free: 32.59 MB / 378.7 MB Notification: Performance of Templates: time 0.003356/0.3269, allocations: 1.036 MB / 0.5203 GB, free: 32.45 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches