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.001329/0.001329, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001445/0.001445, allocations: 213.7 kB / 24.54 MB, free: 4.016 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.477/1.477, allocations: 230.6 MB / 258.3 MB, free: 8.055 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.001997/0.001997, allocations: 68.77 kB / 378.5 MB, free: 3.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2753, allocations: 53.37 MB / 431.9 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003741/0.2791, allocations: 2.136 MB / 434 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004247/0.2795, allocations: 163.4 kB / 434.2 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.2796, allocations: 7.938 kB / 434.2 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001459/0.2797, allocations: 31.72 kB / 434.2 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.2799, allocations: 43.58 kB / 434.3 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000196/0.2801, allocations: 39.94 kB / 434.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002667/0.2803, allocations: 179.2 kB / 434.5 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.2805, allocations: 44.52 kB / 434.5 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.395e-05/0.2806, allocations: 75.72 kB / 434.6 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.2807, allocations: 75.62 kB / 434.7 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.674e-05/0.2807, allocations: 16 kB / 434.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.024e-05/0.2808, allocations: 12 kB / 434.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.262e-05/0.2808, allocations: 39.84 kB / 434.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.664e-05/0.2809, allocations: 79.61 kB / 434.8 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.2812, allocations: 183.2 kB / 435 MB, free: 3.812 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.2812, allocations: 4 kB / 435 MB, free: 3.809 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2812, allocations: 3.938 kB / 435 MB, free: 3.805 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.2812, allocations: 0 / 435 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006687/0.2818, allocations: 385.6 kB / 435.4 MB, free: 3.398 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.2819, allocations: 12.03 kB / 435.4 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.842e-05/0.282, allocations: 54.73 kB / 435.5 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.568e-05/0.282, allocations: 20.8 kB / 435.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.2823, allocations: 156.9 kB / 435.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.2823, allocations: 20.16 kB / 435.6 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/0.2824, allocations: 20.33 kB / 435.7 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003452/0.2827, allocations: 182.2 kB / 435.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.2827, allocations: 4 kB / 435.8 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.2827, allocations: 4 kB / 435.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.2827, allocations: 7.938 kB / 435.9 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.2829, allocations: 111.2 kB / 436 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.2843, allocations: 0.9188 MB / 436.9 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.2845, allocations: 103.7 kB / 437 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.491e-05/0.2845, allocations: 42.75 kB / 437 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.2845, allocations: 3.938 kB / 437 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.2846, allocations: 30.56 kB / 437.1 MB, free: 1.551 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.2846, allocations: 4 kB / 437.1 MB, free: 1.547 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003765/0.2849, allocations: 129.5 kB / 437.2 MB, free: 1.414 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.078e-05/0.285, allocations: 106.8 kB / 437.3 MB, free: 1.285 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.2853, allocations: 207.7 kB / 437.5 MB, free: 1.07 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.2853, allocations: 29.7 kB / 437.5 MB, free: 1.035 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.2854, allocations: 152 kB / 437.7 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.976e-05/0.2854, allocations: 47.62 kB / 437.7 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-05/0.2855, allocations: 45.89 kB / 437.8 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.2857, allocations: 326.8 kB / 438.1 MB, free: 464 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.434e-05/0.2857, allocations: 44.45 kB / 438.1 MB, free: 420 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.2859, allocations: 138.6 kB / 438.3 MB, free: 232 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.2862, allocations: 206 kB / 438.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2862, allocations: 0 / 438.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003705/0.2866, allocations: 217.2 kB / 438.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.2866, allocations: 8 kB / 438.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.2866, allocations: 4 kB / 438.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.2866, allocations: 4 kB / 438.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.2868, allocations: 51.92 kB / 438.7 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.2868, allocations: 8.344 kB / 438.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.2869, allocations: 39.67 kB / 438.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.287, allocations: 11.98 kB / 438.8 MB, free: 15.63 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.0001367/0.2871, allocations: 141.7 kB / 438.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.378e-05/0.2872, allocations: 15.91 kB / 439 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.333e-05/0.2872, allocations: 20.97 kB / 439 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.2872, allocations: 4 kB / 439 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.2873, allocations: 3.984 kB / 439 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.2873, allocations: 3.938 kB / 439 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004546/0.2877, allocations: 204.7 kB / 439.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2877, allocations: 4 kB / 439.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.2879, allocations: 35.92 kB / 439.2 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.2879, allocations: 7.984 kB / 439.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.2879, allocations: 4 kB / 439.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.2879, allocations: 0 / 439.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.2879, allocations: 4 kB / 439.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004029/0.2883, allocations: 385.8 kB / 439.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.08e-05/0.2883, allocations: 23.89 kB / 439.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.2884, allocations: 4 kB / 439.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.2885, allocations: 0 / 439.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/0.2885, allocations: 15.92 kB / 439.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.2885, allocations: 4 kB / 439.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001402/0.2887, allocations: 149.5 kB / 439.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2887, allocations: 0 / 439.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003806/0.2891, allocations: 39.95 kB / 439.9 MB, free: 14.51 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.000736/0.2898, allocations: 0.914 MB / 440.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002758/0.2901, allocations: 108.4 kB / 440.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.2901, allocations: 4 kB / 440.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.383e-05/0.2901, allocations: 32.53 kB / 440.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005579/0.2907, allocations: 31.92 kB / 440.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003207/0.2939, allocations: 2.629 MB / 443.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/0.2944, allocations: 0.7242 MB / 444.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.333e-05/0.2944, allocations: 29.92 kB / 444.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.867e-05/0.2945, allocations: 51.36 kB / 444.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2945, allocations: 0 / 444.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02997/0.3245, allocations: 3.595 MB / 448 MB, free: 6.266 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.989/8.313, allocations: 4.062 kB / 448 MB, free: 6.262 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.784467343240976] Failed to read output from testmodel.py, exit status != 0: ['time', 'mass1.s', 'mass1.v', 'mass2.s', 'mass2.v', 'mass3.s', 'mass3.v'] 8.384084145072848 8.400993612 8.116457609 Calling exit ...