Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.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.001358/0.001358, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.001455/0.001455, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.536/1.536, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2273/0.2273, allocations: 46.91 MB / 357.4 MB, free: 10.47 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.TestMatrices2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002222/0.002222, allocations: 75.88 kB / 0.4912 GB, free: 8.336 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1295, allocations: 65.99 MB / 0.5557 GB, free: 6.219 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.00205/0.1316, allocations: 0.4903 MB / 0.5562 GB, free: 5.723 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00827/0.1399, allocations: 4.909 MB / 0.5609 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.8e-05/0.1399, allocations: 0 / 0.5609 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/0.1399, allocations: 0 / 0.5609 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.573e-06/0.1399, allocations: 0 / 0.5609 GB, free: 0.7852 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:214:3-483:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.007906/0.1478, allocations: 2.95 MB / 0.5638 GB, free: 13.85 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.74e-05/0.1479, allocations: 0 / 0.5638 GB, free: 13.85 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.342e-05/0.1479, allocations: 3.984 kB / 0.5638 GB, free: 13.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.882e-05/0.148, allocations: 4 kB / 0.5638 GB, free: 13.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.758e-05/0.148, allocations: 4 kB / 0.5638 GB, free: 13.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.021e-06/0.148, allocations: 0 / 0.5638 GB, free: 13.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02728/0.1753, allocations: 19.57 MB / 0.5829 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.324e-05/0.1753, allocations: 0 / 0.5829 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.716e-05/0.1753, allocations: 3.938 kB / 0.5829 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3313/0.5066, allocations: 27.47 MB / 0.6098 GB, free: 21.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.5066, allocations: 5.656 kB / 0.6098 GB, free: 21.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5067, allocations: 0 / 0.6098 GB, free: 21.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.5067, allocations: 0 / 0.6098 GB, free: 21.03 MB / 446.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.01826/0.5249, allocations: 0.669 MB / 0.6104 GB, free: 20.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.525, allocations: 11 kB / 0.6104 GB, free: 20.45 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.07e-05/0.525, allocations: 33.47 kB / 0.6105 GB, free: 20.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.525, allocations: 6.656 kB / 0.6105 GB, free: 20.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.572e-05/0.5251, allocations: 160.4 kB / 0.6106 GB, free: 20.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.5251, allocations: 5.719 kB / 0.6106 GB, free: 20.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.5251, allocations: 1.156 kB / 0.6106 GB, free: 20.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.203e-05/0.5252, allocations: 34.78 kB / 0.6107 GB, free: 20.17 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.5252, allocations: 0 / 0.6107 GB, free: 20.17 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.5252, allocations: 0 / 0.6107 GB, free: 20.17 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.5252, allocations: 1.219 kB / 0.6107 GB, free: 20.17 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.945e-05/0.5253, allocations: 2.969 kB / 0.6107 GB, free: 20.17 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001099/0.5254, allocations: 150.2 kB / 0.6108 GB, free: 19.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.049e-05/0.5254, allocations: 20.08 kB / 0.6108 GB, free: 19.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.467e-05/0.5254, allocations: 15.98 kB / 0.6109 GB, free: 19.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.629e-06/0.5254, allocations: 1.094 kB / 0.6109 GB, free: 19.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.5255, allocations: 57.7 kB / 0.6109 GB, free: 19.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.5255, allocations: 0 / 0.6109 GB, free: 19.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.000198/0.5257, allocations: 61.75 kB / 0.611 GB, free: 19.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.5257, allocations: 81.84 kB / 0.6111 GB, free: 19.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.89e-05/0.5257, allocations: 89.86 kB / 0.6111 GB, free: 19.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.684e-06/0.5257, allocations: 31.55 kB / 0.6112 GB, free: 19.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.139e-05/0.5257, allocations: 83.89 kB / 0.6112 GB, free: 19.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.5258, allocations: 0 / 0.6112 GB, free: 19.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.24e-05/0.5258, allocations: 12.53 kB / 0.6113 GB, free: 19.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.678e-05/0.5258, allocations: 310.8 kB / 0.6116 GB, free: 19.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.678e-06/0.5258, allocations: 1.281 kB / 0.6116 GB, free: 19.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.923e-06/0.5258, allocations: 1.312 kB / 0.6116 GB, free: 19.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.53e-05/0.5259, allocations: 67.84 kB / 0.6116 GB, free: 19.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.5259, allocations: 8.562 kB / 0.6116 GB, free: 19.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.202e-05/0.5259, allocations: 59.84 kB / 0.6117 GB, free: 19.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.526, allocations: 31.3 kB / 0.6117 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.526, allocations: 0 / 0.6117 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.526, allocations: 1.125 kB / 0.6117 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.823e-06/0.526, allocations: 2.766 kB / 0.6117 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.526, allocations: 4.969 kB / 0.6117 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.611e-05/0.526, allocations: 0 / 0.6117 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.526, allocations: 1.156 kB / 0.6117 GB, free: 19.02 MB / 446.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 5.422e-05/0.5261, allocations: 144.2 kB / 0.6119 GB, free: 18.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.083e-05/0.5261, allocations: 12.12 kB / 0.6119 GB, free: 18.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.138e-05/0.5261, allocations: 5.438 kB / 0.6119 GB, free: 18.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.5261, allocations: 5.125 kB / 0.6119 GB, free: 18.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.5261, allocations: 0 / 0.6119 GB, free: 18.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.5261, allocations: 1.344 kB / 0.6119 GB, free: 18.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.063e-05/0.5262, allocations: 146.7 kB / 0.612 GB, free: 18.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.5262, allocations: 0 / 0.612 GB, free: 18.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.394e-06/0.5262, allocations: 7.781 kB / 0.612 GB, free: 18.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.5262, allocations: 0.5 kB / 0.612 GB, free: 18.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.5262, allocations: 1.812 kB / 0.612 GB, free: 18.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.5262, allocations: 0 / 0.612 GB, free: 18.67 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5262, allocations: 3.891 kB / 0.612 GB, free: 18.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.891e-05/0.5263, allocations: 98.33 kB / 0.6121 GB, free: 18.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.925e-05/0.5263, allocations: 77.11 kB / 0.6122 GB, free: 18.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.5263, allocations: 1.188 kB / 0.6122 GB, free: 18.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.859e-06/0.5263, allocations: 1.469 kB / 0.6122 GB, free: 18.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.213e-05/0.5263, allocations: 3.375 kB / 0.6122 GB, free: 18.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.5263, allocations: 4.594 kB / 0.6122 GB, free: 18.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.396e-05/0.5263, allocations: 77.84 kB / 0.6123 GB, free: 18.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 5e-08/0.5263, allocations: 0 / 0.6123 GB, free: 18.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.02228/0.5486, allocations: 3.786 MB / 0.616 GB, free: 17.68 MB / 446.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.03881/0.5874, allocations: 1.515 MB / 0.6175 GB, free: 16.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001244/0.5875, allocations: 60.98 kB / 0.6175 GB, free: 16.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.5875, allocations: 0 / 0.6175 GB, free: 16.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.859e-05/0.5876, allocations: 55.41 kB / 0.6176 GB, free: 16.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001624/0.5877, allocations: 4.625 kB / 0.6176 GB, free: 16.24 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01377/0.6015, allocations: 343.8 kB / 0.6179 GB, free: 15.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.564e-05/0.6016, allocations: 0.6729 MB / 0.6186 GB, free: 15.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.173e-06/0.6016, allocations: 0 / 0.6186 GB, free: 15.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.354e-05/0.6016, allocations: 11.44 kB / 0.6186 GB, free: 15.19 MB / 446.1 MB Notification: Performance of SimCode: time 1.503e-06/0.6016, allocations: 0 / 0.6186 GB, free: 15.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1864/0.788, allocations: 113.8 MB / 0.7297 GB, free: 13.54 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.62/16.41, allocations: 12.53 kB / 0.7297 GB, free: 13.53 MB / 0.545 GB " [Timeout remaining time 643] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.45352486614138] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 16.519079961813986 16.542504962 16.031278755 Calling exit ...