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.0006865/0.0006865, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001035/0.001722, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.0006971/0.0006971, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009175/0.001615, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.8146/0.8146, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.144/0.9587, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.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.1392/0.1392, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02338/0.1626, allocations: 12.32 MB / 266.1 MB, free: 3.875 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.423e-06/1.423e-06, allocations: 0 / 267.4 MB, free: 2.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.127e-05, allocations: 6.25 kB / 267.4 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001337/0.001358, allocations: 0.5556 MB / 267.9 MB, free: 2.012 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006253/0.007611, allocations: 2.004 MB / 269.9 MB, free: 15.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.078e-06/0.007615, allocations: 0 / 269.9 MB, free: 15.98 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.755e-06/0.007618, allocations: 3.938 kB / 269.9 MB, free: 15.98 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.6e-07/0.007618, allocations: 0 / 269.9 MB, free: 15.98 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.008869, allocations: 0.545 MB / 270.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 1.779e-05/0.008887, allocations: 0 / 270.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.199e-05/0.008909, allocations: 4 kB / 270.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.928e-05/0.008928, allocations: 0 / 270.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.458e-06/0.008938, allocations: 0 / 270.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.012e-06/0.008944, allocations: 0 / 270.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.009991, allocations: 0.8029 MB / 271.3 MB, free: 14.62 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.553e-06/0.009998, allocations: 0 / 271.3 MB, free: 14.62 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.167e-06/0.01001, allocations: 0 / 271.3 MB, free: 14.62 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003718/0.01372, allocations: 0.6547 MB / 271.9 MB, free: 13.97 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/0.01373, allocations: 0 / 271.9 MB, free: 13.97 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01373, allocations: 4 kB / 271.9 MB, free: 13.96 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.01374, allocations: 0 / 271.9 MB, free: 13.96 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.000301/0.01404, allocations: 312 kB / 272.3 MB, free: 13.64 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.01408, allocations: 11.97 kB / 272.3 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.823e-05/0.01412, allocations: 84.16 kB / 272.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.969e-05/0.01419, allocations: 181.1 kB / 272.5 MB, free: 13.34 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.926e-05/0.01423, allocations: 150.9 kB / 272.7 MB, free: 13.19 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/0.01427, allocations: 154.9 kB / 272.8 MB, free: 13.04 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.358e-05/0.01433, allocations: 109.5 kB / 272.9 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.01435, allocations: 79.45 kB / 273 MB, free: 12.85 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.914e-05/0.01439, allocations: 150.9 kB / 273.2 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.679e-05/0.01443, allocations: 154.5 kB / 273.3 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.537e-05/0.01446, allocations: 158.5 kB / 273.5 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001526/0.01461, allocations: 349.3 kB / 273.8 MB, free: 12.04 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.865e-05/0.01467, allocations: 169.1 kB / 274 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.128e-05/0.01469, allocations: 80.14 kB / 274 MB, free: 11.78 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.01471, allocations: 79.28 kB / 274.1 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.01475, allocations: 113.8 kB / 274.2 MB, free: 11.58 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 6.71e-07/0.01475, allocations: 0 / 274.2 MB, free: 11.58 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 5.232e-05/0.0148, allocations: 29.64 kB / 274.3 MB, free: 11.54 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.01485, allocations: 126.7 kB / 274.4 MB, free: 11.41 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.669e-05/0.01487, allocations: 89.86 kB / 274.5 MB, free: 11.31 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.01488, allocations: 33.69 kB / 274.5 MB, free: 11.27 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.159e-05/0.0149, allocations: 80.14 kB / 274.6 MB, free: 11.19 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.12e-07/0.0149, allocations: 0 / 274.6 MB, free: 11.19 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.099e-05/0.01493, allocations: 9.766 kB / 274.6 MB, free: 11.17 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.763e-05/0.015, allocations: 326.8 kB / 274.9 MB, free: 10.84 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.635e-06/0.01501, allocations: 0 / 274.9 MB, free: 10.84 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.17e-05/0.01503, allocations: 25.7 kB / 274.9 MB, free: 10.81 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.95e-05/0.01505, allocations: 75.28 kB / 275 MB, free: 10.74 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.705e-05/0.01506, allocations: 75.28 kB / 275.1 MB, free: 10.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.465e-05/0.01511, allocations: 33.64 kB / 275.1 MB, free: 10.62 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.01514, allocations: 79.28 kB / 275.2 MB, free: 10.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.01515, allocations: 79.28 kB / 275.3 MB, free: 10.47 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.607e-05/0.0152, allocations: 162.5 kB / 275.4 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.825e-05/0.01522, allocations: 75.39 kB / 275.5 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.945e-05/0.01526, allocations: 162.6 kB / 275.7 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.741e-05/0.01532, allocations: 83.25 kB / 275.7 MB, free: 9.992 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.01533, allocations: 79.22 kB / 275.8 MB, free: 9.914 MB / 282.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 7.893e-05/0.01541, allocations: 264.3 kB / 276.1 MB, free: 9.645 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.01545, allocations: 104.9 kB / 276.2 MB, free: 9.535 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.01549, allocations: 108 kB / 276.3 MB, free: 9.426 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.355e-05/0.01553, allocations: 184.2 kB / 276.5 MB, free: 9.238 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.066e-05/0.01557, allocations: 180.2 kB / 276.6 MB, free: 9.055 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.651e-05/0.01562, allocations: 184.3 kB / 276.8 MB, free: 8.867 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.01576, allocations: 321.3 kB / 277.1 MB, free: 8.527 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.039e-05/0.01579, allocations: 101 kB / 277.2 MB, free: 8.422 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.784e-05/0.01582, allocations: 112.9 kB / 277.3 MB, free: 8.305 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.915e-05/0.01585, allocations: 101 kB / 277.4 MB, free: 8.199 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.407e-05/0.0159, allocations: 184.3 kB / 277.6 MB, free: 8.012 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-05/0.01595, allocations: 184.2 kB / 277.8 MB, free: 7.824 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.575e-05/0.016, allocations: 180.3 kB / 278 MB, free: 7.641 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.837e-05/0.01604, allocations: 188.2 kB / 278.2 MB, free: 7.449 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.939e-05/0.01614, allocations: 303.8 kB / 278.5 MB, free: 7.129 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00307/0.01921, allocations: 184.2 kB / 278.6 MB, free: 6.941 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.421e-05/0.01928, allocations: 105 kB / 278.7 MB, free: 6.832 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.01933, allocations: 180.2 kB / 278.9 MB, free: 6.648 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/0.01936, allocations: 105.3 kB / 279 MB, free: 6.539 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.453e-05/0.01937, allocations: 4.859 kB / 279 MB, free: 6.531 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01937, allocations: 4 kB / 279 MB, free: 6.527 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005/0.01987, allocations: 147.6 kB / 279.2 MB, free: 6.383 MB / 282.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.0007159/0.02059, allocations: 390.7 kB / 279.6 MB, free: 5.992 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 3.891e-05/0.02063, allocations: 0 / 279.6 MB, free: 5.992 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.02063, allocations: 0 / 279.6 MB, free: 5.992 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.168e-06/0.02063, allocations: 3.938 kB / 279.6 MB, free: 5.988 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.02084, allocations: 463.6 kB / 280 MB, free: 5.531 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001198/0.02096, allocations: 156.2 kB / 280.2 MB, free: 5.352 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.213e-05/0.021, allocations: 51.36 kB / 280.2 MB, free: 5.281 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.557e-06/0.021, allocations: 0 / 280.2 MB, free: 5.281 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.814e-05/0.02103, allocations: 51.38 kB / 280.3 MB, free: 5.23 MB / 282.7 MB Notification: Performance of SimCode: time 3.5e-07/0.02103, allocations: 4 kB / 280.3 MB, free: 5.227 MB / 282.7 MB Notification: Performance of Templates: time 0.01182/0.03285, allocations: 3.894 MB / 284.2 MB, free: 1.324 MB / 282.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6585934814065695]