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.001763/0.001763, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002377/0.002377, allocations: 213.6 kB / 24.54 MB, free: 4.02 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.43/1.43, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.001951/0.001951, allocations: 72.77 kB / 378.5 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2677, allocations: 53.36 MB / 431.9 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003661/0.2714, allocations: 2.527 MB / 434.4 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005293/0.2719, allocations: 255.1 kB / 434.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.272, allocations: 7.938 kB / 434.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001571/0.2722, allocations: 43.58 kB / 434.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001752/0.2724, allocations: 95.14 kB / 434.8 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.2725, allocations: 59.91 kB / 434.9 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003634/0.2729, allocations: 322.5 kB / 435.2 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.2731, allocations: 75.58 kB / 435.3 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.2732, allocations: 119.6 kB / 435.4 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.2735, allocations: 131.4 kB / 435.5 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.108e-05/0.2735, allocations: 24 kB / 435.5 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.71e-05/0.2735, allocations: 28 kB / 435.6 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.881e-05/0.2736, allocations: 63.77 kB / 435.6 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.2737, allocations: 139.3 kB / 435.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003668/0.2741, allocations: 319.5 kB / 436.1 MB, free: 2.703 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2741, allocations: 0 / 436.1 MB, free: 2.703 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2741, allocations: 0 / 436.1 MB, free: 2.703 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.2741, allocations: 0 / 436.1 MB, free: 2.703 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.0008591/0.275, allocations: 0.5015 MB / 436.6 MB, free: 2.168 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.275, allocations: 8.031 kB / 436.6 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.439e-05/0.2751, allocations: 62.72 kB / 436.6 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.093e-05/0.2752, allocations: 32.75 kB / 436.7 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.2755, allocations: 194 kB / 436.9 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.2755, allocations: 21.03 kB / 436.9 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.203e-05/0.2756, allocations: 28.36 kB / 436.9 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004486/0.276, allocations: 260.4 kB / 437.2 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.2761, allocations: 3.938 kB / 437.2 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.2761, allocations: 12 kB / 437.2 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.2761, allocations: 8 kB / 437.2 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003132/0.2764, allocations: 175.8 kB / 437.4 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.2775, allocations: 0.7064 MB / 438.1 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004216/0.2779, allocations: 265.2 kB / 438.3 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.2781, allocations: 117.7 kB / 438.4 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.2781, allocations: 4 kB / 438.4 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.2781, allocations: 42.5 kB / 438.5 MB, free: 132 kB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.483e-06/0.2781, allocations: 0 / 438.5 MB, free: 132 kB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002615/0.2807, allocations: 1.429 MB / 439.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/0.2808, allocations: 85.11 kB / 440 MB, free: 14.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.281, allocations: 184.7 kB / 440.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.281, allocations: 37.64 kB / 440.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.2811, allocations: 144.8 kB / 440.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.2813, allocations: 182.4 kB / 440.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.2814, allocations: 74.2 kB / 440.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.2815, allocations: 342.8 kB / 440.9 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.2817, allocations: 96.97 kB / 441 MB, free: 13.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.2819, allocations: 164.8 kB / 441.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004192/0.2823, allocations: 278.2 kB / 441.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.2823, allocations: 0 / 441.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000536/0.2829, allocations: 377.9 kB / 441.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.2829, allocations: 4 kB / 441.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2829, allocations: 0 / 441.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.2829, allocations: 4 kB / 441.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003743/0.2833, allocations: 99.89 kB / 441.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.2833, allocations: 12 kB / 442 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.2834, allocations: 8 kB / 442 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.2834, allocations: 12 kB / 442 MB, free: 12.46 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.0001597/0.2836, allocations: 153.8 kB / 442.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.662e-05/0.2837, allocations: 35.75 kB / 442.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.117e-05/0.2838, allocations: 37.95 kB / 442.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/0.2838, allocations: 4 kB / 442.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.2838, allocations: 0 / 442.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.2838, allocations: 0 / 442.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.2851, allocations: 0.9117 MB / 443.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.2851, allocations: 0 / 443.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004192/0.2855, allocations: 99.83 kB / 443.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/0.2855, allocations: 7.938 kB / 443.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.2856, allocations: 12 kB / 443.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2856, allocations: 4.062 kB / 443.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.2856, allocations: 4 kB / 443.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008575/0.2864, allocations: 0.6394 MB / 443.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.317e-05/0.2865, allocations: 27.78 kB / 443.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.906e-05/0.2865, allocations: 12 kB / 443.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.2867, allocations: 12 kB / 443.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.2867, allocations: 27.95 kB / 444 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.611e-05/0.2868, allocations: 19.98 kB / 444 MB, free: 10.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.2869, allocations: 135.3 kB / 444.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2869, allocations: 0 / 444.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003712/0.2873, allocations: 80 kB / 444.2 MB, free: 10.16 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.001216/0.2885, allocations: 1.195 MB / 445.4 MB, free: 8.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005322/0.289, allocations: 287.6 kB / 445.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.289, allocations: 0 / 445.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002146/0.2892, allocations: 147.8 kB / 445.8 MB, free: 8.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005911/0.2898, allocations: 68.25 kB / 445.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004109/0.2939, allocations: 3.284 MB / 449.2 MB, free: 5.051 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004401/0.2944, allocations: 0.7726 MB / 449.9 MB, free: 4.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001411/0.2945, allocations: 38.95 kB / 450 MB, free: 4.211 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.2947, allocations: 95.41 kB / 450.1 MB, free: 4.117 MB / 350.1 MB Notification: Performance of SimCode: time 1.011e-06/0.2947, allocations: 0 / 450.1 MB, free: 4.117 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03092/0.3256, allocations: 6.408 MB / 456.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.347/8.672, allocations: 7.875 kB / 456.5 MB, free: 13.81 MB / 366.1 MB " [Timeout remaining time 651] (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: 11.025523269083351] 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.741952289827168 8.757270696 8.480077373 Calling exit ...