Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.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.001209/0.001209, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001327/0.001327, allocations: 214.8 kB / 24.52 MB, free: 3.91 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.357/1.357, allocations: 230.5 MB / 258.2 MB, free: 7.793 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.2136/0.2136, allocations: 46.95 MB / 361.6 MB, free: 3.918 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.TestMatrices2b,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 79.86 kB / 0.4969 GB, free: 7.566 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3029, allocations: 66.08 MB / 0.5614 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001565/0.3044, allocations: 485.1 kB / 0.5619 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002988/0.3074, allocations: 2.067 MB / 0.5639 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.826e-05/0.3074, allocations: 0 / 0.5639 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.493e-05/0.3075, allocations: 0 / 0.5639 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.07e-06/0.3075, allocations: 0 / 0.5639 GB, free: 1.48 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001985/0.3094, allocations: 0.759 MB / 0.5647 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.504e-05/0.3095, allocations: 3.984 kB / 0.5647 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.299e-05/0.3095, allocations: 8 kB / 0.5647 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.608e-05/0.3095, allocations: 3.938 kB / 0.5647 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.613e-05/0.3096, allocations: 0 / 0.5647 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.18e-06/0.3096, allocations: 0 / 0.5647 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002153/0.3117, allocations: 1.568 MB / 0.5662 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.143e-06/0.3117, allocations: 0 / 0.5662 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.666e-05/0.3117, allocations: 0 / 0.5662 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001601/0.3133, allocations: 1.553 MB / 0.5677 GB, free: 13.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3134, allocations: 0 / 0.5677 GB, free: 13.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3134, allocations: 4 kB / 0.5677 GB, free: 13.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.3134, allocations: 0 / 0.5677 GB, free: 13.59 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005479/0.3139, allocations: 343.3 kB / 0.568 GB, free: 13.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.3139, allocations: 11.97 kB / 0.5681 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.612e-05/0.314, allocations: 192 / 0.5681 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.513e-05/0.314, allocations: 38.69 kB / 0.5681 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.245e-05/0.314, allocations: 0.9375 kB / 0.5681 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.653e-05/0.3141, allocations: 110.5 kB / 0.5682 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.3141, allocations: 4.375 kB / 0.5682 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-06/0.3141, allocations: 4.375 kB / 0.5682 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.3142, allocations: 59.34 kB / 0.5683 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.3142, allocations: 0 / 0.5683 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.3142, allocations: 0 / 0.5683 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.3142, allocations: 0 / 0.5683 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.024e-05/0.3143, allocations: 29.7 kB / 0.5683 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001398/0.3144, allocations: 116.8 kB / 0.5684 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.355e-05/0.3145, allocations: 52.25 kB / 0.5685 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.176e-05/0.3145, allocations: 30.56 kB / 0.5685 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.3145, allocations: 8 kB / 0.5685 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.564e-05/0.3146, allocations: 60.27 kB / 0.5685 GB, free: 12.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 2.484e-06/0.3146, allocations: 3.984 kB / 0.5686 GB, free: 12.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001985/0.3148, allocations: 126.7 kB / 0.5687 GB, free: 12.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/0.3148, allocations: 77.11 kB / 0.5687 GB, free: 12.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.126e-05/0.3149, allocations: 93.8 kB / 0.5688 GB, free: 12.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.3149, allocations: 25.7 kB / 0.5689 GB, free: 12.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.348e-05/0.3149, allocations: 84.14 kB / 0.5689 GB, free: 12.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.3149, allocations: 0 / 0.5689 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.315, allocations: 9.719 kB / 0.569 GB, free: 12.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3151, allocations: 323 kB / 0.5693 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.449e-05/0.3151, allocations: 29.7 kB / 0.5693 GB, free: 11.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.416e-05/0.3151, allocations: 25.7 kB / 0.5693 GB, free: 11.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.449e-05/0.3152, allocations: 60.27 kB / 0.5694 GB, free: 11.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.3152, allocations: 0 / 0.5694 GB, free: 11.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.073e-05/0.3153, allocations: 101 kB / 0.5695 GB, free: 11.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/0.3153, allocations: 31.89 kB / 0.5695 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.3153, allocations: 4 kB / 0.5695 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3153, allocations: 0 / 0.5695 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-07/0.3153, allocations: 0 / 0.5695 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.3154, allocations: 4.094 kB / 0.5695 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.353e-05/0.3154, allocations: 0 / 0.5695 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.3154, allocations: 0 / 0.5695 GB, free: 11.46 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 8.99e-05/0.3155, allocations: 136.9 kB / 0.5696 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.118e-05/0.3155, allocations: 3.938 kB / 0.5696 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.179e-05/0.3155, allocations: 6.984 kB / 0.5696 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.11e-07/0.3155, allocations: 0 / 0.5696 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3155, allocations: 3.938 kB / 0.5696 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.3155, allocations: 4 kB / 0.5697 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.728e-05/0.3156, allocations: 112.8 kB / 0.5698 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.3156, allocations: 4 kB / 0.5698 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.434e-06/0.3156, allocations: 3.938 kB / 0.5698 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.3156, allocations: 0 / 0.5698 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.3156, allocations: 8 kB / 0.5698 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.3156, allocations: 0 / 0.5698 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.3156, allocations: 3.984 kB / 0.5698 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.3157, allocations: 116.5 kB / 0.5699 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.935e-06/0.3157, allocations: 7.922 kB / 0.5699 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.3158, allocations: 4 kB / 0.5699 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.879e-06/0.3158, allocations: 4 kB / 0.5699 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.218e-06/0.3158, allocations: 4.031 kB / 0.5699 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.3158, allocations: 3.938 kB / 0.5699 GB, free: 10.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.317e-05/0.3158, allocations: 75.28 kB / 0.57 GB, free: 10.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3158, allocations: 0 / 0.57 GB, free: 10.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007754/0.3166, allocations: 275.5 kB / 0.5702 GB, free: 10.61 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.001649/0.3182, allocations: 0.9671 MB / 0.5712 GB, free: 9.609 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001336/0.3184, allocations: 114.7 kB / 0.5713 GB, free: 9.473 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3184, allocations: 4 kB / 0.5713 GB, free: 9.469 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.02e-05/0.3184, allocations: 81.17 kB / 0.5714 GB, free: 9.371 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/0.3185, allocations: 4 kB / 0.5714 GB, free: 9.367 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004937/0.319, allocations: 192 kB / 0.5716 GB, free: 9.133 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.701e-05/0.3191, allocations: 55.36 kB / 0.5716 GB, free: 9.059 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.688e-06/0.3191, allocations: 0 / 0.5716 GB, free: 9.059 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.425e-05/0.3191, allocations: 11.42 kB / 0.5716 GB, free: 9.047 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3191, allocations: 0 / 0.5716 GB, free: 9.047 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02913/0.3482, allocations: 8.415 MB / 0.5798 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.2, allocations: 4.062 kB / 0.5799 GB, free: 0.7266 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.833335914998315] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.367159912013449 11.389065872 11.071699479 Calling exit ...