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.001558/0.001558, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001658/0.001658, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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.38/1.38, allocations: 230.6 MB / 258.3 MB, free: 7.988 MB / 206.1 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.2111/0.2111, allocations: 46.93 MB / 361.6 MB, free: 4.27 MB / 286.1 MB " [Timeout remaining time 180] 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 0.001974/0.001974, allocations: 71.89 kB / 0.4974 GB, free: 7.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3072, allocations: 66.02 MB / 0.5619 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.00149/0.3087, allocations: 497 kB / 0.5623 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003026/0.3117, allocations: 2.075 MB / 0.5644 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.138e-06/0.3117, allocations: 0 / 0.5644 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.406e-06/0.3117, allocations: 0 / 0.5644 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.42e-07/0.3117, allocations: 0 / 0.5644 GB, free: 1.859 MB / 398.1 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.001656/0.3133, allocations: 0.5605 MB / 0.5649 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.713e-05/0.3134, allocations: 4 kB / 0.5649 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.789e-05/0.3134, allocations: 4 kB / 0.5649 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.164e-06/0.3134, allocations: 0 / 0.5649 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.614e-06/0.3134, allocations: 0 / 0.5649 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.466e-06/0.3134, allocations: 0 / 0.5649 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.315, allocations: 1.134 MB / 0.566 GB, free: 160 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.173e-06/0.315, allocations: 4 kB / 0.566 GB, free: 156 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.157e-06/0.315, allocations: 0 / 0.566 GB, free: 156 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.3161, allocations: 0.8402 MB / 0.5668 GB, free: 15.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3161, allocations: 0 / 0.5668 GB, free: 15.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3161, allocations: 0 / 0.5668 GB, free: 15.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.3161, allocations: 0 / 0.5668 GB, free: 15.32 MB / 414.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.0003838/0.3165, allocations: 305.7 kB / 0.5671 GB, free: 14.99 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.3165, allocations: 8.031 kB / 0.5671 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.913e-05/0.3166, allocations: 80.22 kB / 0.5672 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.3167, allocations: 177.8 kB / 0.5674 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.664e-05/0.3167, allocations: 150.9 kB / 0.5675 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.108e-05/0.3168, allocations: 154.9 kB / 0.5677 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.266e-05/0.3169, allocations: 113.2 kB / 0.5678 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.623e-05/0.3169, allocations: 79.28 kB / 0.5679 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.732e-05/0.317, allocations: 158.5 kB / 0.568 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.76e-05/0.3171, allocations: 150.6 kB / 0.5682 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.163e-05/0.3171, allocations: 150.6 kB / 0.5683 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003045/0.3174, allocations: 413 kB / 0.5687 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.3175, allocations: 177.1 kB / 0.5689 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.702e-05/0.3176, allocations: 80.14 kB / 0.5689 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.26e-05/0.3176, allocations: 75.28 kB / 0.569 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.424e-05/0.3177, allocations: 113.8 kB / 0.5691 GB, free: 12.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.3177, allocations: 3.938 kB / 0.5691 GB, free: 12.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.707e-05/0.3178, allocations: 33.7 kB / 0.5692 GB, free: 12.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.63e-05/0.3179, allocations: 164.3 kB / 0.5693 GB, free: 12.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.07e-05/0.3179, allocations: 89.86 kB / 0.5694 GB, free: 12.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.3179, allocations: 25.7 kB / 0.5694 GB, free: 12.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.649e-05/0.318, allocations: 84.14 kB / 0.5695 GB, free: 12.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.318, allocations: 0 / 0.5695 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/0.318, allocations: 13.72 kB / 0.5695 GB, free: 12.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3181, allocations: 310.8 kB / 0.5698 GB, free: 12.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.028e-06/0.3181, allocations: 0 / 0.5698 GB, free: 12.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.635e-05/0.3182, allocations: 4 kB / 0.5698 GB, free: 12.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.194e-05/0.3182, allocations: 75.28 kB / 0.5699 GB, free: 12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.823e-05/0.3182, allocations: 75.28 kB / 0.57 GB, free: 11.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.243e-05/0.3183, allocations: 29.7 kB / 0.57 GB, free: 11.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.149e-05/0.3183, allocations: 83.22 kB / 0.5701 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.461e-05/0.3184, allocations: 87.28 kB / 0.5702 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.082e-05/0.3184, allocations: 154.6 kB / 0.5703 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.195e-05/0.3185, allocations: 87.25 kB / 0.5704 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.905e-05/0.3185, allocations: 154.6 kB / 0.5705 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.142e-05/0.3186, allocations: 75.28 kB / 0.5706 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.3187, allocations: 83.22 kB / 0.5707 GB, free: 11.18 MB / 414.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.0001284/0.3188, allocations: 256.4 kB / 0.5709 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.451e-05/0.3189, allocations: 112.9 kB / 0.571 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.83e-05/0.3189, allocations: 115.7 kB / 0.5711 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.2e-05/0.319, allocations: 180.3 kB / 0.5713 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.073e-05/0.3191, allocations: 176.3 kB / 0.5715 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.638e-05/0.3192, allocations: 180.2 kB / 0.5717 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.3194, allocations: 372.3 kB / 0.572 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.532e-05/0.3194, allocations: 112.9 kB / 0.5721 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.998e-05/0.3195, allocations: 105 kB / 0.5722 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.311e-05/0.3196, allocations: 184.2 kB / 0.5724 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.746e-05/0.3197, allocations: 184.2 kB / 0.5726 GB, free: 9.113 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.95e-05/0.3197, allocations: 176.3 kB / 0.5727 GB, free: 8.934 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.237e-05/0.3198, allocations: 184.2 kB / 0.5729 GB, free: 8.746 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.32, allocations: 303.8 kB / 0.5732 GB, free: 8.426 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.766e-05/0.32, allocations: 112.9 kB / 0.5733 GB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.673e-05/0.3201, allocations: 180.2 kB / 0.5735 GB, free: 8.125 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.312e-05/0.3202, allocations: 104.9 kB / 0.5736 GB, free: 8.016 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.993e-05/0.3203, allocations: 184.3 kB / 0.5738 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.655e-05/0.3203, allocations: 108.9 kB / 0.5739 GB, free: 7.715 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.351e-05/0.3204, allocations: 75.28 kB / 0.5739 GB, free: 7.641 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3204, allocations: 0 / 0.5739 GB, free: 7.641 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006108/0.321, allocations: 155.5 kB / 0.5741 GB, free: 7.488 MB / 414.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.0007455/0.3217, allocations: 347 kB / 0.5744 GB, free: 7.148 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.433e-05/0.3218, allocations: 0 / 0.5744 GB, free: 7.148 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3218, allocations: 0 / 0.5744 GB, free: 7.148 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.3218, allocations: 0 / 0.5744 GB, free: 7.148 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.3222, allocations: 462.4 kB / 0.5749 GB, free: 6.695 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001749/0.3223, allocations: 174.5 kB / 0.575 GB, free: 6.492 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.3226, allocations: 0.6767 MB / 0.5757 GB, free: 5.789 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.248e-05/0.3227, allocations: 7.438 kB / 0.5757 GB, free: 5.781 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3227, allocations: 0 / 0.5757 GB, free: 5.781 MB / 414.1 MB Notification: Performance of Templates: time 0.005522/0.3282, allocations: 2.952 MB / 0.5786 GB, free: 2.824 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","/var/lib/jenkins1/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: 8.861054630950093]