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.001437/0.001437, allocations: 105 kB / 19.74 MB, free: 2.566 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.001554/0.001554, allocations: 218.8 kB / 22.92 MB, free: 5.535 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.289/1.289, allocations: 230.5 MB / 256.4 MB, free: 8.43 MB / 206.1 MB " [Timeout remaining time 179] 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.001792/0.001792, allocations: 67.89 kB / 376.1 MB, free: 4.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.214, allocations: 53.31 MB / 429.4 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003073/0.217, allocations: 2.142 MB / 431.5 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003332/0.2174, allocations: 163.4 kB / 431.7 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.61e-05/0.2175, allocations: 4 kB / 431.7 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.2176, allocations: 35.66 kB / 431.7 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.519e-05/0.2177, allocations: 47.58 kB / 431.8 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001572/0.2178, allocations: 35.95 kB / 431.8 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.2181, allocations: 183.2 kB / 432 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.2182, allocations: 38.3 kB / 432 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.412e-05/0.2183, allocations: 67.72 kB / 432.1 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.2184, allocations: 75.69 kB / 432.2 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.676e-05/0.2184, allocations: 16 kB / 432.2 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.994e-05/0.2184, allocations: 16 kB / 432.2 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.119e-05/0.2185, allocations: 35.84 kB / 432.2 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.944e-05/0.2185, allocations: 79.61 kB / 432.3 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.2188, allocations: 183.5 kB / 432.5 MB, free: 4.324 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.2188, allocations: 0 / 432.5 MB, free: 4.324 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2188, allocations: 0 / 432.5 MB, free: 4.324 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.2188, allocations: 3.938 kB / 432.5 MB, free: 4.32 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.0005833/0.2194, allocations: 466.7 kB / 432.9 MB, free: 3.816 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.2194, allocations: 12.03 kB / 433 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.42e-05/0.2194, allocations: 50.73 kB / 433 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.981e-05/0.2195, allocations: 28.78 kB / 433 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.2197, allocations: 208.1 kB / 433.2 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.2197, allocations: 16.14 kB / 433.3 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.2198, allocations: 24.33 kB / 433.3 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.22, allocations: 190.2 kB / 433.5 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.2201, allocations: 0 / 433.5 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.2201, allocations: 8 kB / 433.5 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.2201, allocations: 4 kB / 433.5 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.2203, allocations: 103.9 kB / 433.6 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.2214, allocations: 0.9548 MB / 434.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.2216, allocations: 95.94 kB / 434.6 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.833e-05/0.2216, allocations: 42.56 kB / 434.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/0.2216, allocations: 0 / 434.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.2217, allocations: 38.5 kB / 434.7 MB, free: 1.859 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 9.72e-07/0.2217, allocations: 0 / 434.7 MB, free: 1.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002703/0.2219, allocations: 133.9 kB / 434.8 MB, free: 1.723 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/0.222, allocations: 106.8 kB / 434.9 MB, free: 1.594 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.2222, allocations: 199.8 kB / 435.1 MB, free: 1.387 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.2222, allocations: 29.7 kB / 435.2 MB, free: 1.352 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.293e-05/0.2223, allocations: 152 kB / 435.3 MB, free: 1.199 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.2223, allocations: 47.62 kB / 435.4 MB, free: 1.152 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.313e-05/0.2224, allocations: 49.89 kB / 435.4 MB, free: 1.094 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.2225, allocations: 330.8 kB / 435.7 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.938e-05/0.2226, allocations: 44.45 kB / 435.8 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.2227, allocations: 138.6 kB / 435.9 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.2229, allocations: 201.6 kB / 436.1 MB, free: 296 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2229, allocations: 0 / 436.1 MB, free: 296 kB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002965/0.2232, allocations: 221.2 kB / 436.3 MB, free: 68 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.2232, allocations: 10.97 kB / 436.3 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.2232, allocations: 7.984 kB / 436.3 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.2233, allocations: 8 kB / 436.3 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.2234, allocations: 51.97 kB / 436.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.2234, allocations: 7.938 kB / 436.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.2235, allocations: 40.02 kB / 436.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.2236, allocations: 8 kB / 436.5 MB, free: 15.94 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.0001055/0.2237, allocations: 137.7 kB / 436.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.476e-05/0.2237, allocations: 15.91 kB / 436.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.523e-05/0.2238, allocations: 20.92 kB / 436.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.2238, allocations: 4 kB / 436.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.2238, allocations: 0 / 436.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2238, allocations: 3.938 kB / 436.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003939/0.2242, allocations: 237.6 kB / 436.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2242, allocations: 7.938 kB / 436.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.2243, allocations: 27.98 kB / 436.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2243, allocations: 0 / 436.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.2243, allocations: 4 kB / 436.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.2243, allocations: 0 / 436.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2243, allocations: 0 / 436.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003006/0.2246, allocations: 393.8 kB / 437.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.023e-05/0.2247, allocations: 101 kB / 437.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.2247, allocations: 4 kB / 437.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.2249, allocations: 4.141 kB / 437.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.096e-05/0.2249, allocations: 15.91 kB / 437.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.2249, allocations: 4 kB / 437.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001201/0.225, allocations: 149.5 kB / 437.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.225, allocations: 0 / 437.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000344/0.2254, allocations: 43.95 kB / 437.6 MB, free: 14.69 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.000552/0.2259, allocations: 0.9132 MB / 438.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.2261, allocations: 112.5 kB / 438.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2261, allocations: 3.938 kB / 438.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.031e-05/0.2262, allocations: 35.92 kB / 438.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/0.2266, allocations: 27.92 kB / 438.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/0.2292, allocations: 2.63 MB / 441.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.2295, allocations: 0.7242 MB / 442 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.032e-05/0.2296, allocations: 21.94 kB / 442.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.348e-05/0.2297, allocations: 51.42 kB / 442.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2297, allocations: 0 / 442.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0259/0.2556, allocations: 3.458 MB / 445.6 MB, free: 6.574 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.065/7.32, allocations: 10.72 kB / 445.6 MB, free: 6.566 MB / 350.1 MB " [Timeout remaining time 653] (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 --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: 9.408970096003031]