Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.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.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001429/0.001429, allocations: 175.5 kB / 16.08 MB, free: 5.578 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.487/1.487, allocations: 205.6 MB / 222.4 MB, free: 8.941 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.0007217/0.0007217, allocations: 103.4 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.373/0.373, allocations: 43.67 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003022/0.0003022, allocations: 12 kB / 432.3 MB, free: 4.805 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1076, allocations: 58.85 MB / 491.2 MB, free: 9.824 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.0005524/0.1082, allocations: 228.3 kB / 491.4 MB, free: 9.602 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.1102, allocations: 1.85 MB / 493.2 MB, free: 7.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.157e-05/0.1102, allocations: 4 kB / 493.2 MB, free: 7.656 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.814e-05/0.1103, allocations: 0 / 493.2 MB, free: 7.656 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.969e-06/0.1103, allocations: 4 kB / 493.2 MB, free: 7.652 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007069/0.111, allocations: 239.5 kB / 493.5 MB, free: 7.418 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.58e-05/0.111, allocations: 7.938 kB / 493.5 MB, free: 7.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.072e-05/0.1111, allocations: 8 kB / 493.5 MB, free: 7.402 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.344e-05/0.1111, allocations: 0 / 493.5 MB, free: 7.402 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.984e-05/0.1111, allocations: 3.984 kB / 493.5 MB, free: 7.398 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.799e-06/0.1111, allocations: 0 / 493.5 MB, free: 7.398 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005856/0.1117, allocations: 467 kB / 493.9 MB, free: 6.941 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.062e-06/0.1118, allocations: 0 / 493.9 MB, free: 6.941 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.344e-05/0.1118, allocations: 37.62 kB / 494 MB, free: 6.898 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003942/0.1122, allocations: 307.3 kB / 494.3 MB, free: 6.598 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1122, allocations: 0 / 494.3 MB, free: 6.598 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1122, allocations: 0 / 494.3 MB, free: 6.598 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.297e-06/0.1122, allocations: 0 / 494.3 MB, free: 6.598 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003203/0.1125, allocations: 381.2 kB / 494.7 MB, free: 6.172 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.1126, allocations: 8.031 kB / 494.7 MB, free: 6.164 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.596e-05/0.1126, allocations: 0.9375 kB / 494.7 MB, free: 6.164 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.878e-05/0.1127, allocations: 160.4 kB / 494.8 MB, free: 5.969 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.1127, allocations: 384 / 494.8 MB, free: 5.969 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.1127, allocations: 4.375 kB / 494.8 MB, free: 5.965 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.663e-05/0.1128, allocations: 30.02 kB / 494.9 MB, free: 5.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.1128, allocations: 0 / 494.9 MB, free: 5.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.363e-06/0.1129, allocations: 0 / 494.9 MB, free: 5.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.1129, allocations: 8 kB / 494.9 MB, free: 5.922 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.904e-05/0.1129, allocations: 11.92 kB / 494.9 MB, free: 5.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000121/0.113, allocations: 145.7 kB / 495 MB, free: 5.719 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.653e-05/0.1131, allocations: 18.61 kB / 495 MB, free: 5.691 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.199e-05/0.1131, allocations: 8.797 kB / 495 MB, free: 5.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.232e-06/0.1131, allocations: 0 / 495 MB, free: 5.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.756e-05/0.1131, allocations: 60.2 kB / 495.1 MB, free: 5.605 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.1132, allocations: 4 kB / 495.1 MB, free: 5.602 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001458/0.1133, allocations: 71.39 kB / 495.2 MB, free: 5.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.1134, allocations: 81.11 kB / 495.3 MB, free: 5.422 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.696e-05/0.1134, allocations: 89.86 kB / 495.3 MB, free: 5.324 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.1134, allocations: 25.7 kB / 495.4 MB, free: 5.293 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.307e-05/0.1135, allocations: 80.14 kB / 495.4 MB, free: 5.211 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.175e-05/0.1135, allocations: 0 / 495.4 MB, free: 5.211 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.763e-06/0.1135, allocations: 0 / 495.4 MB, free: 5.211 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.1136, allocations: 311 kB / 495.7 MB, free: 4.898 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-06/0.1136, allocations: 4 kB / 495.8 MB, free: 4.895 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.222e-06/0.1136, allocations: 7.984 kB / 495.8 MB, free: 4.887 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.47e-05/0.1137, allocations: 64.27 kB / 495.8 MB, free: 4.809 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1137, allocations: 0 / 495.8 MB, free: 4.809 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.242e-05/0.1138, allocations: 59.34 kB / 495.9 MB, free: 4.738 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.1138, allocations: 41.58 kB / 495.9 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.1138, allocations: 0 / 495.9 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1138, allocations: 3.984 kB / 495.9 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.522e-06/0.1138, allocations: 4.094 kB / 495.9 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1139, allocations: 0 / 495.9 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.505e-05/0.1139, allocations: 0 / 495.9 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.1139, allocations: 4 kB / 495.9 MB, free: 4.68 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.224e-05/0.114, allocations: 135.8 kB / 496.1 MB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.306e-06/0.114, allocations: 3.938 kB / 496.1 MB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.157e-06/0.114, allocations: 3.125 kB / 496.1 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.114, allocations: 7.984 kB / 496.1 MB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.114, allocations: 0 / 496.1 MB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.114, allocations: 4 kB / 496.1 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.515e-05/0.1141, allocations: 145.7 kB / 496.2 MB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1141, allocations: 0 / 496.2 MB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.1141, allocations: 0 / 496.2 MB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.1141, allocations: 3.938 kB / 496.2 MB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.1141, allocations: 4 kB / 496.2 MB, free: 4.312 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.1141, allocations: 0 / 496.2 MB, free: 4.312 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1141, allocations: 3.938 kB / 496.2 MB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.109e-05/0.1142, allocations: 98.77 kB / 496.3 MB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.901e-05/0.1143, allocations: 81.05 kB / 496.4 MB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.1143, allocations: 3.938 kB / 496.4 MB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.355e-06/0.1143, allocations: 0 / 496.4 MB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.192e-05/0.1143, allocations: 0 / 496.4 MB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.1143, allocations: 7.984 kB / 496.4 MB, free: 4.078 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.673e-05/0.1144, allocations: 75.28 kB / 496.5 MB, free: 4.004 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1144, allocations: 0 / 496.5 MB, free: 4.004 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002761/0.1147, allocations: 64 kB / 496.6 MB, free: 3.941 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003911/0.1151, allocations: 199.6 kB / 496.8 MB, free: 3.746 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.734e-05/0.1151, allocations: 59.41 kB / 496.8 MB, free: 3.676 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1152, allocations: 0 / 496.8 MB, free: 3.676 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.513e-05/0.1152, allocations: 59.34 kB / 496.9 MB, free: 3.605 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001171/0.1153, allocations: 4 kB / 496.9 MB, free: 3.602 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001622/0.1155, allocations: 78.75 kB / 497 MB, free: 3.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.1157, allocations: 0.673 MB / 497.6 MB, free: 2.801 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.288e-06/0.1157, allocations: 0 / 497.6 MB, free: 2.801 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.113e-06/0.1157, allocations: 11.56 kB / 497.6 MB, free: 2.793 MB / 378.7 MB Notification: Performance of SimCode: time 1.583e-06/0.1158, allocations: 4 kB / 497.6 MB, free: 2.789 MB / 378.7 MB Notification: Performance of Templates: time 0.003302/0.1191, allocations: 1.272 MB / 498.9 MB, free: 1.52 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatrices/TestMatrices.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches