Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001349/0.001349, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001453/0.001453, allocations: 212.6 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.393/1.393, allocations: 230.6 MB / 258.3 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003273/0.003273, allocations: 68.75 kB / 378.5 MB, free: 3.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3058, allocations: 53.37 MB / 431.9 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002877/0.3087, allocations: 1.539 MB / 433.4 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.3097, allocations: 0.5414 MB / 434 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.969e-05/0.3098, allocations: 0 / 434 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.3099, allocations: 15.88 kB / 434 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.692e-05/0.31, allocations: 11.92 kB / 434 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001833/0.3101, allocations: 39.91 kB / 434 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.3102, allocations: 59.78 kB / 434.1 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.657e-05/0.3103, allocations: 11.98 kB / 434.1 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001807/0.3105, allocations: 35.91 kB / 434.1 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.685e-05/0.3106, allocations: 31.84 kB / 434.2 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.3106, allocations: 4 kB / 434.2 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.068e-05/0.3107, allocations: 19.94 kB / 434.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.149e-05/0.3107, allocations: 11.98 kB / 434.2 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.248e-05/0.3107, allocations: 19.88 kB / 434.2 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.3109, allocations: 80.56 kB / 434.3 MB, free: 4.469 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3109, allocations: 4 kB / 434.3 MB, free: 4.465 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3109, allocations: 0 / 434.3 MB, free: 4.465 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.3109, allocations: 0 / 434.3 MB, free: 4.465 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.0006738/0.3116, allocations: 306.1 kB / 434.6 MB, free: 4.137 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3116, allocations: 11.97 kB / 434.6 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.63e-05/0.3117, allocations: 38.73 kB / 434.6 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.3117, allocations: 8.891 kB / 434.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.3118, allocations: 110.5 kB / 434.8 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.3119, allocations: 8.312 kB / 434.8 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.3119, allocations: 4.375 kB / 434.8 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.3122, allocations: 89.7 kB / 434.9 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.3122, allocations: 0 / 434.9 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.3122, allocations: 7.984 kB / 434.9 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3122, allocations: 0 / 434.9 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003121/0.3125, allocations: 87.84 kB / 435 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004955/0.313, allocations: 283.7 kB / 435.2 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002637/0.3133, allocations: 70.53 kB / 435.3 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.3134, allocations: 52.95 kB / 435.4 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.3135, allocations: 0 / 435.4 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.3135, allocations: 34.55 kB / 435.4 MB, free: 3.242 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.3135, allocations: 0 / 435.4 MB, free: 3.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005939/0.3141, allocations: 153.6 kB / 435.5 MB, free: 3.086 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.3142, allocations: 55.41 kB / 435.6 MB, free: 3.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.3143, allocations: 113.8 kB / 435.7 MB, free: 2.898 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.3143, allocations: 25.7 kB / 435.7 MB, free: 2.867 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.422e-05/0.3144, allocations: 92.09 kB / 435.8 MB, free: 2.773 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.3144, allocations: 11.91 kB / 435.8 MB, free: 2.762 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.3144, allocations: 17.7 kB / 435.9 MB, free: 2.738 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.3146, allocations: 326.8 kB / 436.2 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.3148, allocations: 31.95 kB / 436.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.3149, allocations: 39.97 kB / 436.2 MB, free: 2.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002895/0.3152, allocations: 84.78 kB / 436.3 MB, free: 2.254 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3152, allocations: 0 / 436.3 MB, free: 2.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003305/0.3155, allocations: 113.5 kB / 436.4 MB, free: 2.137 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.3155, allocations: 4 kB / 436.4 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.3155, allocations: 3.984 kB / 436.4 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.3156, allocations: 0 / 436.4 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.3157, allocations: 19.98 kB / 436.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.3157, allocations: 0 / 436.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.298e-05/0.3158, allocations: 19.92 kB / 436.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.3158, allocations: 7.938 kB / 436.5 MB, free: 2.082 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.0001087/0.3159, allocations: 117.8 kB / 436.6 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.3159, allocations: 4 kB / 436.6 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004097/0.3163, allocations: 137.5 kB / 436.7 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.3163, allocations: 0 / 436.7 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3163, allocations: 0 / 436.7 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.3163, allocations: 384 / 436.7 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.3166, allocations: 169 kB / 436.9 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3166, allocations: 0 / 436.9 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.3167, allocations: 23.98 kB / 436.9 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3167, allocations: 3.938 kB / 436.9 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.3167, allocations: 4 kB / 436.9 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3167, allocations: 0 / 436.9 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3167, allocations: 0 / 436.9 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004281/0.3171, allocations: 227.4 kB / 437.2 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.221e-05/0.3171, allocations: 3.953 kB / 437.2 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.3172, allocations: 8 kB / 437.2 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.3173, allocations: 11.97 kB / 437.2 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.3173, allocations: 8 kB / 437.2 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.3173, allocations: 3.984 kB / 437.2 MB, free: 1.297 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.83e-05/0.3174, allocations: 91.22 kB / 437.3 MB, free: 1.207 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3174, allocations: 0 / 437.3 MB, free: 1.207 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002249/0.3176, allocations: 12 kB / 437.3 MB, free: 1.195 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.0008095/0.3184, allocations: 0.7514 MB / 438 MB, free: 428 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003473/0.3188, allocations: 87.91 kB / 438.1 MB, free: 340 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3188, allocations: 4 kB / 438.1 MB, free: 336 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.3189, allocations: 43.91 kB / 438.2 MB, free: 292 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.3192, allocations: 22.11 kB / 438.2 MB, free: 276 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005367/0.3198, allocations: 191.8 kB / 438.4 MB, free: 44 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004342/0.3202, allocations: 0.6885 MB / 439.1 MB, free: 15.33 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.181e-05/0.3202, allocations: 0 / 439.1 MB, free: 15.33 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.031e-05/0.3203, allocations: 23.42 kB / 439.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3203, allocations: 0 / 439.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02726/0.3476, allocations: 2.063 MB / 441.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.626/8.974, allocations: 7.266 kB / 441.2 MB, free: 13.33 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_ComplexBlocks_Examples_TestConversionBlock_fmu --startTime=0 --stopTime=1.01 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.199812647420913] Failed to read output from testmodel.py, exit status != 0: ['time', 'len.y', 'phi.y'] 9.046253536827862 9.067425721 8.752421704 Calling exit ...