Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.CombiTable1Dv.Test8,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.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,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.CombiTable1Dv.Test8") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 178.2 kB / 17.41 MB, free: 4.41 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.387/1.387, allocations: 225.7 MB / 243.9 MB, free: 8.438 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.0008378/0.0008379, allocations: 95.97 kB / 295.1 MB, free: 9.465 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.3492/0.3492, allocations: 44.31 MB / 390.5 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002939/0.0002939, allocations: 11.98 kB / 463.1 MB, free: 460 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2918, allocations: 61.89 MB / 0.5127 GB, free: 37.75 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.001568/0.2934, allocations: 1.268 MB / 0.514 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006772/0.2941, allocations: 457 kB / 0.5144 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.633e-05/0.2942, allocations: 2.906 kB / 0.5144 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000205/0.2944, allocations: 28 kB / 0.5144 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.2945, allocations: 29.98 kB / 0.5145 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.2948, allocations: 97 kB / 0.5146 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000118/0.2949, allocations: 58.3 kB / 0.5146 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.962e-05/0.295, allocations: 16.8 kB / 0.5146 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.269e-05/0.2951, allocations: 9.906 kB / 0.5146 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.105e-05/0.2951, allocations: 25.86 kB / 0.5147 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.2952, allocations: 0 / 0.5147 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.196e-05/0.2952, allocations: 28.94 kB / 0.5147 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.537e-05/0.2953, allocations: 13.91 kB / 0.5147 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.106e-05/0.2953, allocations: 48.89 kB / 0.5148 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.2955, allocations: 71.91 kB / 0.5148 GB, free: 36.28 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.2955, allocations: 0 / 0.5148 GB, free: 36.28 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2955, allocations: 2.469 kB / 0.5148 GB, free: 36.28 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.2955, allocations: 0 / 0.5148 GB, free: 36.28 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.0003773/0.2959, allocations: 374.2 kB / 0.5152 GB, free: 35.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.2959, allocations: 8.656 kB / 0.5152 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.686e-05/0.2959, allocations: 11.16 kB / 0.5152 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.2961, allocations: 188.2 kB / 0.5154 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.2961, allocations: 8.375 kB / 0.5154 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.2961, allocations: 3.438 kB / 0.5154 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.2963, allocations: 56.41 kB / 0.5154 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.2963, allocations: 0 / 0.5154 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.2963, allocations: 0 / 0.5154 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.2963, allocations: 0 / 0.5154 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.371e-05/0.2964, allocations: 28.66 kB / 0.5155 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/0.2968, allocations: 288.5 kB / 0.5157 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.297, allocations: 50.11 kB / 0.5158 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.917e-05/0.2971, allocations: 17.23 kB / 0.5158 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.2971, allocations: 4 kB / 0.5158 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.2971, allocations: 34.56 kB / 0.5158 GB, free: 35.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.2971, allocations: 0 / 0.5158 GB, free: 35.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005239/0.2976, allocations: 162.7 kB / 0.516 GB, free: 35.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.2977, allocations: 54.03 kB / 0.5161 GB, free: 35.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.2978, allocations: 162.1 kB / 0.5162 GB, free: 35 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.457e-06/0.2978, allocations: 25.7 kB / 0.5162 GB, free: 34.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.68e-05/0.2979, allocations: 98.11 kB / 0.5163 GB, free: 34.87 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.2979, allocations: 18.5 kB / 0.5163 GB, free: 34.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.2979, allocations: 4 kB / 0.5163 GB, free: 34.85 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.485e-05/0.298, allocations: 325 kB / 0.5167 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.182e-05/0.298, allocations: 24.34 kB / 0.5167 GB, free: 34.53 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.92e-05/0.2981, allocations: 27.8 kB / 0.5167 GB, free: 34.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.2982, allocations: 70.41 kB / 0.5168 GB, free: 34.49 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.2982, allocations: 0 / 0.5168 GB, free: 34.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001571/0.2984, allocations: 89.34 kB / 0.5169 GB, free: 34.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.2984, allocations: 5.812 kB / 0.5169 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2984, allocations: 4 kB / 0.5169 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.2985, allocations: 2.844 kB / 0.5169 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.681e-05/0.2985, allocations: 16.12 kB / 0.5169 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.2985, allocations: 2.938 kB / 0.5169 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.437e-05/0.2986, allocations: 3.062 kB / 0.5169 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.2986, allocations: 6.938 kB / 0.5169 GB, free: 34.43 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 8.428e-05/0.2987, allocations: 122.3 kB / 0.517 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.2987, allocations: 10.66 kB / 0.517 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002207/0.2989, allocations: 101.2 kB / 0.5171 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.2989, allocations: 3.031 kB / 0.5171 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.299, allocations: 0 / 0.5171 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.299, allocations: 3.984 kB / 0.5171 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003377/0.2993, allocations: 364.7 kB / 0.5175 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2993, allocations: 0 / 0.5175 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.985e-05/0.2994, allocations: 14.28 kB / 0.5175 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2994, allocations: 384 / 0.5175 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.2994, allocations: 2.656 kB / 0.5175 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.2994, allocations: 11.94 kB / 0.5175 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2994, allocations: 0 / 0.5175 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.2996, allocations: 194.8 kB / 0.5177 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.429e-05/0.2996, allocations: 83.45 kB / 0.5178 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.2996, allocations: 3.281 kB / 0.5178 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.127e-05/0.2997, allocations: 13.59 kB / 0.5178 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.2998, allocations: 6.281 kB / 0.5178 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.2998, allocations: 0 / 0.5178 GB, free: 33.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.278e-05/0.2998, allocations: 119.9 kB / 0.5179 GB, free: 33.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2998, allocations: 0 / 0.5179 GB, free: 33.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002038/0.3, allocations: 12.69 kB / 0.5179 GB, free: 33.56 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.000808/0.3009, allocations: 474.7 kB / 0.5184 GB, free: 33.28 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001801/0.3011, allocations: 59.98 kB / 0.5184 GB, free: 33.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3011, allocations: 0 / 0.5184 GB, free: 33.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.168e-05/0.3011, allocations: 39.22 kB / 0.5185 GB, free: 33.26 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.3014, allocations: 17.42 kB / 0.5185 GB, free: 33.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004063/0.3019, allocations: 207 kB / 0.5187 GB, free: 33.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.3021, allocations: 0.693 MB / 0.5194 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.618e-05/0.3021, allocations: 19.09 kB / 0.5194 GB, free: 32.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.3022, allocations: 12 kB / 0.5194 GB, free: 32.38 MB / 378.7 MB Notification: Performance of SimCode: time 2.114e-06/0.3022, allocations: 3.938 kB / 0.5194 GB, free: 32.37 MB / 378.7 MB Notification: Performance of Templates: time 0.003644/0.3058, allocations: 1.054 MB / 0.5204 GB, free: 32.23 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches