Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001617/0.001617, allocations: 103.6 kB / 21.19 MB, free: 0.6523 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.00184/0.00184, allocations: 211.6 kB / 24.48 MB, free: 3.957 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.528/1.528, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2258/0.2258, allocations: 44.94 MB / 359.6 MB, free: 6.066 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 67.89 kB / 0.4942 GB, free: 10.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3021, allocations: 65.48 MB / 0.5582 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001642/0.3037, allocations: 489.1 kB / 0.5586 GB, free: 7.008 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003062/0.3068, allocations: 1.957 MB / 0.5606 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.21e-06/0.3068, allocations: 4 kB / 0.5606 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.128e-06/0.3068, allocations: 0 / 0.5606 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.062e-06/0.3068, allocations: 0 / 0.5606 GB, free: 5.027 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.001735/0.3086, allocations: 0.5607 MB / 0.5611 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.871e-05/0.3086, allocations: 0 / 0.5611 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.038e-05/0.3086, allocations: 0 / 0.5611 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.263e-06/0.3086, allocations: 0 / 0.5611 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.969e-06/0.3086, allocations: 3.984 kB / 0.5611 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.576e-06/0.3086, allocations: 3.938 kB / 0.5611 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001333/0.31, allocations: 0.8537 MB / 0.5619 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.08e-05/0.31, allocations: 7.984 kB / 0.562 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.318e-05/0.31, allocations: 0 / 0.562 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009555/0.3109, allocations: 0.7663 MB / 0.5627 GB, free: 2.836 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3109, allocations: 0 / 0.5627 GB, free: 2.836 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3109, allocations: 0 / 0.5627 GB, free: 2.836 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.3109, allocations: 4 kB / 0.5627 GB, free: 2.832 MB / 398.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.0003503/0.3113, allocations: 301.7 kB / 0.563 GB, free: 2.508 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.3113, allocations: 12.03 kB / 0.563 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.191e-05/0.3114, allocations: 80.2 kB / 0.5631 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.3115, allocations: 181.8 kB / 0.5633 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.689e-05/0.3116, allocations: 154.9 kB / 0.5634 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.576e-05/0.3116, allocations: 150.9 kB / 0.5635 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.06e-05/0.3117, allocations: 109.2 kB / 0.5636 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.507e-05/0.3118, allocations: 79.27 kB / 0.5637 GB, free: 1.723 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.861e-05/0.3118, allocations: 154.6 kB / 0.5639 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.945e-05/0.3119, allocations: 154.6 kB / 0.564 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.452e-05/0.312, allocations: 154.5 kB / 0.5642 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002977/0.3123, allocations: 389.6 kB / 0.5645 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.3124, allocations: 177.1 kB / 0.5647 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.074e-05/0.3124, allocations: 84.12 kB / 0.5648 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.062e-05/0.3125, allocations: 79.28 kB / 0.5649 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.948e-05/0.3125, allocations: 113.9 kB / 0.565 GB, free: 396 kB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.3125, allocations: 0 / 0.565 GB, free: 396 kB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 6.977e-05/0.3126, allocations: 29.64 kB / 0.565 GB, free: 360 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.577e-05/0.3127, allocations: 152.4 kB / 0.5651 GB, free: 188 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.179e-05/0.3127, allocations: 89.86 kB / 0.5652 GB, free: 88 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.3127, allocations: 25.7 kB / 0.5653 GB, free: 56 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.024e-05/0.3128, allocations: 84.14 kB / 0.5653 GB, free: 15.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.542e-06/0.3128, allocations: 0 / 0.5653 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.3128, allocations: 13.72 kB / 0.5653 GB, free: 15.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.313, allocations: 314.8 kB / 0.5656 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.378e-06/0.313, allocations: 3.938 kB / 0.5657 GB, free: 15.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.264e-05/0.313, allocations: 29.7 kB / 0.5657 GB, free: 15.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.913e-05/0.313, allocations: 79.27 kB / 0.5658 GB, free: 15.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.378e-05/0.3131, allocations: 75.28 kB / 0.5658 GB, free: 15.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.647e-05/0.3131, allocations: 29.7 kB / 0.5659 GB, free: 15.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.122e-05/0.3132, allocations: 79.28 kB / 0.5659 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.089e-05/0.3132, allocations: 83.3 kB / 0.566 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.771e-05/0.3133, allocations: 162.5 kB / 0.5662 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.295e-05/0.3133, allocations: 75.28 kB / 0.5662 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.236e-05/0.3134, allocations: 162.4 kB / 0.5664 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.529e-05/0.3135, allocations: 87.3 kB / 0.5665 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.3135, allocations: 79.22 kB / 0.5666 GB, free: 14.69 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.0001306/0.3136, allocations: 256.4 kB / 0.5668 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.836e-05/0.3137, allocations: 105 kB / 0.5669 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.489e-05/0.3138, allocations: 111.7 kB / 0.567 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-05/0.3138, allocations: 184.2 kB / 0.5672 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-05/0.3139, allocations: 184.2 kB / 0.5674 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.601e-05/0.314, allocations: 180.2 kB / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.3142, allocations: 348.9 kB / 0.5679 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.496e-05/0.3143, allocations: 105 kB / 0.568 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.576e-05/0.3143, allocations: 112.9 kB / 0.5681 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.958e-05/0.3144, allocations: 188.2 kB / 0.5682 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-05/0.3145, allocations: 180.2 kB / 0.5684 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.323e-05/0.3145, allocations: 180.2 kB / 0.5686 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.862e-05/0.3146, allocations: 180.3 kB / 0.5688 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.3148, allocations: 307.8 kB / 0.5691 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.003e-05/0.3148, allocations: 104.9 kB / 0.5692 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.723e-05/0.3149, allocations: 180.3 kB / 0.5693 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.827e-05/0.315, allocations: 104.9 kB / 0.5694 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.755e-05/0.3151, allocations: 184.2 kB / 0.5696 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.092e-05/0.3151, allocations: 113 kB / 0.5697 GB, free: 11.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.889e-05/0.3152, allocations: 75.28 kB / 0.5698 GB, free: 11.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3152, allocations: 0 / 0.5698 GB, free: 11.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006189/0.3158, allocations: 147.6 kB / 0.5699 GB, free: 11.04 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.0007164/0.3165, allocations: 349.7 kB / 0.5703 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.193e-05/0.3166, allocations: 11.88 kB / 0.5703 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3166, allocations: 0 / 0.5703 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.326e-06/0.3166, allocations: 4 kB / 0.5703 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.3169, allocations: 455.7 kB / 0.5707 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001738/0.3171, allocations: 174 kB / 0.5709 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.871e-05/0.3172, allocations: 51.36 kB / 0.5709 GB, free: 9.965 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.311e-05/0.3172, allocations: 7.438 kB / 0.5709 GB, free: 9.957 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3172, allocations: 4 kB / 0.5709 GB, free: 9.953 MB / 414.1 MB Notification: Performance of Templates: time 0.005427/0.3226, allocations: 2.959 MB / 0.5738 GB, free: 6.996 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 9.350277232006192]