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.00733/0.00733, allocations: 110.6 kB / 21.97 MB, free: 5.25 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.001625/0.001625, allocations: 201.1 kB / 25.27 MB, free: 3.238 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.46/1.46, allocations: 207.6 MB / 236 MB, free: 9.984 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.001753/0.001753, allocations: 65.31 kB / 348 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2656, allocations: 49.16 MB / 397.1 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002419/0.268, allocations: 1.506 MB / 398.6 MB, free: 7.934 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007868/0.2688, allocations: 0.5507 MB / 399.2 MB, free: 7.543 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.213e-05/0.2688, allocations: 4.906 kB / 399.2 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.2689, allocations: 17.67 kB / 399.2 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.215e-05/0.269, allocations: 9.953 kB / 399.2 MB, free: 7.523 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001717/0.2692, allocations: 38.44 kB / 399.2 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.2693, allocations: 57.83 kB / 399.3 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.2694, allocations: 12.45 kB / 399.3 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.2695, allocations: 25.58 kB / 399.3 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.006e-05/0.2696, allocations: 38.33 kB / 399.4 MB, free: 7.438 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.2696, allocations: 5.75 kB / 399.4 MB, free: 7.438 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.34e-05/0.2697, allocations: 22.42 kB / 399.4 MB, free: 7.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.2697, allocations: 15.83 kB / 399.4 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.558e-05/0.2697, allocations: 24.14 kB / 399.4 MB, free: 7.402 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.2699, allocations: 67.48 kB / 399.5 MB, free: 7.375 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2699, allocations: 0 / 399.5 MB, free: 7.375 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2699, allocations: 0 / 399.5 MB, free: 7.375 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.2699, allocations: 1.062 kB / 399.5 MB, free: 7.375 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.0005893/0.2705, allocations: 310.2 kB / 399.8 MB, free: 7.094 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.2705, allocations: 14.11 kB / 399.8 MB, free: 7.09 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.449e-05/0.2705, allocations: 1.688 kB / 399.8 MB, free: 7.09 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.633e-05/0.2706, allocations: 37.73 kB / 399.9 MB, free: 7.047 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.2706, allocations: 7.703 kB / 399.9 MB, free: 7.043 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.412e-05/0.2707, allocations: 120.6 kB / 400 MB, free: 6.906 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.2707, allocations: 5.719 kB / 400 MB, free: 6.902 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.2707, allocations: 4.062 kB / 400 MB, free: 6.902 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002842/0.271, allocations: 89.73 kB / 400.1 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.271, allocations: 0 / 400.1 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.271, allocations: 5.375 kB / 400.1 MB, free: 6.848 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.271, allocations: 1.75 kB / 400.1 MB, free: 6.848 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000308/0.2713, allocations: 76.77 kB / 400.2 MB, free: 6.836 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003473/0.2716, allocations: 286.4 kB / 400.4 MB, free: 6.562 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.2719, allocations: 73.08 kB / 400.5 MB, free: 6.523 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.2721, allocations: 48.19 kB / 400.6 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.2721, allocations: 5.062 kB / 400.6 MB, free: 6.5 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.2721, allocations: 31.72 kB / 400.6 MB, free: 6.461 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 9.61e-07/0.2721, allocations: 0 / 400.6 MB, free: 6.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005518/0.2726, allocations: 147.4 kB / 400.7 MB, free: 6.406 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.2727, allocations: 57.38 kB / 400.8 MB, free: 6.34 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.07e-05/0.2727, allocations: 113 kB / 400.9 MB, free: 6.234 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.2727, allocations: 26.83 kB / 400.9 MB, free: 6.203 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.809e-05/0.2728, allocations: 92.53 kB / 401 MB, free: 6.113 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.2728, allocations: 15.02 kB / 401 MB, free: 6.102 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.2728, allocations: 18.88 kB / 401.1 MB, free: 6.082 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.729e-05/0.2729, allocations: 326.8 kB / 401.4 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.273, allocations: 37.78 kB / 401.4 MB, free: 5.75 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.2732, allocations: 37.8 kB / 401.4 MB, free: 5.742 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/0.2735, allocations: 76.16 kB / 401.5 MB, free: 5.723 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2735, allocations: 1.656 kB / 401.5 MB, free: 5.723 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003198/0.2738, allocations: 122 kB / 401.6 MB, free: 5.664 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.2738, allocations: 9.156 kB / 401.7 MB, free: 5.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2738, allocations: 0.9375 kB / 401.7 MB, free: 5.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.2738, allocations: 0 / 401.7 MB, free: 5.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.2739, allocations: 19.02 kB / 401.7 MB, free: 5.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.274, allocations: 1.438 kB / 401.7 MB, free: 5.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.315e-05/0.274, allocations: 19.53 kB / 401.7 MB, free: 5.652 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.274, allocations: 1.219 kB / 401.7 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 5.54e-05/0.2741, allocations: 113.3 kB / 401.8 MB, free: 5.535 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.2741, allocations: 7.641 kB / 401.8 MB, free: 5.531 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000376/0.2745, allocations: 129.8 kB / 401.9 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.2745, allocations: 5.344 kB / 401.9 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2745, allocations: 1.031 kB / 401.9 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.2745, allocations: 4.594 kB / 401.9 MB, free: 5.461 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.2747, allocations: 157.2 kB / 402.1 MB, free: 5.293 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2747, allocations: 0 / 402.1 MB, free: 5.293 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.2748, allocations: 29.78 kB / 402.1 MB, free: 5.285 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.2748, allocations: 0.5625 kB / 402.1 MB, free: 5.285 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.2748, allocations: 1.156 kB / 402.1 MB, free: 5.285 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2748, allocations: 1.984 kB / 402.1 MB, free: 5.285 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2748, allocations: 0 / 402.1 MB, free: 5.285 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003528/0.2751, allocations: 227.5 kB / 402.4 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.327e-06/0.2752, allocations: 2.656 kB / 402.4 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.2752, allocations: 5.953 kB / 402.4 MB, free: 5.117 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.2753, allocations: 11.23 kB / 402.4 MB, free: 5.117 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.2753, allocations: 10.48 kB / 402.4 MB, free: 5.113 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.2753, allocations: 5.281 kB / 402.4 MB, free: 5.109 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.967e-05/0.2754, allocations: 89.48 kB / 402.5 MB, free: 5.031 MB / 318.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2754, allocations: 0 / 402.5 MB, free: 5.031 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002211/0.2756, allocations: 21.58 kB / 402.5 MB, free: 5.02 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.0005125/0.2761, allocations: 0.757 MB / 403.3 MB, free: 4.328 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003469/0.2764, allocations: 93.81 kB / 403.3 MB, free: 4.305 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2764, allocations: 288 / 403.3 MB, free: 4.305 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.2766, allocations: 45.64 kB / 403.4 MB, free: 4.297 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.2769, allocations: 15.84 kB / 403.4 MB, free: 4.285 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004443/0.2773, allocations: 194.7 kB / 403.6 MB, free: 4.105 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.2774, allocations: 0.6898 MB / 404.3 MB, free: 3.406 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.902e-05/0.2775, allocations: 4.297 kB / 404.3 MB, free: 3.406 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.127e-05/0.2775, allocations: 21.38 kB / 404.3 MB, free: 3.391 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2775, allocations: 0 / 404.3 MB, free: 3.391 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02242/0.2999, allocations: 2.178 MB / 406.5 MB, free: 2.754 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.5, allocations: 15.11 kB / 406.5 MB, free: 2.742 MB / 318.1 MB " [Timeout remaining time 648] (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.935927960032132] Failed to read output from testmodel.py, exit status != 0: ['time', 'len.y', 'phi.y'] 11.657555584970396 11.674323311 11.400625246 Calling exit ...