Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.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.001271/0.001271, allocations: 103.4 kB / 21.96 MB, free: 5.219 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.00146/0.00146, allocations: 214 kB / 25.26 MB, free: 3.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 207.7 MB / 236.1 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 55.86 kB / 347.9 MB, free: 9.922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2429, allocations: 49.16 MB / 397.1 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.00239/0.2453, allocations: 1.477 MB / 398.6 MB, free: 7.879 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007306/0.246, allocations: 0.5101 MB / 399.1 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.006e-05/0.2461, allocations: 1.156 kB / 399.1 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.714e-05/0.2462, allocations: 12.17 kB / 399.1 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.006e-05/0.2462, allocations: 13.92 kB / 399.1 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001527/0.2464, allocations: 39.3 kB / 399.2 MB, free: 7.496 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.971e-05/0.2465, allocations: 58.28 kB / 399.2 MB, free: 7.469 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.095e-05/0.2466, allocations: 19.12 kB / 399.2 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.773e-05/0.2467, allocations: 35.97 kB / 399.3 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.59e-05/0.2467, allocations: 29.38 kB / 399.3 MB, free: 7.426 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.2467, allocations: 5.844 kB / 399.3 MB, free: 7.426 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.131e-05/0.2468, allocations: 12.84 kB / 399.3 MB, free: 7.426 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.2468, allocations: 13.12 kB / 399.3 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.931e-05/0.2468, allocations: 22.91 kB / 399.4 MB, free: 7.402 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.247, allocations: 71.19 kB / 399.4 MB, free: 7.371 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.247, allocations: 0 / 399.4 MB, free: 7.371 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.247, allocations: 0 / 399.4 MB, free: 7.371 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.247, allocations: 1.094 kB / 399.4 MB, free: 7.371 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005029/0.2475, allocations: 314.4 kB / 399.7 MB, free: 7.082 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.2475, allocations: 14.17 kB / 399.7 MB, free: 7.078 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.797e-05/0.2475, allocations: 1.375 kB / 399.7 MB, free: 7.078 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.146e-05/0.2475, allocations: 36.75 kB / 399.8 MB, free: 7.035 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.509e-05/0.2476, allocations: 10.03 kB / 399.8 MB, free: 7.031 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.101e-05/0.2476, allocations: 119.1 kB / 399.9 MB, free: 6.895 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.2476, allocations: 1.656 kB / 399.9 MB, free: 6.895 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.2477, allocations: 7.688 kB / 399.9 MB, free: 6.891 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.2479, allocations: 91.02 kB / 400 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.2479, allocations: 0 / 400 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.2479, allocations: 0 / 400 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.2479, allocations: 2.188 kB / 400 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003069/0.2482, allocations: 81.34 kB / 400.1 MB, free: 6.824 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003166/0.2485, allocations: 265.8 kB / 400.3 MB, free: 6.562 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.2488, allocations: 77.88 kB / 400.4 MB, free: 6.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.2489, allocations: 48.2 kB / 400.5 MB, free: 6.5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.2489, allocations: 1.438 kB / 400.5 MB, free: 6.5 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.583e-05/0.2489, allocations: 31.91 kB / 400.5 MB, free: 6.461 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.2489, allocations: 0 / 400.5 MB, free: 6.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005102/0.2495, allocations: 147.7 kB / 400.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.2495, allocations: 54.11 kB / 400.7 MB, free: 6.344 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.437e-05/0.2495, allocations: 116.4 kB / 400.8 MB, free: 6.234 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.454e-06/0.2495, allocations: 26.08 kB / 400.8 MB, free: 6.203 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.652e-05/0.2496, allocations: 96.8 kB / 400.9 MB, free: 6.109 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.2496, allocations: 15.47 kB / 400.9 MB, free: 6.098 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.2496, allocations: 18.31 kB / 401 MB, free: 6.078 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.885e-05/0.2497, allocations: 330.7 kB / 401.3 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.2498, allocations: 34.97 kB / 401.3 MB, free: 5.746 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.2499, allocations: 37.88 kB / 401.4 MB, free: 5.738 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.2502, allocations: 78.25 kB / 401.4 MB, free: 5.719 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2502, allocations: 4 kB / 401.4 MB, free: 5.715 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003019/0.2505, allocations: 113.8 kB / 401.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.2505, allocations: 5.625 kB / 401.6 MB, free: 5.664 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.2505, allocations: 0 / 401.6 MB, free: 5.664 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.2505, allocations: 1.219 kB / 401.6 MB, free: 5.664 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.2507, allocations: 21.81 kB / 401.6 MB, free: 5.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.2507, allocations: 1.375 kB / 401.6 MB, free: 5.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.88e-05/0.2507, allocations: 18.84 kB / 401.6 MB, free: 5.652 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.2507, allocations: 2.188 kB / 401.6 MB, free: 5.652 MB / 318.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 (5): * Single equations (assignments): 5 * 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 4.776e-05/0.2508, allocations: 114.1 kB / 401.7 MB, free: 5.535 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.2508, allocations: 6.312 kB / 401.7 MB, free: 5.531 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003524/0.2512, allocations: 135.4 kB / 401.8 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.2512, allocations: 2.031 kB / 401.9 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.2512, allocations: 4 kB / 401.9 MB, free: 5.461 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2512, allocations: 4.594 kB / 401.9 MB, free: 5.457 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.2513, allocations: 151.9 kB / 402 MB, free: 5.289 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.2513, allocations: 0 / 402 MB, free: 5.289 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.2514, allocations: 24.69 kB / 402 MB, free: 5.285 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.2514, allocations: 5.109 kB / 402 MB, free: 5.281 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.2514, allocations: 0.6094 kB / 402 MB, free: 5.281 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2514, allocations: 1.094 kB / 402 MB, free: 5.281 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2514, allocations: 0 / 402 MB, free: 5.281 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003427/0.2518, allocations: 225.6 kB / 402.3 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.328e-06/0.2518, allocations: 3.016 kB / 402.3 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.2518, allocations: 2.141 kB / 402.3 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.2519, allocations: 10.45 kB / 402.3 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.2519, allocations: 10.56 kB / 402.3 MB, free: 5.117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.252, allocations: 5.375 kB / 402.3 MB, free: 5.113 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.755e-05/0.252, allocations: 93.66 kB / 402.4 MB, free: 5.031 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.252, allocations: 8.219 kB / 402.4 MB, free: 5.023 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002175/0.2522, allocations: 16.77 kB / 402.4 MB, free: 5.016 MB / 318.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 (7): * Single equations (assignments): 7 * 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.0004709/0.2527, allocations: 0.7513 MB / 403.2 MB, free: 4.332 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003269/0.253, allocations: 93.44 kB / 403.2 MB, free: 4.309 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.253, allocations: 0 / 403.2 MB, free: 4.309 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.2531, allocations: 42.66 kB / 403.3 MB, free: 4.305 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.2534, allocations: 11.48 kB / 403.3 MB, free: 4.297 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004211/0.2538, allocations: 198.2 kB / 403.5 MB, free: 4.113 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.641e-05/0.2539, allocations: 82.81 kB / 403.6 MB, free: 4.031 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.96e-05/0.2539, allocations: 3.547 kB / 403.6 MB, free: 4.031 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.738e-05/0.254, allocations: 24.25 kB / 403.6 MB, free: 4.012 MB / 318.1 MB Notification: Performance of SimCode: time 2.71e-07/0.254, allocations: 1.406 kB / 403.6 MB, free: 4.012 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02374/0.2777, allocations: 2.235 MB / 405.8 MB, free: 3.316 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/10.93, allocations: 2.5 kB / 405.8 MB, free: 3.316 MB / 318.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock_fmu --startTime=0 --stopTime=1.01 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.275977951008826] Failed to read output from testmodel.py, exit status != 0: ['time', 'len.y', 'phi.y'] 11.102741345996037 11.115353943 10.865632906 Calling exit ...