Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001481/0.001481, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001702/0.001702, allocations: 220.5 kB / 25.13 MB, free: 3.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 230.4 MB / 258.7 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2225/0.2225, allocations: 46.93 MB / 362 MB, free: 4.223 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00238/0.00238, allocations: 87.84 kB / 0.4978 GB, free: 7.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3728, allocations: 66.07 MB / 0.5623 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001789/0.3746, allocations: 0.4892 MB / 0.5628 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00339/0.378, allocations: 2.073 MB / 0.5648 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.44e-06/0.378, allocations: 0 / 0.5648 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.416e-06/0.378, allocations: 0 / 0.5648 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.873e-06/0.378, allocations: 0 / 0.5648 GB, free: 1.707 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.00181/0.3798, allocations: 0.5599 MB / 0.5654 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.92e-05/0.3798, allocations: 4 kB / 0.5654 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.127e-05/0.3799, allocations: 0 / 0.5654 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.604e-06/0.3799, allocations: 0 / 0.5654 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.365e-05/0.3799, allocations: 7.984 kB / 0.5654 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.138e-06/0.3799, allocations: 0 / 0.5654 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001443/0.3813, allocations: 0.8692 MB / 0.5662 GB, free: 276 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.118e-06/0.3813, allocations: 3.984 kB / 0.5662 GB, free: 272 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.816e-05/0.3814, allocations: 0 / 0.5662 GB, free: 272 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.3824, allocations: 0.7741 MB / 0.567 GB, free: 15.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3824, allocations: 0 / 0.567 GB, free: 15.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3824, allocations: 4 kB / 0.567 GB, free: 15.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.3824, allocations: 0 / 0.567 GB, free: 15.49 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.0004262/0.3828, allocations: 301.7 kB / 0.5673 GB, free: 15.17 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.3829, allocations: 8.031 kB / 0.5673 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.904e-05/0.383, allocations: 76.22 kB / 0.5673 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.3831, allocations: 181.8 kB / 0.5675 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.308e-05/0.3832, allocations: 158.9 kB / 0.5677 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.009e-05/0.3832, allocations: 158.9 kB / 0.5678 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.025e-05/0.3833, allocations: 105.3 kB / 0.5679 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.785e-05/0.3834, allocations: 75.28 kB / 0.568 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.228e-05/0.3834, allocations: 150.6 kB / 0.5681 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.205e-05/0.3835, allocations: 150.6 kB / 0.5683 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.064e-05/0.3836, allocations: 158.6 kB / 0.5684 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003177/0.3839, allocations: 413 kB / 0.5688 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.384, allocations: 169.1 kB / 0.569 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.834e-05/0.384, allocations: 80.14 kB / 0.5691 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.856e-05/0.3841, allocations: 75.28 kB / 0.5691 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.079e-05/0.3841, allocations: 125.8 kB / 0.5693 GB, free: 13.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.3841, allocations: 0 / 0.5693 GB, free: 13.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.36e-05/0.3842, allocations: 33.69 kB / 0.5693 GB, free: 12.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.3843, allocations: 160.3 kB / 0.5694 GB, free: 12.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.666e-05/0.3844, allocations: 89.86 kB / 0.5695 GB, free: 12.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.3844, allocations: 25.7 kB / 0.5695 GB, free: 12.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.509e-05/0.3845, allocations: 80.14 kB / 0.5696 GB, free: 12.6 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.355e-06/0.3845, allocations: 4 kB / 0.5696 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.213e-05/0.3845, allocations: 13.72 kB / 0.5696 GB, free: 12.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3846, allocations: 310.8 kB / 0.5699 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.789e-06/0.3847, allocations: 0 / 0.5699 GB, free: 12.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.279e-05/0.3847, allocations: 25.7 kB / 0.57 GB, free: 12.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.549e-05/0.3847, allocations: 75.28 kB / 0.57 GB, free: 12.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.155e-05/0.3848, allocations: 79.28 kB / 0.5701 GB, free: 12.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.686e-05/0.3848, allocations: 29.69 kB / 0.5701 GB, free: 12.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.632e-05/0.3849, allocations: 89.75 kB / 0.5702 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.13e-05/0.3849, allocations: 91.3 kB / 0.5703 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001009/0.385, allocations: 150.6 kB / 0.5705 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.465e-05/0.385, allocations: 79.22 kB / 0.5705 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-05/0.3851, allocations: 150.6 kB / 0.5707 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.249e-05/0.3852, allocations: 83.22 kB / 0.5708 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/0.3852, allocations: 83.22 kB / 0.5708 GB, free: 11.33 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.0001451/0.3854, allocations: 260.4 kB / 0.5711 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.548e-05/0.3854, allocations: 112.9 kB / 0.5712 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.398e-05/0.3855, allocations: 111.7 kB / 0.5713 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.805e-05/0.3856, allocations: 176.3 kB / 0.5715 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001027/0.3857, allocations: 184.3 kB / 0.5716 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.144e-05/0.3858, allocations: 188.2 kB / 0.5718 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.3861, allocations: 368.3 kB / 0.5722 GB, free: 9.859 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.043e-05/0.3861, allocations: 108.9 kB / 0.5723 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.417e-05/0.3862, allocations: 105 kB / 0.5724 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.842e-05/0.3862, allocations: 184.2 kB / 0.5725 GB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-05/0.3863, allocations: 184.2 kB / 0.5727 GB, free: 9.262 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.369e-05/0.3864, allocations: 176.3 kB / 0.5729 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.663e-05/0.3865, allocations: 188.2 kB / 0.5731 GB, free: 8.891 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.3867, allocations: 299.8 kB / 0.5734 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.598e-05/0.3867, allocations: 112.9 kB / 0.5735 GB, free: 8.457 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.3869, allocations: 184.2 kB / 0.5736 GB, free: 8.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.413e-05/0.387, allocations: 104.9 kB / 0.5737 GB, free: 8.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.363e-05/0.3871, allocations: 180.3 kB / 0.5739 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.782e-05/0.3871, allocations: 108.9 kB / 0.574 GB, free: 7.863 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.414e-05/0.3872, allocations: 75.28 kB / 0.5741 GB, free: 7.789 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3872, allocations: 4 kB / 0.5741 GB, free: 7.785 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005973/0.3878, allocations: 151.6 kB / 0.5742 GB, free: 7.637 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.0007837/0.3886, allocations: 344.3 kB / 0.5746 GB, free: 7.293 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.38e-05/0.3886, allocations: 0 / 0.5746 GB, free: 7.293 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3886, allocations: 0 / 0.5746 GB, free: 7.293 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.566e-06/0.3886, allocations: 4 kB / 0.5746 GB, free: 7.289 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.389, allocations: 451.7 kB / 0.575 GB, free: 6.844 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001804/0.3892, allocations: 160.7 kB / 0.5752 GB, free: 6.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.3895, allocations: 0.669 MB / 0.5758 GB, free: 5.965 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.265e-06/0.3895, allocations: 0 / 0.5758 GB, free: 5.965 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.998e-05/0.3895, allocations: 11.44 kB / 0.5758 GB, free: 5.953 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3895, allocations: 0 / 0.5758 GB, free: 5.953 MB / 414.1 MB Notification: Performance of Templates: time 0.007721/0.3972, allocations: 3.452 MB / 0.5792 GB, free: 2.5 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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: 5.089128258172423]