Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001927/0.001927, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002338/0.002338, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.509/1.509, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3592/0.3592, allocations: 34.26 MB / 295.3 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 377.3 MB, free: 3.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.699e-05/2.856e-05, allocations: 2.312 kB / 377.3 MB, free: 3.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.002477/0.002506, allocations: 496.6 kB / 377.8 MB, free: 2.523 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005913/0.008418, allocations: 1.977 MB / 379.7 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.208e-06/0.008423, allocations: 0 / 379.7 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 3.537e-06/0.008426, allocations: 0 / 379.7 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.302e-06/0.008427, allocations: 0 / 379.7 MB, free: 0.5234 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/package.mo:697:5-760:29:writable] Warning: Pure function 'Modelica.Math.Matrices.Examples.solveLinearEquations' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.003112/0.01154, allocations: 0.5607 MB / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 1.958e-05/0.01156, allocations: 4 kB / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.408e-05/0.01158, allocations: 0 / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.17e-05/0.01159, allocations: 0 / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.197e-06/0.0116, allocations: 0 / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.445e-06/0.01161, allocations: 0 / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002607/0.01422, allocations: 0.8536 MB / 381.2 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.404e-06/0.01423, allocations: 4 kB / 381.2 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.237e-05/0.01425, allocations: 3.984 kB / 381.2 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002149/0.0164, allocations: 0.826 MB / 382 MB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.0164, allocations: 0 / 382 MB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.0164, allocations: 0 / 382 MB, free: 14.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.01641, allocations: 0 / 382 MB, free: 14.27 MB / 362.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.0007049/0.01712, allocations: 305.7 kB / 382.3 MB, free: 13.94 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.01717, allocations: 8.031 kB / 382.3 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.01727, allocations: 76.22 kB / 382.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.01748, allocations: 193 kB / 382.6 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.01761, allocations: 150.9 kB / 382.7 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.01773, allocations: 150.9 kB / 382.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.01785, allocations: 101.5 kB / 382.9 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-05/0.01791, allocations: 75.47 kB / 383 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/0.01805, allocations: 154.9 kB / 383.2 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001364/0.01819, allocations: 154.5 kB / 383.3 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.01833, allocations: 150.6 kB / 383.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005248/0.01886, allocations: 405.5 kB / 383.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.01903, allocations: 169.1 kB / 384 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.763e-05/0.01911, allocations: 80.14 kB / 384.1 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.44e-05/0.01918, allocations: 79.28 kB / 384.2 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001178/0.0193, allocations: 109.8 kB / 384.3 MB, free: 11.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.373e-06/0.0193, allocations: 0 / 384.3 MB, free: 11.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001193/0.01942, allocations: 29.64 kB / 384.3 MB, free: 11.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001819/0.0196, allocations: 164.3 kB / 384.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.966e-05/0.01969, allocations: 89.86 kB / 384.6 MB, free: 11.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.01972, allocations: 25.7 kB / 384.6 MB, free: 11.49 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.943e-05/0.0198, allocations: 84.12 kB / 384.7 MB, free: 11.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.0198, allocations: 0 / 384.7 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.968e-05/0.01985, allocations: 13.7 kB / 384.7 MB, free: 11.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002654/0.02011, allocations: 318.8 kB / 385 MB, free: 11.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.751e-06/0.02012, allocations: 0 / 385 MB, free: 11.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.216e-05/0.02017, allocations: 25.7 kB / 385 MB, free: 11.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.801e-05/0.02025, allocations: 75.28 kB / 385.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.426e-05/0.02031, allocations: 75.28 kB / 385.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001211/0.02044, allocations: 33.64 kB / 385.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.207e-05/0.02052, allocations: 79.28 kB / 385.3 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.46e-05/0.02059, allocations: 79.28 kB / 385.4 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001611/0.02075, allocations: 154.6 kB / 385.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.603e-05/0.02083, allocations: 87.19 kB / 385.6 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001368/0.02097, allocations: 154.5 kB / 385.8 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.02112, allocations: 87.25 kB / 385.8 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.485e-05/0.02118, allocations: 75.28 kB / 385.9 MB, free: 10.14 MB / 362.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.0002567/0.02144, allocations: 260.4 kB / 386.2 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.02157, allocations: 113 kB / 386.3 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.02168, allocations: 108 kB / 386.4 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001557/0.02183, allocations: 180.3 kB / 386.6 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.00016/0.02199, allocations: 180.2 kB / 386.7 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001618/0.02215, allocations: 180.2 kB / 386.9 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004694/0.02262, allocations: 356.8 kB / 387.3 MB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001029/0.02273, allocations: 109 kB / 387.4 MB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.02284, allocations: 109 kB / 387.5 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001693/0.02301, allocations: 180.2 kB / 387.6 MB, free: 8.297 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001768/0.02319, allocations: 176.3 kB / 387.8 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001736/0.02336, allocations: 188.1 kB / 388 MB, free: 7.926 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000168/0.02353, allocations: 180.2 kB / 388.2 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003406/0.02387, allocations: 307.7 kB / 388.5 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.02398, allocations: 105.4 kB / 388.6 MB, free: 7.309 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/0.02417, allocations: 184.2 kB / 388.8 MB, free: 7.121 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.02435, allocations: 105 kB / 388.9 MB, free: 7.012 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/0.02453, allocations: 188.3 kB / 389 MB, free: 6.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.836e-05/0.02463, allocations: 104.9 kB / 389.1 MB, free: 6.711 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.486e-05/0.02471, allocations: 83.22 kB / 389.2 MB, free: 6.629 MB / 362.7 MB Notification: Performance of sort global known variables: time 2e-07/0.02471, allocations: 0 / 389.2 MB, free: 6.629 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001165/0.02588, allocations: 155.6 kB / 389.4 MB, free: 6.477 MB / 362.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.001528/0.02741, allocations: 356.3 kB / 389.7 MB, free: 6.129 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.673e-05/0.02746, allocations: 0 / 389.7 MB, free: 6.129 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.02746, allocations: 0 / 389.7 MB, free: 6.129 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.162e-05/0.02748, allocations: 3.938 kB / 389.7 MB, free: 6.125 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007394/0.02822, allocations: 455.7 kB / 390.2 MB, free: 5.676 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000298/0.02851, allocations: 152.2 kB / 390.3 MB, free: 5.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.475e-05/0.02861, allocations: 59.34 kB / 390.4 MB, free: 5.422 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.507e-06/0.02862, allocations: 0 / 390.4 MB, free: 5.422 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.979e-05/0.02865, allocations: 8.5 kB / 390.4 MB, free: 5.414 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.02865, allocations: 4 kB / 390.4 MB, free: 5.41 MB / 362.7 MB Notification: Performance of Templates: time 0.01493/0.04358, allocations: 3.493 MB / 393.9 MB, free: 1.918 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.942032904014923]