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.001333/0.001333, allocations: 109.1 kB / 21.22 MB, free: 0.7461 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.001321/0.001321, allocations: 211.7 kB / 24.52 MB, free: 4.141 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.592/1.592, allocations: 230.5 MB / 258.2 MB, free: 8 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.001917/0.001917, allocations: 59.89 kB / 378.5 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.384, allocations: 53.41 MB / 431.9 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003553/0.3876, allocations: 1.539 MB / 433.5 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.3887, allocations: 0.5375 MB / 434 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.456e-05/0.3888, allocations: 0 / 434 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.3889, allocations: 23.86 kB / 434 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.158e-05/0.389, allocations: 7.875 kB / 434 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.3892, allocations: 43.89 kB / 434.1 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.3894, allocations: 55.84 kB / 434.1 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.3895, allocations: 12 kB / 434.2 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002495/0.3897, allocations: 39.83 kB / 434.2 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.078e-05/0.3898, allocations: 27.92 kB / 434.2 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.3898, allocations: 7.938 kB / 434.2 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.156e-05/0.3899, allocations: 19.98 kB / 434.3 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.951e-05/0.3899, allocations: 8 kB / 434.3 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.712e-05/0.39, allocations: 23.86 kB / 434.3 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.3902, allocations: 80.08 kB / 434.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3902, allocations: 0 / 434.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3902, allocations: 3.938 kB / 434.4 MB, free: 4.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.3902, allocations: 0 / 434.4 MB, free: 4.27 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.0007919/0.391, allocations: 314.1 kB / 434.7 MB, free: 3.934 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.3911, allocations: 8.031 kB / 434.7 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.558e-05/0.3911, allocations: 192 / 434.7 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.07e-05/0.3911, allocations: 34.75 kB / 434.7 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.3912, allocations: 8.891 kB / 434.7 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.3913, allocations: 122.5 kB / 434.8 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.3913, allocations: 4.375 kB / 434.8 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.3913, allocations: 4.375 kB / 434.8 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003082/0.3916, allocations: 89.52 kB / 434.9 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3917, allocations: 0 / 434.9 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.3917, allocations: 4 kB / 434.9 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.3917, allocations: 0 / 434.9 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000337/0.392, allocations: 83.86 kB / 435 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005448/0.3926, allocations: 275.8 kB / 435.3 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.3928, allocations: 74.56 kB / 435.4 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.393, allocations: 52.94 kB / 435.4 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.393, allocations: 0 / 435.4 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.3931, allocations: 30.56 kB / 435.4 MB, free: 3.055 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 8.22e-07/0.3931, allocations: 0 / 435.4 MB, free: 3.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006423/0.3937, allocations: 153.5 kB / 435.6 MB, free: 2.898 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.3938, allocations: 51.41 kB / 435.6 MB, free: 2.836 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.3939, allocations: 117.8 kB / 435.8 MB, free: 2.711 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.3939, allocations: 29.64 kB / 435.8 MB, free: 2.676 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.675e-05/0.394, allocations: 92.09 kB / 435.9 MB, free: 2.582 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/0.394, allocations: 15.89 kB / 435.9 MB, free: 2.566 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.414e-05/0.3941, allocations: 13.72 kB / 435.9 MB, free: 2.547 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.3943, allocations: 326.8 kB / 436.2 MB, free: 2.219 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.3944, allocations: 35.97 kB / 436.3 MB, free: 2.184 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.3946, allocations: 39.95 kB / 436.3 MB, free: 2.145 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/0.3949, allocations: 77.16 kB / 436.4 MB, free: 2.066 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.3949, allocations: 8 kB / 436.4 MB, free: 2.059 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003615/0.3952, allocations: 113.6 kB / 436.5 MB, free: 1.941 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.3953, allocations: 4 kB / 436.5 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3953, allocations: 0 / 436.5 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.3953, allocations: 3.984 kB / 436.5 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.3954, allocations: 27.91 kB / 436.5 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3954, allocations: 4 kB / 436.5 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.909e-05/0.3955, allocations: 19.86 kB / 436.6 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.3955, allocations: 4 kB / 436.6 MB, free: 1.879 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 0.0001134/0.3956, allocations: 105.8 kB / 436.7 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.3957, allocations: 8 kB / 436.7 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004465/0.3961, allocations: 133.6 kB / 436.8 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.3961, allocations: 0 / 436.8 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.3961, allocations: 3.938 kB / 436.8 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.3961, allocations: 3.938 kB / 436.8 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.3964, allocations: 160.7 kB / 437 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3964, allocations: 3.938 kB / 437 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.3965, allocations: 23.97 kB / 437 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.3965, allocations: 0 / 437 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.3965, allocations: 0 / 437 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3965, allocations: 0 / 437 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3965, allocations: 8 kB / 437 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004627/0.397, allocations: 215.4 kB / 437.2 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.569e-05/0.397, allocations: 7.953 kB / 437.2 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.397, allocations: 0 / 437.2 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.3971, allocations: 15.98 kB / 437.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/0.3972, allocations: 7.984 kB / 437.2 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.3972, allocations: 7.938 kB / 437.2 MB, free: 1.109 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.062e-05/0.3973, allocations: 95.52 kB / 437.3 MB, free: 1.016 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3973, allocations: 0 / 437.3 MB, free: 1.016 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002257/0.3975, allocations: 12 kB / 437.4 MB, free: 1.004 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.0008315/0.3983, allocations: 0.7514 MB / 438.1 MB, free: 232 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003967/0.3987, allocations: 83.86 kB / 438.2 MB, free: 148 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3987, allocations: 4 kB / 438.2 MB, free: 144 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001783/0.3989, allocations: 43.95 kB / 438.2 MB, free: 100 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.3993, allocations: 16.06 kB / 438.3 MB, free: 84 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007652/0.4001, allocations: 191.9 kB / 438.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004383/0.4005, allocations: 0.6923 MB / 439.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.972e-05/0.4006, allocations: 7.984 kB / 439.1 MB, free: 15.13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.964e-05/0.4007, allocations: 15.44 kB / 439.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4007, allocations: 0 / 439.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.4248, allocations: 2.196 MB / 441.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.02, allocations: 12 kB / 441.4 MB, free: 13.03 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.700597780989483] Failed to read output from testmodel.py, exit status != 0: ['time', 'len.y', 'phi.y'] 12.187563047977164 12.211583714 11.818097282 Calling exit ...