Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001729/0.001729, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002004/0.002004, allocations: 213.9 kB / 23.54 MB, free: 5.398 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 230.2 MB / 256.8 MB, free: 8.633 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2242/0.2242, allocations: 46.9 MB / 359.9 MB, free: 4.977 MB / 286.1 MB [Timeout remaining time 90] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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=500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002278, allocations: 79.88 kB / 0.495 GB, free: 8.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3076, allocations: 65.99 MB / 0.5594 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001582/0.3092, allocations: 497 kB / 0.5599 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003108/0.3123, allocations: 2.054 MB / 0.5619 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.629e-06/0.3123, allocations: 0 / 0.5619 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.948e-06/0.3123, allocations: 0 / 0.5619 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.372e-06/0.3123, allocations: 0 / 0.5619 GB, free: 2.609 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.001693/0.314, allocations: 0.5052 MB / 0.5624 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.501e-05/0.314, allocations: 0 / 0.5624 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.654e-05/0.314, allocations: 4 kB / 0.5624 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.123e-06/0.3141, allocations: 0 / 0.5624 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.809e-06/0.3141, allocations: 3.938 kB / 0.5624 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.447e-06/0.3141, allocations: 4 kB / 0.5624 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.3155, allocations: 0.9707 MB / 0.5633 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.083e-06/0.3155, allocations: 0 / 0.5633 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.027e-05/0.3155, allocations: 0 / 0.5633 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.3166, allocations: 0.8052 MB / 0.5641 GB, free: 328 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3166, allocations: 0 / 0.5641 GB, free: 328 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3166, allocations: 3.938 kB / 0.5641 GB, free: 324 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.3166, allocations: 0 / 0.5641 GB, free: 324 kB / 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.0004508/0.317, allocations: 382.8 kB / 0.5645 GB, free: 15.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.3171, allocations: 8.031 kB / 0.5645 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.618e-05/0.3171, allocations: 80.22 kB / 0.5646 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.3173, allocations: 243.6 kB / 0.5648 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-05/0.3174, allocations: 150.9 kB / 0.565 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.694e-05/0.3174, allocations: 154.9 kB / 0.5651 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.405e-05/0.3175, allocations: 105.3 kB / 0.5652 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.494e-05/0.3175, allocations: 79.28 kB / 0.5653 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.383e-05/0.3176, allocations: 150.6 kB / 0.5654 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.09e-05/0.3177, allocations: 150.6 kB / 0.5656 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.57e-05/0.3177, allocations: 150.6 kB / 0.5657 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003409/0.3181, allocations: 453.9 kB / 0.5661 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.3182, allocations: 173.1 kB / 0.5663 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.281e-05/0.3182, allocations: 84.12 kB / 0.5664 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.3183, allocations: 75.28 kB / 0.5665 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.863e-05/0.3183, allocations: 109.8 kB / 0.5666 GB, free: 13.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.3183, allocations: 0 / 0.5666 GB, free: 13.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.746e-05/0.3184, allocations: 41.64 kB / 0.5666 GB, free: 13.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.3185, allocations: 152.4 kB / 0.5667 GB, free: 13.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.811e-05/0.3186, allocations: 89.86 kB / 0.5668 GB, free: 13.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.3186, allocations: 25.7 kB / 0.5669 GB, free: 13.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.547e-05/0.3186, allocations: 80.14 kB / 0.5669 GB, free: 13.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.803e-06/0.3186, allocations: 0 / 0.5669 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/0.3186, allocations: 13.72 kB / 0.5669 GB, free: 13.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3188, allocations: 314.8 kB / 0.5672 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.111e-06/0.3188, allocations: 4 kB / 0.5672 GB, free: 12.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.917e-05/0.3188, allocations: 3.984 kB / 0.5673 GB, free: 12.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.318e-05/0.3188, allocations: 75.28 kB / 0.5673 GB, free: 12.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.775e-05/0.3189, allocations: 75.28 kB / 0.5674 GB, free: 12.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.454e-05/0.3189, allocations: 33.64 kB / 0.5674 GB, free: 12.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.568e-05/0.319, allocations: 83.22 kB / 0.5675 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.564e-05/0.319, allocations: 83.36 kB / 0.5676 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.402e-05/0.3191, allocations: 158.6 kB / 0.5677 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.088e-05/0.3191, allocations: 79.27 kB / 0.5678 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.102e-05/0.3192, allocations: 154.6 kB / 0.568 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.844e-05/0.3193, allocations: 83.2 kB / 0.568 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-05/0.3193, allocations: 79.28 kB / 0.5681 GB, free: 11.98 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.0001519/0.3195, allocations: 264.4 kB / 0.5684 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.49e-05/0.3195, allocations: 104.9 kB / 0.5685 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.216e-05/0.3196, allocations: 115.8 kB / 0.5686 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.964e-05/0.3197, allocations: 180.2 kB / 0.5688 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.632e-05/0.3198, allocations: 184.2 kB / 0.5689 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.57e-05/0.3198, allocations: 176.3 kB / 0.5691 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.3201, allocations: 405.2 kB / 0.5695 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.033e-05/0.3201, allocations: 108.9 kB / 0.5696 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.556e-05/0.3202, allocations: 101 kB / 0.5697 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.14e-05/0.3203, allocations: 184.1 kB / 0.5699 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.203e-05/0.3204, allocations: 180.3 kB / 0.57 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.57e-05/0.3205, allocations: 184.1 kB / 0.5702 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.002e-05/0.3206, allocations: 184.3 kB / 0.5704 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.3207, allocations: 307.8 kB / 0.5707 GB, free: 9.191 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.237e-05/0.3208, allocations: 178.1 kB / 0.5708 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.974e-05/0.3209, allocations: 192.1 kB / 0.571 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.058e-05/0.321, allocations: 109 kB / 0.5711 GB, free: 8.684 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.209e-05/0.3211, allocations: 176.3 kB / 0.5713 GB, free: 8.504 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.526e-05/0.3212, allocations: 104.9 kB / 0.5714 GB, free: 8.395 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.451e-05/0.3212, allocations: 75.28 kB / 0.5715 GB, free: 8.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3212, allocations: 4 kB / 0.5715 GB, free: 8.316 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006865/0.3219, allocations: 151.6 kB / 0.5716 GB, free: 8.168 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.000769/0.3226, allocations: 345.9 kB / 0.5719 GB, free: 7.824 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.629e-05/0.3227, allocations: 4 kB / 0.572 GB, free: 7.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3227, allocations: 4 kB / 0.572 GB, free: 7.816 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.3227, allocations: 0 / 0.572 GB, free: 7.816 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.3231, allocations: 455.6 kB / 0.5724 GB, free: 7.367 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00019/0.3233, allocations: 174.1 kB / 0.5726 GB, free: 7.164 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.3236, allocations: 0.669 MB / 0.5732 GB, free: 6.469 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.317e-05/0.3236, allocations: 7.438 kB / 0.5732 GB, free: 6.461 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3236, allocations: 4 kB / 0.5732 GB, free: 6.457 MB / 414.1 MB Notification: Performance of Templates: time 0.006024/0.3296, allocations: 2.956 MB / 0.5761 GB, free: 3.508 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches