Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 112.7 kB / 17.04 MB, free: 6.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 195 kB / 17.97 MB, free: 5.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2315/0.2315, allocations: 43.52 MB / 314.7 MB, free: 488 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 65.45 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1137, allocations: 57.79 MB / 442 MB, free: 6.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001859/0.1156, allocations: 0.4932 MB / 442.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00229/0.1179, allocations: 2.009 MB / 444.5 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.539e-06/0.1179, allocations: 0 / 444.5 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.446e-06/0.1179, allocations: 4 kB / 444.5 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.72e-07/0.1179, allocations: 0 / 444.5 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.1193, allocations: 0.5065 MB / 445 MB, free: 3.152 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 1.841e-05/0.1194, allocations: 3.984 kB / 445 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.615e-05/0.1194, allocations: 7.984 kB / 445 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.042e-05/0.1194, allocations: 0 / 445 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.154e-05/0.1194, allocations: 0 / 445 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.38e-06/0.1194, allocations: 0 / 445 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009948/0.1204, allocations: 0.881 MB / 445.9 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.886e-06/0.1205, allocations: 7.938 kB / 445.9 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.477e-05/0.1205, allocations: 4 kB / 445.9 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008496/0.1213, allocations: 0.7719 MB / 446.7 MB, free: 1.473 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.218e-06/0.1214, allocations: 3.938 kB / 446.7 MB, free: 1.469 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.499e-06/0.1214, allocations: 0 / 446.7 MB, free: 1.469 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.1214, allocations: 0 / 446.7 MB, free: 1.469 MB / 318.1 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.000437/0.1218, allocations: 383.5 kB / 447 MB, free: 1.047 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.1219, allocations: 11.89 kB / 447 MB, free: 1.035 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.119e-05/0.1219, allocations: 80.16 kB / 447.1 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.1221, allocations: 243.7 kB / 447.4 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.039e-05/0.1221, allocations: 154.9 kB / 447.5 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.954e-05/0.1222, allocations: 154.9 kB / 447.7 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.603e-05/0.1222, allocations: 109.3 kB / 447.8 MB, free: 268 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/0.1223, allocations: 75.28 kB / 447.8 MB, free: 192 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.253e-05/0.1223, allocations: 154.6 kB / 448 MB, free: 36 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.887e-05/0.1224, allocations: 150.6 kB / 448.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.902e-05/0.1225, allocations: 154.5 kB / 448.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003056/0.1228, allocations: 442 kB / 448.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.1229, allocations: 173.1 kB / 448.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.055e-05/0.123, allocations: 84.14 kB / 449 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.324e-05/0.1231, allocations: 75.28 kB / 449 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.953e-05/0.1231, allocations: 117.7 kB / 449.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.021e-06/0.1231, allocations: 0 / 449.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 9.042e-05/0.1232, allocations: 29.7 kB / 449.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.267e-05/0.1233, allocations: 152.4 kB / 449.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.171e-05/0.1234, allocations: 93.86 kB / 449.4 MB, free: 14.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.1234, allocations: 25.7 kB / 449.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.535e-05/0.1234, allocations: 84.14 kB / 449.5 MB, free: 14.37 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.1235, allocations: 0 / 449.5 MB, free: 14.37 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/0.1235, allocations: 13.72 kB / 449.6 MB, free: 14.35 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1236, allocations: 310.8 kB / 449.9 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.21e-06/0.1236, allocations: 0 / 449.9 MB, free: 14.04 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.007e-05/0.1236, allocations: 0 / 449.9 MB, free: 14.04 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.858e-05/0.1237, allocations: 79.31 kB / 449.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.518e-05/0.1237, allocations: 75.28 kB / 450 MB, free: 13.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.67e-05/0.1238, allocations: 37.62 kB / 450 MB, free: 13.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.038e-05/0.1238, allocations: 83.22 kB / 450.1 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.681e-05/0.1239, allocations: 75.28 kB / 450.2 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.822e-05/0.1239, allocations: 162.6 kB / 450.4 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.99e-05/0.124, allocations: 75.28 kB / 450.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.378e-05/0.124, allocations: 162.5 kB / 450.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.018e-05/0.1241, allocations: 75.33 kB / 450.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.856e-05/0.1241, allocations: 83.28 kB / 450.7 MB, free: 13.13 MB / 334.1 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 0.0001118/0.1243, allocations: 264.3 kB / 451 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.922e-05/0.1243, allocations: 112.8 kB / 451.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.924e-05/0.1244, allocations: 112.1 kB / 451.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.096e-05/0.1244, allocations: 184.2 kB / 451.4 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.501e-05/0.1245, allocations: 176.3 kB / 451.6 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.435e-05/0.1246, allocations: 180.2 kB / 451.7 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.1248, allocations: 401.2 kB / 452.1 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.189e-05/0.1249, allocations: 101 kB / 452.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.024e-05/0.1249, allocations: 112.9 kB / 452.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.047e-05/0.125, allocations: 188.1 kB / 452.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-05/0.1251, allocations: 180.3 kB / 452.7 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-05/0.1251, allocations: 180.2 kB / 452.9 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.195e-05/0.1252, allocations: 176.3 kB / 453.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.1253, allocations: 311.8 kB / 453.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.011e-05/0.1254, allocations: 178.1 kB / 453.5 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.229e-05/0.1255, allocations: 192.1 kB / 453.7 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.844e-05/0.1255, allocations: 101 kB / 453.8 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.03e-05/0.1256, allocations: 196.2 kB / 454 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.532e-05/0.1257, allocations: 101 kB / 454.1 MB, free: 9.535 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.865e-05/0.1257, allocations: 75.28 kB / 454.2 MB, free: 9.461 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1257, allocations: 4 kB / 454.2 MB, free: 9.457 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005077/0.1262, allocations: 140 kB / 454.3 MB, free: 9.32 MB / 334.1 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.0006671/0.1269, allocations: 341.8 kB / 454.7 MB, free: 8.988 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 4.344e-05/0.1269, allocations: 3.938 kB / 454.7 MB, free: 8.984 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1269, allocations: 3.938 kB / 454.7 MB, free: 8.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.026e-06/0.1269, allocations: 4 kB / 454.7 MB, free: 8.977 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.1273, allocations: 465.8 kB / 455.1 MB, free: 8.523 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001476/0.1275, allocations: 148.2 kB / 455.3 MB, free: 8.352 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.1277, allocations: 0.669 MB / 455.9 MB, free: 7.656 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.456e-06/0.1277, allocations: 0 / 455.9 MB, free: 7.656 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.152e-05/0.1277, allocations: 7.438 kB / 455.9 MB, free: 7.648 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1277, allocations: 4 kB / 456 MB, free: 7.645 MB / 334.1 MB Notification: Performance of Templates: time 0.006788/0.1345, allocations: 3.388 MB / 459.3 MB, free: 4.254 MB / 334.1 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches