Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.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.001278/0.001278, allocations: 107.5 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.001462/0.001462, allocations: 213.2 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.465/1.465, allocations: 230.5 MB / 258.2 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 67.89 kB / 378.5 MB, free: 2.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3095, allocations: 53.4 MB / 431.9 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002784/0.3123, allocations: 1.516 MB / 433.4 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009344/0.3132, allocations: 0.4986 MB / 433.9 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.995e-05/0.3133, allocations: 0 / 433.9 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.3134, allocations: 7.938 kB / 433.9 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.889e-05/0.3134, allocations: 11.88 kB / 433.9 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.3136, allocations: 39.91 kB / 433.9 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.3137, allocations: 55.84 kB / 434 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.3138, allocations: 22.08 kB / 434 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001846/0.314, allocations: 31.92 kB / 434.1 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.427e-05/0.3141, allocations: 31.84 kB / 434.1 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.3141, allocations: 4 kB / 434.1 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.66e-05/0.3142, allocations: 15.94 kB / 434.1 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.599e-05/0.3142, allocations: 23.91 kB / 434.1 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.733e-05/0.3142, allocations: 15.94 kB / 434.1 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.3144, allocations: 71.72 kB / 434.2 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3144, allocations: 0 / 434.2 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3144, allocations: 4 kB / 434.2 MB, free: 4.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.3144, allocations: 0 / 434.2 MB, free: 4.09 MB / 334.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.0006273/0.315, allocations: 306.1 kB / 434.5 MB, free: 3.762 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.3151, allocations: 8.031 kB / 434.5 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.831e-05/0.3151, allocations: 4.188 kB / 434.5 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.551e-05/0.3151, allocations: 38.73 kB / 434.6 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.104e-05/0.3152, allocations: 8.891 kB / 434.6 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.3153, allocations: 110.5 kB / 434.7 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.3153, allocations: 4.312 kB / 434.7 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.3153, allocations: 20.31 kB / 434.7 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.3156, allocations: 85.58 kB / 434.8 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3156, allocations: 0 / 434.8 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.3156, allocations: 3.938 kB / 434.8 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.3156, allocations: 4 kB / 434.8 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003193/0.3159, allocations: 79.91 kB / 434.9 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.3164, allocations: 267.8 kB / 435.1 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.3166, allocations: 74.56 kB / 435.2 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.3168, allocations: 44.95 kB / 435.3 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.3168, allocations: 3.984 kB / 435.3 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.3169, allocations: 34.56 kB / 435.3 MB, free: 2.883 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.3169, allocations: 0 / 435.3 MB, free: 2.883 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005614/0.3174, allocations: 157.5 kB / 435.4 MB, free: 2.723 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.3175, allocations: 51.41 kB / 435.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.851e-05/0.3176, allocations: 113.8 kB / 435.6 MB, free: 2.539 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.3176, allocations: 25.7 kB / 435.6 MB, free: 2.508 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.3e-05/0.3176, allocations: 92.08 kB / 435.7 MB, free: 2.414 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.3177, allocations: 19.89 kB / 435.7 MB, free: 2.395 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.633e-05/0.3177, allocations: 21.7 kB / 435.8 MB, free: 2.367 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.3179, allocations: 318.8 kB / 436.1 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.318, allocations: 35.95 kB / 436.1 MB, free: 2.012 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.3182, allocations: 35.97 kB / 436.1 MB, free: 1.977 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/0.3184, allocations: 84.78 kB / 436.2 MB, free: 1.891 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.3184, allocations: 0 / 436.2 MB, free: 1.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003422/0.3188, allocations: 117.5 kB / 436.3 MB, free: 1.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.3188, allocations: 7.031 kB / 436.3 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3188, allocations: 0 / 436.3 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3188, allocations: 0 / 436.3 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.319, allocations: 23.97 kB / 436.4 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.319, allocations: 3.938 kB / 436.4 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.521e-05/0.3191, allocations: 20.3 kB / 436.4 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.3191, allocations: 4 kB / 436.4 MB, free: 1.715 MB / 334.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 9.447e-05/0.3192, allocations: 109.8 kB / 436.5 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.84e-05/0.3192, allocations: 4 kB / 436.5 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004198/0.3196, allocations: 145.5 kB / 436.7 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.3196, allocations: 3.938 kB / 436.7 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.3196, allocations: 4 kB / 436.7 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3196, allocations: 3.938 kB / 436.7 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.3198, allocations: 148.7 kB / 436.8 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3198, allocations: 0 / 436.8 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.3199, allocations: 19.98 kB / 436.8 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3199, allocations: 3.984 kB / 436.8 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.3199, allocations: 0 / 436.8 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3199, allocations: 4 kB / 436.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3199, allocations: 0 / 436.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003932/0.3203, allocations: 227.3 kB / 437.1 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.364e-05/0.3204, allocations: 11.98 kB / 437.1 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.3204, allocations: 0 / 437.1 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.3205, allocations: 11.98 kB / 437.1 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.3205, allocations: 7.984 kB / 437.1 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.3205, allocations: 11.94 kB / 437.1 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.968e-05/0.3206, allocations: 87.28 kB / 437.2 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3206, allocations: 0 / 437.2 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002287/0.3208, allocations: 8 kB / 437.2 MB, free: 0.8398 MB / 334.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.0007338/0.3216, allocations: 0.7553 MB / 438 MB, free: 60 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004025/0.322, allocations: 87.91 kB / 438 MB, free: 15.97 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.322, allocations: 0 / 438 MB, free: 15.97 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.3221, allocations: 43.95 kB / 438.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.3225, allocations: 16.16 kB / 438.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005336/0.323, allocations: 199.8 kB / 438.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.749e-05/0.3231, allocations: 70.86 kB / 438.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.502e-05/0.3231, allocations: 7.984 kB / 438.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.596e-05/0.3232, allocations: 15.44 kB / 438.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3232, allocations: 0 / 438.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/0.346, allocations: 2.237 MB / 440.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.31, allocations: 15.31 kB / 440.6 MB, free: 13.44 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat --tempDir=temp_Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock_fmu --startTime=0 --stopTime=1.01 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.823042777949013] Failed to read output from testmodel.py, exit status != 0: ['time', 'len.y', 'phi.y'] 11.462871226016432 11.478612917 11.161145023 Calling exit ...