Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.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.001543/0.001543, allocations: 109.3 kB / 20.22 MB, free: 1.785 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.001943/0.001943, allocations: 215.9 kB / 23.48 MB, free: 4.754 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.418/1.418, allocations: 230.4 MB / 257 MB, free: 8.254 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.InitialConditions,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_InitialConditions",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.001891/0.001891, allocations: 67.88 kB / 377.1 MB, free: 3.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.265, allocations: 53.32 MB / 430.4 MB, free: 7.203 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003716/0.2687, allocations: 2.503 MB / 432.9 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005306/0.2693, allocations: 255.1 kB / 433.1 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.2694, allocations: 11.94 kB / 433.1 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.2695, allocations: 43.56 kB / 433.2 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.2697, allocations: 91.2 kB / 433.3 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001804/0.2699, allocations: 67.84 kB / 433.3 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003463/0.2702, allocations: 322.5 kB / 433.7 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.2704, allocations: 71.11 kB / 433.7 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.2705, allocations: 119.6 kB / 433.8 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.2707, allocations: 135.4 kB / 434 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.347e-05/0.2708, allocations: 24 kB / 434 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.004e-05/0.2708, allocations: 24 kB / 434 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.516e-05/0.2709, allocations: 55.78 kB / 434.1 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.271, allocations: 147.3 kB / 434.2 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003621/0.2714, allocations: 319 kB / 434.5 MB, free: 3.035 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2714, allocations: 0 / 434.5 MB, free: 3.035 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2714, allocations: 0 / 434.5 MB, free: 3.035 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.2714, allocations: 0 / 434.5 MB, free: 3.035 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008605/0.2723, allocations: 0.5728 MB / 435.1 MB, free: 2.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.2723, allocations: 11.97 kB / 435.1 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.633e-05/0.2724, allocations: 62.72 kB / 435.2 MB, free: 2.328 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.787e-05/0.2725, allocations: 32.75 kB / 435.2 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.2728, allocations: 259.9 kB / 435.5 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.2728, allocations: 20.94 kB / 435.5 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.294e-05/0.2729, allocations: 28.38 kB / 435.5 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004259/0.2733, allocations: 259.1 kB / 435.8 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.2733, allocations: 3.938 kB / 435.8 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.2733, allocations: 12 kB / 435.8 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.2734, allocations: 8 kB / 435.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003016/0.2737, allocations: 183.8 kB / 436 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.2747, allocations: 0.7463 MB / 436.7 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004275/0.2751, allocations: 270.9 kB / 437 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.2753, allocations: 113.7 kB / 437.1 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.2753, allocations: 4 kB / 437.1 MB, free: 300 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.2754, allocations: 42.56 kB / 437.1 MB, free: 248 kB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.353e-06/0.2754, allocations: 0 / 437.1 MB, free: 248 kB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002773/0.2781, allocations: 1.712 MB / 438.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.432e-05/0.2782, allocations: 85.11 kB / 438.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.2784, allocations: 187.7 kB / 439.1 MB, free: 14.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.428e-05/0.2785, allocations: 41.69 kB / 439.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.674e-05/0.2785, allocations: 136.8 kB / 439.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.2787, allocations: 182.4 kB / 439.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.2788, allocations: 78.25 kB / 439.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.279, allocations: 334.8 kB / 439.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.2791, allocations: 105.1 kB / 440 MB, free: 13.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.2794, allocations: 157.5 kB / 440.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004162/0.2798, allocations: 282.1 kB / 440.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2798, allocations: 0 / 440.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005747/0.2804, allocations: 373.9 kB / 440.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.2804, allocations: 12.06 kB / 440.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.2804, allocations: 0 / 440.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.2804, allocations: 4 kB / 440.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003844/0.2808, allocations: 99.89 kB / 440.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.2808, allocations: 4 kB / 440.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.2809, allocations: 8 kB / 440.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.2809, allocations: 16 kB / 440.9 MB, free: 12.21 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (58): * Single equations (assignments): 58 * 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.0001604/0.2811, allocations: 153.7 kB / 441.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.757e-05/0.2812, allocations: 35.75 kB / 441.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.437e-05/0.2813, allocations: 37.88 kB / 441.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.2813, allocations: 7.938 kB / 441.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2813, allocations: 4 kB / 441.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.2813, allocations: 3.984 kB / 441.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/0.2826, allocations: 0.9472 MB / 442.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.2826, allocations: 4.062 kB / 442.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004718/0.2831, allocations: 87.91 kB / 442.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.848e-06/0.2831, allocations: 15.77 kB / 442.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.2832, allocations: 19.92 kB / 442.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.2832, allocations: 0 / 442.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.2832, allocations: 4 kB / 442.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008239/0.284, allocations: 0.6358 MB / 442.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.454e-05/0.2841, allocations: 100.9 kB / 443 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.2841, allocations: 12 kB / 443 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.2843, allocations: 12 kB / 443 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.2843, allocations: 27.89 kB / 443 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.2843, allocations: 16 kB / 443 MB, free: 9.984 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001223/0.2845, allocations: 131.1 kB / 443.1 MB, free: 9.855 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2845, allocations: 0 / 443.1 MB, free: 9.855 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004394/0.2849, allocations: 80 kB / 443.2 MB, free: 9.777 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.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 (48): * Single equations (assignments): 48 * 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.001176/0.2861, allocations: 1.2 MB / 444.4 MB, free: 8.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004907/0.2866, allocations: 279.6 kB / 444.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.2866, allocations: 0 / 444.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.2868, allocations: 143.6 kB / 444.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005752/0.2874, allocations: 67.89 kB / 444.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004137/0.2915, allocations: 3.292 MB / 448.2 MB, free: 4.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005075/0.292, allocations: 0.7764 MB / 449 MB, free: 3.852 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001428/0.2921, allocations: 26.97 kB / 449 MB, free: 3.824 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.2923, allocations: 99.39 kB / 449.1 MB, free: 3.727 MB / 350.1 MB Notification: Performance of SimCode: time 8.72e-07/0.2923, allocations: 0 / 449.1 MB, free: 3.727 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03317/0.3255, allocations: 6.132 MB / 455.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.087/8.413, allocations: 0 / 455.2 MB, free: 13.71 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_InitialConditions_fmu --startTime=0 --stopTime=5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.673407999100164] Failed to read output from testmodel.py, exit status != 0: ['time', 'm1.s', 'm1.v', 'm3.s', 'm3.v', 'sd1.s_rel', 'sd1.v_rel', 'sd2.s_rel', 'sd2.v_rel'] 8.485440399032086 8.505880973 8.231312297 Calling exit ...