Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper.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.001543/0.001543, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.001903/0.001903, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.555/1.555, allocations: 230.2 MB / 254.5 MB, free: 15.43 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2607/0.2607, allocations: 46.87 MB / 357.4 MB, free: 10.57 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica 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.003156/0.003156, allocations: 77.38 kB / 0.4912 GB, free: 26.78 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.133, allocations: 65.98 MB / 0.5557 GB, free: 9.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01927/0.1523, allocations: 16.16 MB / 0.5714 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01264/0.1649, allocations: 5.009 MB / 0.5763 GB, free: 3.898 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003389/0.1683, allocations: 95.75 kB / 0.5764 GB, free: 3.805 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01135/0.1797, allocations: 5.225 MB / 0.5815 GB, free: 14.56 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008408/0.1881, allocations: 2.54 MB / 0.584 GB, free: 12.01 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003721/0.1918, allocations: 1.182 MB / 0.5852 GB, free: 10.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01124/0.2031, allocations: 6.662 MB / 0.5917 GB, free: 4.152 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009182/0.2122, allocations: 5.395 MB / 0.5969 GB, free: 14.68 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005204/0.2174, allocations: 2.598 MB / 0.5995 GB, free: 12.07 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006713/0.2242, allocations: 3.937 MB / 0.6033 GB, free: 8.125 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002577/0.2267, allocations: 0.5703 MB / 0.6039 GB, free: 7.555 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004333/0.2311, allocations: 1.303 MB / 0.6052 GB, free: 6.25 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005339/0.2364, allocations: 3.292 MB / 0.6084 GB, free: 2.949 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2819/0.5183, allocations: 3.666 MB / 0.6119 GB, free: 14.66 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01647/0.5348, allocations: 11.15 MB / 0.6228 GB, free: 13.7 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.378e-06/0.5348, allocations: 0.9688 kB / 0.6228 GB, free: 13.7 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.5348, allocations: 0 / 0.6228 GB, free: 13.7 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005338/0.5353, allocations: 0 / 0.6228 GB, free: 13.7 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2520 * Number of variables: 2520 Notification: Performance of Generate backend data structure: time 0.02653/0.5618, allocations: 7.819 MB / 0.6305 GB, free: 10.67 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.5619, allocations: 12.91 kB / 0.6305 GB, free: 10.67 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004091/0.566, allocations: 1.184 MB / 0.6316 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01143/0.5774, allocations: 2.664 MB / 0.6342 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01168/0.5891, allocations: 4.268 MB / 0.6384 GB, free: 9.254 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004938/0.5896, allocations: 433.7 kB / 0.6388 GB, free: 9.242 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002574/0.5921, allocations: 0.5574 MB / 0.6394 GB, free: 9.16 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04294/0.6351, allocations: 19.74 MB / 0.6587 GB, free: 14.64 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003287/0.6354, allocations: 68.98 kB / 0.6587 GB, free: 14.63 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002629/0.638, allocations: 272 kB / 0.659 GB, free: 14.5 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004998/0.643, allocations: 3.154 MB / 0.6621 GB, free: 13.32 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0399/0.6829, allocations: 15.86 MB / 0.6775 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09681/0.7797, allocations: 63.85 MB / 0.7399 GB, free: 13.8 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01792/0.7977, allocations: 6.13 MB / 0.7459 GB, free: 7.547 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003815/0.8015, allocations: 1.898 MB / 0.7477 GB, free: 5.645 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02213/0.8236, allocations: 9.2 MB / 0.7567 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.601e-05/0.8237, allocations: 67.75 kB / 0.7568 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=257): time 6.292e-06/0.8237, allocations: 0 / 0.7568 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=291): time 0.06962/0.8933, allocations: 21.76 MB / 0.778 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.8934, allocations: 158.5 kB / 0.7782 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01298/0.9064, allocations: 5.79 MB / 0.7838 GB, free: 424 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005754/0.907, allocations: 69.7 kB / 0.7839 GB, free: 348 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.005369/0.9124, allocations: 5.028 MB / 0.7888 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001986/0.9143, allocations: 1.165 MB / 0.79 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005286/0.9196, allocations: 1.818 MB / 0.7917 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.9198, allocations: 301.1 kB / 0.792 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006076/0.9259, allocations: 2.614 MB / 0.7946 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01254/0.9384, allocations: 8.169 MB / 0.8025 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01731/0.9557, allocations: 11.72 MB / 0.814 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002142/0.9559, allocations: 56 kB / 0.814 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.02461/0.9805, allocations: 10.51 MB / 0.8243 GB, free: 2.473 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002617/0.9808, allocations: 88 kB / 0.8244 GB, free: 2.387 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003539/0.9811, allocations: 196 kB / 0.8246 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003746/0.9815, allocations: 263.9 kB / 0.8248 GB, free: 1.938 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008311/0.9898, allocations: 2.187 MB / 0.827 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005381/0.9904, allocations: 394.5 kB / 0.8273 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007531/0.9979, allocations: 451.6 kB / 0.8278 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002289/1, allocations: 0.5427 MB / 0.8283 GB, free: 14.38 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 895 * Number of states: 0 () * Number of discrete variables: 78 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.twoHeadedArrow,force.forceArrow.headAtOrigin,fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1171): * Single equations (assignments): 1168 * Array equations: 3 * 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.009497/1.01, allocations: 3.143 MB / 0.8314 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001746/1.011, allocations: 0.5394 MB / 0.8319 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008302/1.02, allocations: 2.999 MB / 0.8348 GB, free: 7.664 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.007e-05/1.02, allocations: 32 kB / 0.8349 GB, free: 7.633 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.806e-05/1.02, allocations: 0 / 0.8349 GB, free: 7.633 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.647e-05/1.02, allocations: 15.95 kB / 0.8349 GB, free: 7.617 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03174/1.052, allocations: 12.27 MB / 0.8469 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-05/1.052, allocations: 32 kB / 0.8469 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002245/1.054, allocations: 0.5506 MB / 0.8474 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.16e-05/1.054, allocations: 44 kB / 0.8475 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003587/1.054, allocations: 90.55 kB / 0.8476 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.628e-05/1.054, allocations: 63.78 kB / 0.8476 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.906e-05/1.054, allocations: 49.84 kB / 0.8477 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01005/1.064, allocations: 5.64 MB / 0.8532 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002181/1.067, allocations: 0.6066 MB / 0.8538 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00162/1.068, allocations: 91.97 kB / 0.8538 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003028/1.071, allocations: 142.5 kB / 0.854 GB, free: 3.02 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005981/1.072, allocations: 279.9 kB / 0.8543 GB, free: 2.746 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002724/1.072, allocations: 120 kB / 0.8544 GB, free: 2.629 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.2707/1.343, allocations: 3.581 MB / 0.8579 GB, free: 226 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.1e-07/1.343, allocations: 0 / 0.8579 GB, free: 226 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.009194/1.352, allocations: 1.402 MB / 0.8592 GB, free: 226 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.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 (275): * Single equations (assignments): 272 * Array equations: 3 * 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.008325/1.36, allocations: 6.358 MB / 0.8654 GB, free: 223.6 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0104/1.371, allocations: 5.782 MB / 0.8711 GB, free: 222.3 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.911e-05/1.371, allocations: 4.062 kB / 0.8711 GB, free: 222.3 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002038/1.373, allocations: 1.301 MB / 0.8724 GB, free: 221.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005034/1.378, allocations: 0.7547 MB / 0.8731 GB, free: 221.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08993/1.468, allocations: 67.66 MB / 0.9392 GB, free: 161.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006209/1.474, allocations: 4.756 MB / 0.9438 GB, free: 157 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.005524/1.48, allocations: 2.571 MB / 0.9463 GB, free: 154.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004262/1.484, allocations: 3.198 MB / 0.9495 GB, free: 151.2 MB / 0.6544 GB Notification: Performance of SimCode: time 1.282e-06/1.484, allocations: 3.938 kB / 0.9495 GB, free: 151.2 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1358/1.62, allocations: 93.34 MB / 1.041 GB, free: 58.32 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.71/24.33, allocations: 4 kB / 1.041 GB, free: 58.31 MB / 0.6544 GB " [Timeout remaining time 636] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_Damper_fmu --startTime=0 --stopTime=7 --stepSize=0.00139944 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_Damper.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 27.615200622938573] Failed to read output from testmodel.py, exit status != 0: ['time', 'body.frame_a.r_0[1]', 'body.v_0[1]', 'heatCapacitor.T', 'prismatic1.s', 'prismatic1.v', 'prismatic2.s', 'prismatic2.v'] 24.470006346236914 24.488211458 23.949368207 Calling exit ...