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.001672/0.001672, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001518/0.001518, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.454/1.454, allocations: 230.4 MB / 254.7 MB, free: 15.01 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.001912/0.001912, allocations: 75.81 kB / 373.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1034, allocations: 53.32 MB / 426.9 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003288/0.1067, allocations: 2.12 MB / 429 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003895/0.1071, allocations: 163.4 kB / 429.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.232e-05/0.1072, allocations: 7.938 kB / 429.2 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.1073, allocations: 27.72 kB / 429.2 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.073e-05/0.1074, allocations: 47.56 kB / 429.2 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.1076, allocations: 43.94 kB / 429.3 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.1078, allocations: 183.2 kB / 429.5 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.1079, allocations: 46.27 kB / 429.5 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.679e-05/0.108, allocations: 63.73 kB / 429.6 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.1081, allocations: 79.62 kB / 429.6 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.1082, allocations: 12 kB / 429.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.432e-05/0.1082, allocations: 12 kB / 429.7 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.508e-05/0.1082, allocations: 31.92 kB / 429.7 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.205e-05/0.1083, allocations: 91.52 kB / 429.8 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.1085, allocations: 171.2 kB / 430 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1085, allocations: 4 kB / 430 MB, free: 1.746 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1085, allocations: 0 / 430 MB, free: 1.746 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1085, allocations: 4 kB / 430 MB, free: 1.742 MB / 350.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.0006511/0.1092, allocations: 466.7 kB / 430.4 MB, free: 1.238 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.1092, allocations: 8.031 kB / 430.4 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.927e-05/0.1093, allocations: 54.73 kB / 430.5 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.19e-05/0.1093, allocations: 20.8 kB / 430.5 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.1096, allocations: 220 kB / 430.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.1096, allocations: 16.16 kB / 430.7 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.976e-05/0.1097, allocations: 24.33 kB / 430.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003652/0.11, allocations: 182 kB / 430.9 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.1101, allocations: 8 kB / 430.9 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.1101, allocations: 4 kB / 430.9 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.1101, allocations: 4 kB / 430.9 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.1103, allocations: 111.8 kB / 431.1 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2059/0.3161, allocations: 0.9469 MB / 432 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.3163, allocations: 102.9 kB / 432.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.849e-05/0.3164, allocations: 40.11 kB / 432.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.3164, allocations: 8.625 kB / 432.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.3164, allocations: 32.69 kB / 432.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.703e-06/0.3164, allocations: 0 / 432.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003264/0.3167, allocations: 131.2 kB / 432.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.3168, allocations: 107.3 kB / 432.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.3169, allocations: 202.3 kB / 432.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/0.317, allocations: 25.7 kB / 432.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.158e-05/0.317, allocations: 153.4 kB / 432.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.317, allocations: 51.61 kB / 432.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.286e-05/0.3171, allocations: 47.69 kB / 432.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.912e-05/0.3172, allocations: 333.7 kB / 433.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.537e-05/0.3172, allocations: 37.34 kB / 433.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.3173, allocations: 144.6 kB / 433.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.3175, allocations: 199.5 kB / 433.6 MB, free: 9.828 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3175, allocations: 0.9062 kB / 433.6 MB, free: 9.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002734/0.3178, allocations: 215.3 kB / 433.8 MB, free: 9.789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3178, allocations: 7.031 kB / 433.8 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.3178, allocations: 3.984 kB / 433.8 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.3178, allocations: 5.875 kB / 433.8 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.318, allocations: 48.31 kB / 433.9 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.318, allocations: 8.5 kB / 433.9 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.3181, allocations: 34.81 kB / 433.9 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.3181, allocations: 13.25 kB / 433.9 MB, free: 9.77 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 7.844e-05/0.3182, allocations: 136.5 kB / 434 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.3183, allocations: 17.16 kB / 434.1 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.325e-05/0.3183, allocations: 22.31 kB / 434.1 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3183, allocations: 1.75 kB / 434.1 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.3183, allocations: 6.688 kB / 434.1 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.3183, allocations: 3.938 kB / 434.1 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003537/0.3187, allocations: 231.3 kB / 434.3 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3187, allocations: 5.844 kB / 434.3 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.3188, allocations: 31 kB / 434.4 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.3188, allocations: 2.219 kB / 434.4 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.3188, allocations: 2.156 kB / 434.4 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3188, allocations: 0.5312 kB / 434.4 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.3188, allocations: 8.078 kB / 434.4 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.3191, allocations: 388.2 kB / 434.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.3191, allocations: 99.69 kB / 434.8 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.3191, allocations: 4.031 kB / 434.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.3193, allocations: 4.703 kB / 434.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.3193, allocations: 14.16 kB / 434.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.3193, allocations: 3.375 kB / 434.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.005e-05/0.3194, allocations: 151.7 kB / 435 MB, free: 8.957 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3194, allocations: 0 / 435 MB, free: 8.957 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003673/0.3197, allocations: 43.11 kB / 435.1 MB, free: 8.953 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.0004387/0.3202, allocations: 0.914 MB / 436 MB, free: 8.141 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001946/0.3204, allocations: 105.6 kB / 436.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.3204, allocations: 0 / 436.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.232e-05/0.3204, allocations: 36.16 kB / 436.1 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.0005135/0.3209, allocations: 33.3 kB / 436.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.323, allocations: 2.626 MB / 438.8 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/0.3232, allocations: 0.7214 MB / 439.5 MB, free: 5.328 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.75e-05/0.3232, allocations: 27.98 kB / 439.5 MB, free: 5.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.317e-05/0.3233, allocations: 52.92 kB / 439.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3233, allocations: 1.094 kB / 439.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03075/0.354, allocations: 3.509 MB / 443.1 MB, free: 4.793 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.992/8.346, allocations: 6.281 kB / 443.1 MB, free: 4.789 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.657026266213506] Failed to read output from testmodel.py, exit status != 0: ['time', 'mass1.s', 'mass1.v', 'mass2.s', 'mass2.v', 'mass3.s', 'mass3.v'] 8.417367131914943 8.441644027 8.328809808 Calling exit ...