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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001341/0.001341, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 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.001486/0.001486, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.453/1.453, allocations: 230.5 MB / 257.4 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2232/0.2232, allocations: 46.95 MB / 360.8 MB, free: 3.883 MB / 286.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002595/0.002595, allocations: 79.88 kB / 0.4961 GB, free: 7.512 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3056, allocations: 66.08 MB / 0.5607 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001667/0.3073, allocations: 493.1 kB / 0.5611 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003097/0.3104, allocations: 1.961 MB / 0.5631 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.967e-06/0.3104, allocations: 4 kB / 0.5631 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.446e-06/0.3104, allocations: 0 / 0.5631 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.072e-06/0.3104, allocations: 0 / 0.5631 GB, free: 1.523 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.001835/0.3122, allocations: 0.5564 MB / 0.5636 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.227e-05/0.3122, allocations: 0 / 0.5636 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.541e-05/0.3122, allocations: 4 kB / 0.5636 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.252e-06/0.3122, allocations: 0 / 0.5636 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.574e-06/0.3123, allocations: 0 / 0.5636 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.146e-06/0.3123, allocations: 0 / 0.5636 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001461/0.3137, allocations: 0.8537 MB / 0.5644 GB, free: 112 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.623e-06/0.3137, allocations: 4 kB / 0.5645 GB, free: 108 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.328e-06/0.3137, allocations: 0 / 0.5645 GB, free: 108 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.3149, allocations: 0.7734 MB / 0.5652 GB, free: 15.33 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.3149, allocations: 0 / 0.5652 GB, free: 15.33 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.3149, allocations: 8 kB / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.3149, allocations: 0 / 0.5652 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.0004351/0.3154, allocations: 301.7 kB / 0.5655 GB, free: 15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.3154, allocations: 12.03 kB / 0.5655 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.854e-05/0.3155, allocations: 106 kB / 0.5656 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.429e-05/0.3156, allocations: 76.22 kB / 0.5657 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.3157, allocations: 185.8 kB / 0.5659 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.56e-05/0.3158, allocations: 154.9 kB / 0.566 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.392e-05/0.3158, allocations: 150.9 kB / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.421e-05/0.3159, allocations: 109.1 kB / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.591e-05/0.3159, allocations: 75.28 kB / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.409e-05/0.316, allocations: 158.6 kB / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-05/0.3161, allocations: 150.6 kB / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.219e-05/0.3162, allocations: 150.6 kB / 0.5668 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/0.3165, allocations: 425 kB / 0.5672 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.3166, allocations: 169.1 kB / 0.5673 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.324e-05/0.3166, allocations: 80.14 kB / 0.5674 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.775e-05/0.3167, allocations: 75.28 kB / 0.5675 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.851e-05/0.3167, allocations: 121.8 kB / 0.5676 GB, free: 12.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.252e-06/0.3167, allocations: 3.938 kB / 0.5676 GB, free: 12.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.612e-05/0.3168, allocations: 29.64 kB / 0.5676 GB, free: 12.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.3169, allocations: 156.4 kB / 0.5678 GB, free: 12.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.07e-05/0.317, allocations: 93.86 kB / 0.5679 GB, free: 12.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.317, allocations: 25.7 kB / 0.5679 GB, free: 12.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.844e-05/0.317, allocations: 80.14 kB / 0.568 GB, free: 12.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.734e-06/0.317, allocations: 0 / 0.568 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.3171, allocations: 9.719 kB / 0.568 GB, free: 12.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3172, allocations: 318.8 kB / 0.5683 GB, free: 11.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.861e-06/0.3172, allocations: 0 / 0.5683 GB, free: 11.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.943e-05/0.3173, allocations: 25.7 kB / 0.5683 GB, free: 11.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.564e-05/0.3173, allocations: 75.28 kB / 0.5684 GB, free: 11.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.963e-05/0.3173, allocations: 75.28 kB / 0.5685 GB, free: 11.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.982e-05/0.3174, allocations: 37.73 kB / 0.5685 GB, free: 11.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.878e-05/0.3174, allocations: 87.16 kB / 0.5686 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-05/0.3175, allocations: 79.36 kB / 0.5686 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.811e-05/0.3176, allocations: 154.6 kB / 0.5688 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.744e-05/0.3176, allocations: 79.22 kB / 0.5689 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.766e-05/0.3177, allocations: 154.5 kB / 0.569 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.542e-05/0.3178, allocations: 83.22 kB / 0.5691 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.056e-05/0.3178, allocations: 75.28 kB / 0.5692 GB, free: 11.05 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.0001507/0.318, allocations: 264.4 kB / 0.5694 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.939e-05/0.318, allocations: 104.9 kB / 0.5695 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.605e-05/0.3181, allocations: 115.7 kB / 0.5696 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-05/0.3182, allocations: 184.2 kB / 0.5698 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.26e-05/0.3183, allocations: 180.2 kB / 0.57 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.483e-05/0.3183, allocations: 176.3 kB / 0.5701 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002804/0.3186, allocations: 372.3 kB / 0.5705 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.399e-05/0.3187, allocations: 112.9 kB / 0.5706 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.667e-05/0.3187, allocations: 101 kB / 0.5707 GB, free: 9.359 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.693e-05/0.3188, allocations: 188.1 kB / 0.5709 GB, free: 9.168 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.38e-05/0.3189, allocations: 176.3 kB / 0.5711 GB, free: 8.988 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001403/0.319, allocations: 180.3 kB / 0.5712 GB, free: 8.805 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.523e-05/0.3191, allocations: 192.2 kB / 0.5714 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.3193, allocations: 299.8 kB / 0.5717 GB, free: 8.293 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.638e-05/0.3193, allocations: 108.9 kB / 0.5718 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.025e-05/0.3194, allocations: 188.2 kB / 0.572 GB, free: 7.988 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.634e-05/0.3195, allocations: 112.9 kB / 0.5721 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.95e-05/0.3196, allocations: 180.3 kB / 0.5723 GB, free: 7.688 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.742e-05/0.3197, allocations: 104.9 kB / 0.5724 GB, free: 7.578 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.533e-05/0.3197, allocations: 75.28 kB / 0.5724 GB, free: 7.504 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3197, allocations: 0 / 0.5724 GB, free: 7.504 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006517/0.3204, allocations: 155.6 kB / 0.5726 GB, free: 7.352 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.001147/0.3215, allocations: 0.9724 MB / 0.5735 GB, free: 6.355 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 3.927e-05/0.3215, allocations: 3.938 kB / 0.5735 GB, free: 6.352 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3215, allocations: 4 kB / 0.5735 GB, free: 6.348 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.3215, allocations: 4 kB / 0.5735 GB, free: 6.344 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.3219, allocations: 462.5 kB / 0.574 GB, free: 5.891 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004489/0.3224, allocations: 222.1 kB / 0.5742 GB, free: 5.633 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.668e-05/0.3224, allocations: 55.3 kB / 0.5742 GB, free: 5.559 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.073e-06/0.3224, allocations: 4 kB / 0.5742 GB, free: 5.555 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.592e-05/0.3225, allocations: 7.438 kB / 0.5743 GB, free: 5.547 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3225, allocations: 0 / 0.5743 GB, free: 5.547 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03246/0.3549, allocations: 4.837 MB / 0.579 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.82, allocations: 4 kB / 0.579 GB, free: 0.8008 MB / 414.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_trunk_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.805536389350891] Failed to read output from testmodel.py, exit status != 0: ['time'] 11.927880547940731 11.952148065 11.634038284 Calling exit ...