Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.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.001373/0.001373, allocations: 109.4 kB / 19.8 MB, free: 2.5 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: 219.7 kB / 23 MB, free: 5.582 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.4/1.4, allocations: 230.5 MB / 256.5 MB, free: 8.227 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.Oscillator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Oscillator",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.00193/0.00193, allocations: 67.89 kB / 376.2 MB, free: 4.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2562, allocations: 53.31 MB / 429.5 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.00412/0.2603, allocations: 2.473 MB / 432 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.2616, allocations: 0.666 MB / 432.6 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.2617, allocations: 4 kB / 432.6 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001531/0.2618, allocations: 39.59 kB / 432.7 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.262, allocations: 67.36 kB / 432.8 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003382/0.2623, allocations: 79.83 kB / 432.8 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003531/0.2627, allocations: 254.8 kB / 433.1 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001929/0.2629, allocations: 77.34 kB / 433.2 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.2631, allocations: 99.64 kB / 433.3 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.2633, allocations: 111.5 kB / 433.4 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.611e-05/0.2633, allocations: 24 kB / 433.4 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.166e-05/0.2634, allocations: 28 kB / 433.4 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.47e-05/0.2634, allocations: 47.77 kB / 433.5 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.2636, allocations: 123.4 kB / 433.6 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003892/0.2639, allocations: 263.3 kB / 433.8 MB, free: 3.059 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2639, allocations: 0 / 433.8 MB, free: 3.059 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2639, allocations: 0 / 433.8 MB, free: 3.059 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.343e-06/0.264, allocations: 0 / 433.8 MB, free: 3.059 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008427/0.2648, allocations: 0.5299 MB / 434.4 MB, free: 2.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.2649, allocations: 12.02 kB / 434.4 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.478e-05/0.2649, allocations: 58.73 kB / 434.4 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002252/0.2651, allocations: 44.73 kB / 434.5 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003411/0.2655, allocations: 240 kB / 434.7 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.2655, allocations: 16.81 kB / 434.7 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.341e-05/0.2656, allocations: 28.31 kB / 434.8 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000425/0.266, allocations: 221 kB / 435 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.266, allocations: 4 kB / 435 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.266, allocations: 4 kB / 435 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.266, allocations: 4 kB / 435 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000326/0.2664, allocations: 151.9 kB / 435.1 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.2676, allocations: 0.7911 MB / 435.9 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004274/0.268, allocations: 185 kB / 436.1 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002319/0.2682, allocations: 93.67 kB / 436.2 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.2683, allocations: 4.188 kB / 436.2 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.2683, allocations: 42.44 kB / 436.2 MB, free: 456 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.432e-06/0.2683, allocations: 3.938 kB / 436.2 MB, free: 452 kB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.001749/0.27, allocations: 0.8736 MB / 437.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/0.2701, allocations: 85.09 kB / 437.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.2703, allocations: 182.8 kB / 437.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.2703, allocations: 29.7 kB / 437.4 MB, free: 15.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.2704, allocations: 136.5 kB / 437.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.107e-05/0.2705, allocations: 103.1 kB / 437.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.241e-05/0.2706, allocations: 49.7 kB / 437.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.2708, allocations: 330.8 kB / 438 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.2709, allocations: 63.97 kB / 438.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.2711, allocations: 112.2 kB / 438.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/0.2714, allocations: 184.2 kB / 438.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.2714, allocations: 11.94 kB / 438.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004503/0.2719, allocations: 245.3 kB / 438.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.2719, allocations: 8 kB / 438.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2719, allocations: 0 / 438.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.2719, allocations: 4 kB / 438.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.2722, allocations: 59.91 kB / 438.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.2722, allocations: 0 / 438.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.2723, allocations: 20.08 kB / 438.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.2723, allocations: 11.94 kB / 438.7 MB, free: 13.79 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (32): * Single equations (assignments): 32 * 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.0001452/0.2725, allocations: 141.7 kB / 438.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.231e-05/0.2725, allocations: 19.86 kB / 438.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.814e-05/0.2726, allocations: 29.86 kB / 438.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.2726, allocations: 4 kB / 438.9 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.2726, allocations: 3.938 kB / 438.9 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.2726, allocations: 4 kB / 438.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009129/0.2735, allocations: 0.5787 MB / 439.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.2736, allocations: 0 / 439.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/0.2738, allocations: 63.91 kB / 439.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2738, allocations: 0 / 439.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.2738, allocations: 11.98 kB / 439.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.2739, allocations: 3.938 kB / 439.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/0.2739, allocations: 12.08 kB / 439.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000701/0.2746, allocations: 492.7 kB / 440.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.588e-05/0.2746, allocations: 97.02 kB / 440.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.2747, allocations: 8 kB / 440.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.2748, allocations: 15.97 kB / 440.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.851e-05/0.2749, allocations: 11.98 kB / 440.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.2749, allocations: 12 kB / 440.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001133/0.275, allocations: 136.9 kB / 440.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.275, allocations: 0 / 440.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003358/0.2754, allocations: 48 kB / 440.4 MB, free: 12 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (damper1.s_rel,damper1.v_rel,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 (26): * Single equations (assignments): 26 * 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.0009902/0.2764, allocations: 1.038 MB / 441.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004189/0.2768, allocations: 174.8 kB / 441.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2768, allocations: 0 / 441.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.277, allocations: 91.84 kB / 441.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004795/0.2774, allocations: 48.59 kB / 441.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003507/0.2809, allocations: 2.652 MB / 444.4 MB, free: 7.836 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.2813, allocations: 0.748 MB / 445.1 MB, free: 7.062 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.744e-05/0.2814, allocations: 21.95 kB / 445.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.2816, allocations: 71.41 kB / 445.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2816, allocations: 0 / 445.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0289/0.3105, allocations: 4.475 MB / 449.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.074/8.385, allocations: 7.781 kB / 449.7 MB, free: 2.59 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Oscillator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Oscillator.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.600271172006615] Failed to read output from testmodel.py, exit status != 0: ['time', 'damper1.s_rel', 'damper1.v_rel', 'mass1.s', 'mass1.v'] 8.453934225981357 8.470373766 8.202794535 Calling exit ...