Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.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.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009394/0.0009391, allocations: 174 kB / 16.08 MB, free: 5.727 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.396/1.396, allocations: 205.6 MB / 222.4 MB, free: 8.938 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.0008328/0.000833, allocations: 86.61 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.3731/0.3731, allocations: 43.67 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003177/0.0003178, allocations: 8 kB / 432.3 MB, free: 5.02 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1209, allocations: 58.85 MB / 491.2 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.0006347/0.1216, allocations: 228.3 kB / 491.4 MB, free: 9.816 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002792/0.1244, allocations: 2.564 MB / 493.9 MB, free: 7.086 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.958e-06/0.1244, allocations: 0 / 493.9 MB, free: 7.086 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.697e-06/0.1244, allocations: 0 / 493.9 MB, free: 7.086 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 1.322e-06/0.1244, allocations: 0 / 493.9 MB, free: 7.086 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.1258, allocations: 474.7 kB / 494.4 MB, free: 6.625 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 1.46e-05/0.1258, allocations: 0 / 494.4 MB, free: 6.625 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.707e-05/0.1258, allocations: 0 / 494.4 MB, free: 6.625 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.071e-05/0.1259, allocations: 0 / 494.4 MB, free: 6.625 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.457e-05/0.1259, allocations: 0 / 494.4 MB, free: 6.625 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.148e-06/0.1259, allocations: 0 / 494.4 MB, free: 6.625 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.1271, allocations: 0.8303 MB / 495.2 MB, free: 5.793 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.094e-06/0.1271, allocations: 4 kB / 495.2 MB, free: 5.789 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.695e-05/0.1272, allocations: 29.7 kB / 495.3 MB, free: 5.754 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008813/0.128, allocations: 0.7796 MB / 496 MB, free: 4.973 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1281, allocations: 4 kB / 496 MB, free: 4.969 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1281, allocations: 0 / 496 MB, free: 4.969 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.1281, allocations: 0 / 496 MB, free: 4.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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003122/0.1284, allocations: 375.6 kB / 496.4 MB, free: 4.555 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1284, allocations: 8.031 kB / 496.4 MB, free: 4.547 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.033e-05/0.1285, allocations: 76.22 kB / 496.5 MB, free: 4.473 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.1286, allocations: 239.7 kB / 496.7 MB, free: 4.199 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.773e-05/0.1287, allocations: 154.9 kB / 496.9 MB, free: 4.047 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.574e-05/0.1287, allocations: 150.9 kB / 497 MB, free: 3.898 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.784e-05/0.1288, allocations: 113.3 kB / 497.1 MB, free: 3.781 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/0.1288, allocations: 79.27 kB / 497.2 MB, free: 3.703 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.71e-05/0.1289, allocations: 158.4 kB / 497.4 MB, free: 3.547 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-05/0.1289, allocations: 154.6 kB / 497.5 MB, free: 3.395 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.586e-05/0.129, allocations: 150.6 kB / 497.7 MB, free: 3.246 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002274/0.1292, allocations: 441.9 kB / 498.1 MB, free: 2.766 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.8e-05/0.1293, allocations: 173.1 kB / 498.3 MB, free: 2.586 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.172e-05/0.1293, allocations: 84.14 kB / 498.4 MB, free: 2.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.1294, allocations: 75.28 kB / 498.4 MB, free: 2.426 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.244e-05/0.1294, allocations: 109.8 kB / 498.5 MB, free: 2.309 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.1294, allocations: 0 / 498.5 MB, free: 2.309 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 6.127e-05/0.1295, allocations: 33.62 kB / 498.6 MB, free: 2.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/0.1296, allocations: 156.4 kB / 498.7 MB, free: 2.098 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.84e-05/0.1296, allocations: 93.86 kB / 498.8 MB, free: 1.996 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.1296, allocations: 25.7 kB / 498.8 MB, free: 1.965 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.091e-05/0.1296, allocations: 84.14 kB / 498.9 MB, free: 1.879 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-06/0.1297, allocations: 3.984 kB / 498.9 MB, free: 1.875 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-07/0.1297, allocations: 0 / 498.9 MB, free: 1.875 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.047e-05/0.1298, allocations: 310.8 kB / 499.2 MB, free: 1.562 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.427e-06/0.1298, allocations: 0 / 499.2 MB, free: 1.562 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.647e-05/0.1298, allocations: 0 / 499.2 MB, free: 1.562 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.263e-05/0.1298, allocations: 79.28 kB / 499.3 MB, free: 1.484 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.388e-05/0.1298, allocations: 79.31 kB / 499.4 MB, free: 1.406 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.612e-05/0.1299, allocations: 29.64 kB / 499.4 MB, free: 1.371 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.1299, allocations: 87.22 kB / 499.5 MB, free: 1.285 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.742e-05/0.13, allocations: 75.28 kB / 499.6 MB, free: 1.211 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.218e-05/0.13, allocations: 154.5 kB / 499.7 MB, free: 1.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.528e-05/0.1301, allocations: 83.2 kB / 499.8 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.997e-05/0.1301, allocations: 162.6 kB / 500 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.754e-05/0.1302, allocations: 83.22 kB / 0.4883 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.1302, allocations: 75.28 kB / 0.4884 GB, free: 0.6602 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 (0): * Single equations (assignments): 0 * 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.599e-05/0.1303, allocations: 256.4 kB / 0.4886 GB, free: 408 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.665e-05/0.1304, allocations: 108.9 kB / 0.4887 GB, free: 292 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.601e-05/0.1304, allocations: 116.1 kB / 0.4889 GB, free: 168 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2177/0.3481, allocations: 184.3 kB / 0.489 GB, free: 43.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.86e-05/0.3482, allocations: 180.1 kB / 0.4892 GB, free: 43.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.683e-05/0.3482, allocations: 177.5 kB / 0.4894 GB, free: 43.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.3484, allocations: 399.3 kB / 0.4898 GB, free: 42.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/0.3484, allocations: 107.5 kB / 0.4899 GB, free: 42.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.521e-05/0.3484, allocations: 106.5 kB / 0.49 GB, free: 42.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.516e-05/0.3485, allocations: 183 kB / 0.4901 GB, free: 42.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.3485, allocations: 177.6 kB / 0.4903 GB, free: 42.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.536e-05/0.3485, allocations: 184.6 kB / 0.4905 GB, free: 41.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.911e-05/0.3486, allocations: 183.5 kB / 0.4907 GB, free: 41.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.641e-05/0.3487, allocations: 303.7 kB / 0.4909 GB, free: 41.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.622e-05/0.3487, allocations: 184.8 kB / 0.4911 GB, free: 41.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/0.3487, allocations: 187.9 kB / 0.4913 GB, free: 41.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.316e-05/0.3488, allocations: 103.6 kB / 0.4914 GB, free: 40.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-05/0.3488, allocations: 187.9 kB / 0.4916 GB, free: 40.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.3489, allocations: 103.7 kB / 0.4917 GB, free: 40.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.609e-05/0.3489, allocations: 76.38 kB / 0.4917 GB, free: 40.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3489, allocations: 0 / 0.4917 GB, free: 40.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006755/0.3496, allocations: 152.5 kB / 0.4919 GB, free: 40.58 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 (0): * Single equations (assignments): 0 * 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.000684/0.3503, allocations: 342.1 kB / 0.4922 GB, free: 40.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.305e-05/0.3503, allocations: 1.875 kB / 0.4922 GB, free: 40.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3503, allocations: 0 / 0.4922 GB, free: 40.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.865e-06/0.3503, allocations: 2.688 kB / 0.4922 GB, free: 40.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.3506, allocations: 0.5188 MB / 0.4927 GB, free: 39.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001329/0.3507, allocations: 160.9 kB / 0.4929 GB, free: 39.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.3509, allocations: 0.6707 MB / 0.4935 GB, free: 39.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.054e-05/0.3509, allocations: 1.578 kB / 0.4935 GB, free: 39.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.137e-05/0.3509, allocations: 8.531 kB / 0.4935 GB, free: 39.02 MB / 378.7 MB Notification: Performance of SimCode: time 5.41e-07/0.3509, allocations: 0 / 0.4935 GB, free: 39.02 MB / 378.7 MB Notification: Performance of Templates: time 0.007234/0.3581, allocations: 3.382 MB / 0.4968 GB, free: 38.87 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches