Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.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.001209/0.001209, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.001382/0.001382, allocations: 219 kB / 23 MB, free: 5.609 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.429/1.429, allocations: 230.4 MB / 256.5 MB, free: 8.414 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.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_WhyArrows",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.002043/0.002043, allocations: 67.89 kB / 376.2 MB, free: 4.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2568, allocations: 53.32 MB / 429.5 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003592/0.2604, allocations: 2.286 MB / 431.8 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004055/0.2608, allocations: 199.2 kB / 432 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.243e-05/0.2608, allocations: 8 kB / 432 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.862e-05/0.2609, allocations: 35.64 kB / 432 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.2611, allocations: 59.42 kB / 432.1 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001641/0.2612, allocations: 51.94 kB / 432.2 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002594/0.2615, allocations: 230.9 kB / 432.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.2617, allocations: 82.59 kB / 432.5 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.2618, allocations: 95.72 kB / 432.6 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.262, allocations: 103.5 kB / 432.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.881e-05/0.262, allocations: 20 kB / 432.7 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.884e-05/0.262, allocations: 24 kB / 432.7 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.579e-05/0.2621, allocations: 43.84 kB / 432.7 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.2622, allocations: 115.5 kB / 432.9 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002981/0.2625, allocations: 251.4 kB / 433.1 MB, free: 3.809 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2625, allocations: 0 / 433.1 MB, free: 3.809 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2625, allocations: 0 / 433.1 MB, free: 3.809 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.2625, allocations: 4 kB / 433.1 MB, free: 3.805 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0007415/0.2633, allocations: 0.5068 MB / 433.6 MB, free: 3.246 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.2633, allocations: 15.97 kB / 433.6 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.062e-05/0.2634, allocations: 62.67 kB / 433.7 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.005e-05/0.2634, allocations: 28.78 kB / 433.7 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.2637, allocations: 212.1 kB / 433.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.2637, allocations: 20.94 kB / 433.9 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.314e-05/0.2637, allocations: 28.33 kB / 434 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003747/0.2641, allocations: 232.8 kB / 434.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.2641, allocations: 3.938 kB / 434.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.2641, allocations: 11.98 kB / 434.2 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.2641, allocations: 8 kB / 434.2 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002464/0.2644, allocations: 135.1 kB / 434.4 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.2655, allocations: 0.8558 MB / 435.2 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.2658, allocations: 155.7 kB / 435.4 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.2659, allocations: 62.5 kB / 435.4 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.2659, allocations: 0 / 435.4 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.2659, allocations: 46.8 kB / 435.5 MB, free: 1.219 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.002e-06/0.2659, allocations: 0 / 435.5 MB, free: 1.219 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.000441/0.2664, allocations: 169.5 kB / 435.6 MB, free: 1.047 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.663e-05/0.2664, allocations: 106.8 kB / 435.7 MB, free: 0.918 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.2666, allocations: 204.1 kB / 435.9 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.2667, allocations: 25.7 kB / 436 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.2668, allocations: 164.1 kB / 436.1 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.428e-05/0.2668, allocations: 67.47 kB / 436.2 MB, free: 460 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.028e-05/0.2669, allocations: 57.94 kB / 436.2 MB, free: 392 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.2671, allocations: 326.8 kB / 436.6 MB, free: 56 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.912e-05/0.2672, allocations: 48.53 kB / 436.6 MB, free: 8 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.2674, allocations: 151.7 kB / 436.8 MB, free: 15.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002905/0.2676, allocations: 221.5 kB / 437 MB, free: 15.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2676, allocations: 0 / 437 MB, free: 15.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003749/0.268, allocations: 245.6 kB / 437.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.268, allocations: 12.03 kB / 437.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.268, allocations: 4 kB / 437.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.2681, allocations: 8 kB / 437.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.2683, allocations: 59.91 kB / 437.3 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.2683, allocations: 8.719 kB / 437.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.2684, allocations: 31.73 kB / 437.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.2684, allocations: 16 kB / 437.3 MB, free: 15.16 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (33): * Single equations (assignments): 33 * 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.0001261/0.2686, allocations: 141.7 kB / 437.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.024e-05/0.2687, allocations: 19.84 kB / 437.5 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.116e-05/0.2687, allocations: 29.39 kB / 437.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.2687, allocations: 4 kB / 437.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2687, allocations: 3.938 kB / 437.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.2687, allocations: 0 / 437.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005652/0.2693, allocations: 420.8 kB / 438 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2693, allocations: 4 kB / 438 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001914/0.2695, allocations: 44.02 kB / 438 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.2695, allocations: 4 kB / 438 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.2695, allocations: 4 kB / 438 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.2695, allocations: 3.938 kB / 438 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2695, allocations: 0 / 438 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004249/0.2699, allocations: 385.1 kB / 438.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.721e-05/0.27, allocations: 97.05 kB / 438.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.27, allocations: 4.281 kB / 438.5 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.2702, allocations: 4 kB / 438.5 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.2702, allocations: 15.92 kB / 438.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.2702, allocations: 4 kB / 438.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000127/0.2703, allocations: 139.2 kB / 438.6 MB, free: 13.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2703, allocations: 4 kB / 438.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003526/0.2707, allocations: 55.89 kB / 438.7 MB, free: 13.68 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.v) * 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 (17): * Single equations (assignments): 17 * 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.0007507/0.2714, allocations: 0.9185 MB / 439.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002802/0.2717, allocations: 135.8 kB / 439.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.2717, allocations: 0 / 439.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.241e-05/0.2718, allocations: 52.92 kB / 439.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005026/0.2723, allocations: 34.8 kB / 439.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003056/0.2754, allocations: 2.552 MB / 442.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.2758, allocations: 0.7359 MB / 443.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.154e-05/0.2759, allocations: 21.95 kB / 443.2 MB, free: 8.973 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.722e-05/0.276, allocations: 55.42 kB / 443.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.276, allocations: 0 / 443.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03216/0.3081, allocations: 3.749 MB / 447 MB, free: 5.266 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.859/8.167, allocations: 3.25 kB / 447 MB, free: 5.266 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_WhyArrows_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_WhyArrows.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.385684135981137] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertia2.s', 'inertia2.v', 'mass1.s', 'mass1.v'] 8.235537831991678 8.250381853 7.98460408 Calling exit ...