Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.TestMatrices3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001754/0.001754, allocations: 115.7 kB / 17.78 MB, free: 5.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002126/0.002127, allocations: 201.2 kB / 18.73 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.564/1.564, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2234/0.2234, allocations: 46.11 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 75.88 kB / 480.9 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3186, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001551/0.3202, allocations: 484 kB / 0.5311 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002133/0.3223, allocations: 1.567 MB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.837e-05/0.3223, allocations: 0 / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.122e-05/0.3224, allocations: 0 / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.06e-06/0.3224, allocations: 0 / 0.5326 GB, free: 11.76 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0008238/0.3232, allocations: 225.3 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.494e-05/0.3233, allocations: 7.938 kB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.62e-05/0.3233, allocations: 1.688 kB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.33e-05/0.3233, allocations: 1.25 kB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.618e-05/0.3234, allocations: 7.922 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.929e-06/0.3234, allocations: 0 / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009479/0.3243, allocations: 0.704 MB / 0.5335 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.883e-06/0.3243, allocations: 0 / 0.5335 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.898e-05/0.3244, allocations: 5.359 kB / 0.5335 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007349/0.3251, allocations: 0.6432 MB / 0.5342 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3251, allocations: 1.094 kB / 0.5342 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3251, allocations: 0 / 0.5342 GB, free: 11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.3251, allocations: 0 / 0.5342 GB, free: 11 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.0004609/0.3256, allocations: 372.3 kB / 0.5345 GB, free: 10.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.3256, allocations: 9.375 kB / 0.5345 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.565e-05/0.3257, allocations: 31.84 kB / 0.5346 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.223e-05/0.3257, allocations: 0.9375 kB / 0.5346 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.3258, allocations: 164.4 kB / 0.5347 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.3258, allocations: 5.812 kB / 0.5347 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.352e-06/0.3259, allocations: 1.719 kB / 0.5347 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.586e-05/0.3259, allocations: 30.95 kB / 0.5347 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.3259, allocations: 1.094 kB / 0.5347 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.326, allocations: 0 / 0.5347 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.326, allocations: 3.938 kB / 0.5348 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.793e-05/0.326, allocations: 6.219 kB / 0.5348 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001354/0.3261, allocations: 142.9 kB / 0.5349 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.164e-05/0.3262, allocations: 24.84 kB / 0.5349 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.358e-05/0.3262, allocations: 6.109 kB / 0.5349 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.932e-06/0.3262, allocations: 3.984 kB / 0.5349 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.122e-05/0.3263, allocations: 61.39 kB / 0.535 GB, free: 10.01 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.3263, allocations: 0 / 0.535 GB, free: 10.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001618/0.3264, allocations: 71.17 kB / 0.5351 GB, free: 9.934 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.3265, allocations: 77.11 kB / 0.5351 GB, free: 9.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.085e-05/0.3266, allocations: 99.12 kB / 0.5352 GB, free: 9.734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.3266, allocations: 25.7 kB / 0.5352 GB, free: 9.703 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.212e-05/0.3266, allocations: 80.14 kB / 0.5353 GB, free: 9.621 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.3266, allocations: 1.094 kB / 0.5353 GB, free: 9.621 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.748e-05/0.3267, allocations: 16.09 kB / 0.5353 GB, free: 9.602 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.3268, allocations: 314.8 kB / 0.5356 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-06/0.3268, allocations: 1.156 kB / 0.5356 GB, free: 9.285 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.909e-06/0.3268, allocations: 1.156 kB / 0.5356 GB, free: 9.285 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.454e-05/0.3269, allocations: 71.72 kB / 0.5357 GB, free: 9.203 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3269, allocations: 0 / 0.5357 GB, free: 9.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.86e-05/0.327, allocations: 62.22 kB / 0.5358 GB, free: 9.137 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.543e-05/0.327, allocations: 35.23 kB / 0.5358 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.327, allocations: 0 / 0.5358 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.327, allocations: 5.031 kB / 0.5358 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.846e-06/0.327, allocations: 0 / 0.5358 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.3271, allocations: 4.969 kB / 0.5358 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.418e-05/0.3271, allocations: 0 / 0.5358 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.3271, allocations: 5.078 kB / 0.5358 GB, free: 9.09 MB / 398.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.383e-05/0.3272, allocations: 137.6 kB / 0.5359 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.899e-06/0.3272, allocations: 5 kB / 0.536 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.855e-06/0.3272, allocations: 4.094 kB / 0.536 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3272, allocations: 0 / 0.536 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3272, allocations: 1.094 kB / 0.536 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.3272, allocations: 0 / 0.536 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.3273, allocations: 146.5 kB / 0.5361 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3273, allocations: 1.25 kB / 0.5361 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.585e-06/0.3274, allocations: 4 kB / 0.5361 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3274, allocations: 7.938 kB / 0.5361 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.3274, allocations: 0.9375 kB / 0.5361 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3274, allocations: 0.6562 kB / 0.5361 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3274, allocations: 5.156 kB / 0.5361 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.119e-05/0.3275, allocations: 88.39 kB / 0.5362 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.73e-05/0.3275, allocations: 86.23 kB / 0.5363 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.3276, allocations: 0.9062 kB / 0.5363 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.027e-06/0.3276, allocations: 5.219 kB / 0.5363 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.816e-06/0.3276, allocations: 0 / 0.5363 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.3276, allocations: 1.031 kB / 0.5363 GB, free: 8.523 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.201e-05/0.3276, allocations: 75.28 kB / 0.5364 GB, free: 8.449 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3276, allocations: 0.9062 kB / 0.5364 GB, free: 8.449 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004314/0.3281, allocations: 120.8 kB / 0.5365 GB, free: 8.438 MB / 398.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.001059/0.3291, allocations: 0.7161 MB / 0.5372 GB, free: 7.754 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 8.858e-05/0.3292, allocations: 60.72 kB / 0.5372 GB, free: 7.688 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3292, allocations: 0 / 0.5372 GB, free: 7.688 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.068e-05/0.3293, allocations: 58.42 kB / 0.5373 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000121/0.3294, allocations: 1.531 kB / 0.5373 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003571/0.3298, allocations: 130.6 kB / 0.5374 GB, free: 7.469 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.3301, allocations: 0.6742 MB / 0.5381 GB, free: 6.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.579e-06/0.3301, allocations: 0 / 0.5381 GB, free: 6.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.372e-05/0.3301, allocations: 8.906 kB / 0.5381 GB, free: 6.762 MB / 398.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3301, allocations: 128 / 0.5381 GB, free: 6.762 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02747/0.3576, allocations: 4.726 MB / 0.5427 GB, free: 4.203 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.017/8.375, allocations: 2.469 kB / 0.5427 GB, free: 4.203 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestMatrices3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestMatrices3.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe 2>&1)