Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.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.00129/0.00129, allocations: 110.5 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.001421/0.001421, allocations: 211.9 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.446/1.446, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.SignConvention,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_SignConvention",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.001926/0.001926, allocations: 64.77 kB / 378.5 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2881, allocations: 53.37 MB / 431.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003509/0.2916, allocations: 2.126 MB / 434 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000414/0.292, allocations: 175.3 kB / 434.2 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.2921, allocations: 4 kB / 434.2 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.2923, allocations: 23.67 kB / 434.2 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.2924, allocations: 51.56 kB / 434.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.2926, allocations: 35.95 kB / 434.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002477/0.2928, allocations: 191.1 kB / 434.5 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.293, allocations: 38.42 kB / 434.5 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.657e-05/0.2931, allocations: 75.77 kB / 434.6 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.2932, allocations: 75.64 kB / 434.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.2932, allocations: 12 kB / 434.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.265e-05/0.2933, allocations: 16 kB / 434.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.03e-05/0.2933, allocations: 31.86 kB / 434.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.349e-05/0.2934, allocations: 83.59 kB / 434.8 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.2937, allocations: 184 kB / 435 MB, free: 3.777 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2937, allocations: 0 / 435 MB, free: 3.777 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2937, allocations: 0 / 435 MB, free: 3.777 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.2937, allocations: 0 / 435 MB, free: 3.777 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006423/0.2943, allocations: 389.6 kB / 435.4 MB, free: 3.367 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.2944, allocations: 12.03 kB / 435.4 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.881e-05/0.2944, allocations: 50.73 kB / 435.4 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.382e-05/0.2945, allocations: 20.8 kB / 435.5 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.2947, allocations: 162.2 kB / 435.6 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.2948, allocations: 16.16 kB / 435.6 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.319e-05/0.2948, allocations: 32.31 kB / 435.7 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003171/0.2951, allocations: 182.2 kB / 435.8 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.2951, allocations: 4 kB / 435.9 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.2952, allocations: 7.938 kB / 435.9 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.2952, allocations: 4 kB / 435.9 MB, free: 2.832 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001852/0.2954, allocations: 103.9 kB / 436 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/0.2967, allocations: 0.9148 MB / 436.9 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.2969, allocations: 103.8 kB / 437 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.271e-05/0.2969, allocations: 38.67 kB / 437 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.2969, allocations: 3.984 kB / 437 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.297, allocations: 38.56 kB / 437.1 MB, free: 1.512 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.297, allocations: 4 kB / 437.1 MB, free: 1.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003154/0.2973, allocations: 129.4 kB / 437.2 MB, free: 1.375 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.185e-05/0.2974, allocations: 102.8 kB / 437.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.2976, allocations: 211.7 kB / 437.5 MB, free: 1.031 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.2976, allocations: 29.7 kB / 437.5 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.924e-05/0.2977, allocations: 140 kB / 437.7 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.648e-05/0.2977, allocations: 51.62 kB / 437.7 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.878e-05/0.2978, allocations: 41.91 kB / 437.8 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.298, allocations: 334.8 kB / 438.1 MB, free: 428 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.143e-05/0.298, allocations: 40.45 kB / 438.1 MB, free: 388 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.2982, allocations: 142.6 kB / 438.3 MB, free: 196 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003286/0.2985, allocations: 198.2 kB / 438.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2985, allocations: 4 kB / 438.5 MB, free: 15.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003342/0.2989, allocations: 221.1 kB / 438.7 MB, free: 15.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.2989, allocations: 8 kB / 438.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.2989, allocations: 4 kB / 438.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.2989, allocations: 4.406 kB / 438.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.2991, allocations: 51.91 kB / 438.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.2991, allocations: 8 kB / 438.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.2992, allocations: 35.67 kB / 438.8 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.2992, allocations: 12 kB / 438.8 MB, free: 15.6 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 (28): * Single equations (assignments): 28 * 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.0001304/0.2994, allocations: 137.7 kB / 438.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.725e-05/0.2994, allocations: 15.91 kB / 438.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.552e-05/0.2995, allocations: 25.02 kB / 439 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.2995, allocations: 4 kB / 439 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.2995, allocations: 0 / 439 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.2995, allocations: 7.938 kB / 439 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004166/0.2999, allocations: 208.6 kB / 439.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2999, allocations: 3.938 kB / 439.2 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.3001, allocations: 31.92 kB / 439.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.3001, allocations: 4 kB / 439.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.3001, allocations: 0 / 439.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.3001, allocations: 4 kB / 439.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.3001, allocations: 4 kB / 439.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00036/0.3004, allocations: 396.8 kB / 439.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.287e-05/0.3005, allocations: 15.84 kB / 439.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.591e-05/0.3005, allocations: 7.984 kB / 439.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.3007, allocations: 4.062 kB / 439.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.448e-05/0.3007, allocations: 11.92 kB / 439.7 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-06/0.3007, allocations: 4 kB / 439.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001352/0.3008, allocations: 153.5 kB / 439.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3008, allocations: 4 kB / 439.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003634/0.3012, allocations: 39.95 kB / 439.9 MB, free: 14.47 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.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 (12): * Single equations (assignments): 12 * 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.0006686/0.3019, allocations: 0.9102 MB / 440.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000234/0.3021, allocations: 107.8 kB / 440.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3021, allocations: 0 / 440.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.478e-05/0.3021, allocations: 35.92 kB / 440.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000506/0.3027, allocations: 28.14 kB / 440.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003005/0.3057, allocations: 2.641 MB / 443.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004879/0.3061, allocations: 0.7281 MB / 444.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.628e-05/0.3062, allocations: 21.89 kB / 444.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.965e-05/0.3063, allocations: 47.42 kB / 444.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3063, allocations: 0 / 444.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.3357, allocations: 3.582 MB / 448 MB, free: 6.238 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.954/8.289, allocations: 18.5 kB / 448 MB, free: 6.227 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_SignConvention_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.612586100120097] Failed to read output from testmodel.py, exit status != 0: ['time', 'mass1.s', 'mass1.v', 'mass2.s', 'mass2.v', 'mass3.s', 'mass3.v'] 8.361563160084188 8.390061671 8.091242936 Calling exit ...