Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.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.001267/0.001267, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001388/0.001388, allocations: 209.5 kB / 23.73 MB, free: 4.523 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.431/1.431, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.2223/0.2223, allocations: 46.96 MB / 360.9 MB, free: 4.008 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: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 67.88 kB / 0.4961 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2994, allocations: 66.04 MB / 0.5606 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001579/0.301, allocations: 492 kB / 0.561 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002159/0.3031, allocations: 1.555 MB / 0.5626 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.555e-05/0.3032, allocations: 0 / 0.5626 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.214e-05/0.3032, allocations: 0 / 0.5626 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.042e-06/0.3032, allocations: 0 / 0.5626 GB, free: 2.148 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:171:3-212:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.000957/0.3041, allocations: 295.2 kB / 0.5628 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.462e-05/0.3042, allocations: 8 kB / 0.5629 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.232e-05/0.3042, allocations: 4 kB / 0.5629 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.414e-05/0.3042, allocations: 3.984 kB / 0.5629 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.632e-05/0.3042, allocations: 0 / 0.5629 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.27e-06/0.3042, allocations: 4 kB / 0.5629 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006682/0.3049, allocations: 431 kB / 0.5633 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.823e-06/0.3049, allocations: 3.938 kB / 0.5633 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.191e-05/0.3049, allocations: 4 kB / 0.5633 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004315/0.3054, allocations: 309 kB / 0.5636 GB, free: 1.109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3054, allocations: 0 / 0.5636 GB, free: 1.109 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3054, allocations: 0 / 0.5636 GB, free: 1.109 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.3054, allocations: 0 / 0.5636 GB, free: 1.109 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003381/0.3057, allocations: 299.7 kB / 0.5639 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.3058, allocations: 12.03 kB / 0.5639 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.198e-05/0.3058, allocations: 38.69 kB / 0.5639 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.413e-05/0.3058, allocations: 0.9375 kB / 0.5639 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.744e-05/0.3059, allocations: 106.5 kB / 0.564 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.3059, allocations: 384 / 0.564 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.3059, allocations: 4.375 kB / 0.564 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.77e-05/0.306, allocations: 55.53 kB / 0.5641 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.306, allocations: 0 / 0.5641 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.781e-06/0.306, allocations: 0 / 0.5641 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.306, allocations: 4 kB / 0.5641 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.829e-05/0.306, allocations: 29.69 kB / 0.5641 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.3062, allocations: 116.8 kB / 0.5642 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.897e-05/0.3062, allocations: 52.22 kB / 0.5643 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.775e-05/0.3063, allocations: 30.56 kB / 0.5643 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.374e-06/0.3063, allocations: 4.062 kB / 0.5643 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.3e-05/0.3063, allocations: 64.19 kB / 0.5644 GB, free: 144 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.61e-07/0.3063, allocations: 0 / 0.5644 GB, free: 144 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001804/0.3065, allocations: 114.8 kB / 0.5645 GB, free: 4 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.37e-05/0.3066, allocations: 81.05 kB / 0.5645 GB, free: 15.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.254e-05/0.3066, allocations: 97.81 kB / 0.5646 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.3067, allocations: 25.7 kB / 0.5647 GB, free: 15.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.628e-05/0.3067, allocations: 92.19 kB / 0.5648 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.308e-05/0.3067, allocations: 0 / 0.5648 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/0.3067, allocations: 13.72 kB / 0.5648 GB, free: 15.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.3069, allocations: 314.8 kB / 0.5651 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.286e-05/0.3069, allocations: 29.7 kB / 0.5651 GB, free: 15.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.882e-05/0.3069, allocations: 25.7 kB / 0.5651 GB, free: 15.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.279e-05/0.307, allocations: 60.27 kB / 0.5652 GB, free: 15.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.307, allocations: 0 / 0.5652 GB, free: 15.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.626e-05/0.307, allocations: 97.03 kB / 0.5653 GB, free: 15.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.48e-05/0.3071, allocations: 41.73 kB / 0.5653 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.3071, allocations: 0 / 0.5653 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.3071, allocations: 0 / 0.5653 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/0.3071, allocations: 0 / 0.5653 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.596e-06/0.3071, allocations: 0 / 0.5653 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.479e-05/0.3071, allocations: 3.938 kB / 0.5653 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.3071, allocations: 4 kB / 0.5653 GB, free: 15.03 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.802e-05/0.3072, allocations: 135.5 kB / 0.5654 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-06/0.3072, allocations: 3.938 kB / 0.5654 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.226e-05/0.3072, allocations: 7 kB / 0.5655 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.3072, allocations: 4 kB / 0.5655 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.3072, allocations: 0 / 0.5655 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.3073, allocations: 0 / 0.5655 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.607e-05/0.3073, allocations: 116.8 kB / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.3073, allocations: 0 / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.534e-06/0.3073, allocations: 4 kB / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3074, allocations: 3.938 kB / 0.5656 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.3074, allocations: 3.984 kB / 0.5656 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.3074, allocations: 0 / 0.5656 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3074, allocations: 0 / 0.5656 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.3075, allocations: 124.5 kB / 0.5657 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-06/0.3075, allocations: 7.969 kB / 0.5657 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.3075, allocations: 4 kB / 0.5657 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.126e-06/0.3075, allocations: 0 / 0.5657 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.869e-06/0.3075, allocations: 0 / 0.5657 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-06/0.3075, allocations: 0 / 0.5657 GB, free: 14.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.233e-05/0.3076, allocations: 75.28 kB / 0.5658 GB, free: 14.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3076, allocations: 3.938 kB / 0.5658 GB, free: 14.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002982/0.3079, allocations: 63.8 kB / 0.5658 GB, free: 14.39 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0007875/0.3086, allocations: 0.7466 MB / 0.5666 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001346/0.3088, allocations: 126.7 kB / 0.5667 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3088, allocations: 0 / 0.5667 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.273e-05/0.3088, allocations: 89.05 kB / 0.5668 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/0.309, allocations: 0 / 0.5668 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003471/0.3093, allocations: 148.2 kB / 0.5669 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.324e-05/0.3094, allocations: 59.34 kB / 0.567 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.039e-06/0.3094, allocations: 0 / 0.567 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.636e-05/0.3094, allocations: 7.438 kB / 0.567 GB, free: 13.09 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3094, allocations: 0 / 0.567 GB, free: 13.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02791/0.3373, allocations: 2.663 MB / 0.5696 GB, free: 10.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.05, allocations: 10.91 kB / 0.5696 GB, free: 10.54 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.761005387001205] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.14911908499198 11.164596218 10.856195112 Calling exit ...