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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 88.2 kB / 20.94 MB, free: 3.605 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 169 kB / 24.24 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8696/0.8696, allocations: 158.6 MB / 186 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1226/0.1226, allocations: 32.38 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 3.938 kB / 347.6 MB, free: 9.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/2.127e-05, allocations: 13.34 kB / 347.6 MB, free: 9.801 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001088/0.00111, allocations: 0.5197 MB / 348.2 MB, free: 9.285 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00209/0.003199, allocations: 1.977 MB / 350.1 MB, free: 7.285 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.22e-06/0.003204, allocations: 0 / 350.1 MB, free: 7.285 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.145e-06/0.003212, allocations: 0 / 350.1 MB, free: 7.285 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.583e-06/0.003214, allocations: 0 / 350.1 MB, free: 7.285 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.004456, allocations: 0.5568 MB / 350.7 MB, free: 6.727 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 1.949e-05/0.004475, allocations: 0 / 350.7 MB, free: 6.727 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.673e-05/0.004502, allocations: 7.922 kB / 350.7 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.277e-05/0.004515, allocations: 0 / 350.7 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.706e-06/0.004523, allocations: 0 / 350.7 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.436e-06/0.004532, allocations: 4 kB / 350.7 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003919/0.00845, allocations: 0.8486 MB / 351.6 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.631e-06/0.008456, allocations: 0 / 351.6 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.234e-05/0.008468, allocations: 0 / 351.6 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006498/0.009118, allocations: 0.795 MB / 352.4 MB, free: 5.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.093e-06/0.00912, allocations: 0 / 352.4 MB, free: 5.07 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.009121, allocations: 0 / 352.4 MB, free: 5.07 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.009124, allocations: 0 / 352.4 MB, free: 5.07 MB / 282.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.0002191/0.009344, allocations: 411.6 kB / 352.8 MB, free: 4.633 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.009377, allocations: 12.03 kB / 352.8 MB, free: 4.621 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.39e-05/0.009421, allocations: 124.1 kB / 352.9 MB, free: 4.5 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.133e-05/0.009473, allocations: 231.8 kB / 353.1 MB, free: 4.246 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.009502, allocations: 242.8 kB / 353.4 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.00952, allocations: 238.8 kB / 353.6 MB, free: 3.773 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.422e-05/0.009564, allocations: 149.5 kB / 353.7 MB, free: 3.621 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.009577, allocations: 123.4 kB / 353.9 MB, free: 3.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.645e-05/0.009603, allocations: 238.8 kB / 354.1 MB, free: 3.266 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/0.009625, allocations: 242.3 kB / 354.3 MB, free: 3.027 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.861e-05/0.009643, allocations: 242.3 kB / 354.6 MB, free: 2.789 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000133/0.009776, allocations: 0.5642 MB / 355.1 MB, free: 2.191 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.215e-05/0.009818, allocations: 269.4 kB / 355.4 MB, free: 1.914 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.726e-05/0.009836, allocations: 130.9 kB / 355.5 MB, free: 1.781 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.00985, allocations: 119.2 kB / 355.6 MB, free: 1.664 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.009875, allocations: 156.6 kB / 355.8 MB, free: 1.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 7.02e-07/0.009876, allocations: 0 / 355.8 MB, free: 1.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 5.715e-05/0.009933, allocations: 37.62 kB / 355.8 MB, free: 1.457 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.00997, allocations: 204.2 kB / 356 MB, free: 1.238 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.607e-05/0.009986, allocations: 142.2 kB / 356.2 MB, free: 1.086 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.849e-06/0.009991, allocations: 25.7 kB / 356.2 MB, free: 1.055 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.238e-05/0.01, allocations: 126.9 kB / 356.3 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.463e-06/0.01, allocations: 4 kB / 356.3 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.153e-05/0.01003, allocations: 23.38 kB / 356.3 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.655e-05/0.01007, allocations: 492.1 kB / 356.8 MB, free: 408 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.548e-06/0.01008, allocations: 3.938 kB / 356.8 MB, free: 404 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.846e-05/0.0101, allocations: 25.7 kB / 356.8 MB, free: 372 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.254e-05/0.01011, allocations: 119.2 kB / 357 MB, free: 252 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.01012, allocations: 123.2 kB / 357.1 MB, free: 128 kB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.942e-05/0.01016, allocations: 33.62 kB / 357.1 MB, free: 88 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.617e-05/0.0102, allocations: 123.2 kB / 357.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-05/0.01024, allocations: 123.2 kB / 357.4 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.939e-05/0.01031, allocations: 242.3 kB / 357.6 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.216e-05/0.01034, allocations: 123.2 kB / 357.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.002e-05/0.01041, allocations: 250.3 kB / 358 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.055e-05/0.01048, allocations: 123.1 kB / 358.1 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.222e-05/0.01051, allocations: 119.2 kB / 358.2 MB, free: 15 MB / 298.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 0.0001279/0.01064, allocations: 398.9 kB / 358.6 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.037e-05/0.0107, allocations: 148.8 kB / 358.7 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.781e-05/0.01075, allocations: 151.9 kB / 358.9 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.268e-05/0.01082, allocations: 268.1 kB / 359.1 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-05/0.0109, allocations: 268 kB / 359.4 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-05/0.01097, allocations: 276 kB / 359.7 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.01116, allocations: 499.9 kB / 360.2 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.915e-05/0.0112, allocations: 148.9 kB / 360.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.953e-05/0.01124, allocations: 148.9 kB / 360.4 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.649e-05/0.01132, allocations: 272 kB / 360.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.629e-05/0.01139, allocations: 268.1 kB / 361 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.951e-05/0.01146, allocations: 272 kB / 361.2 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.196e-05/0.01153, allocations: 264.1 kB / 361.5 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.01167, allocations: 452.2 kB / 361.9 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.187e-05/0.01171, allocations: 148.9 kB / 362.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.33e-05/0.01178, allocations: 272 kB / 362.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.368e-05/0.01185, allocations: 152.9 kB / 362.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.406e-05/0.01193, allocations: 268 kB / 362.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.762e-05/0.01197, allocations: 148.9 kB / 362.9 MB, free: 10.08 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.831e-05/0.012, allocations: 123.1 kB / 363 MB, free: 9.961 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.012, allocations: 0 / 363 MB, free: 9.961 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004811/0.01249, allocations: 151.5 kB / 363.2 MB, free: 9.812 MB / 298.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.0005682/0.01305, allocations: 390.3 kB / 363.6 MB, free: 9.434 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 4.125e-05/0.01309, allocations: 4 kB / 363.6 MB, free: 9.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.0131, allocations: 0 / 363.6 MB, free: 9.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.475e-06/0.0131, allocations: 3.938 kB / 363.6 MB, free: 9.426 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003347/0.01645, allocations: 0.713 MB / 364.3 MB, free: 8.711 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001462/0.01659, allocations: 202.1 kB / 364.5 MB, free: 8.484 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.325e-05/0.01663, allocations: 51.36 kB / 364.5 MB, free: 8.414 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.933e-06/0.01663, allocations: 4 kB / 364.5 MB, free: 8.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.376e-05/0.01665, allocations: 12.5 kB / 364.5 MB, free: 8.398 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01665, allocations: 0 / 364.5 MB, free: 8.398 MB / 298.7 MB Notification: Performance of Templates: time 0.01201/0.02865, allocations: 3.456 MB / 368 MB, free: 4.945 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0933863858226687]