Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.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.001799/0.001799, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.001837/0.001837, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.525/1.525, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.2298/0.2298, allocations: 46.89 MB / 357.4 MB, free: 10.55 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.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_AllComponents",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.002369/0.002369, allocations: 83.84 kB / 0.4912 GB, free: 8.629 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1144, allocations: 65.98 MB / 0.5556 GB, free: 6.52 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005785/0.1202, allocations: 4.19 MB / 0.5597 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002473/0.1227, allocations: 1.18 MB / 0.5609 GB, free: 1.117 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003424/0.123, allocations: 15.94 kB / 0.5609 GB, free: 1.102 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002846/0.1233, allocations: 106.9 kB / 0.561 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005035/0.1238, allocations: 206.1 kB / 0.5612 GB, free: 0.793 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006604/0.1245, allocations: 231.5 kB / 0.5614 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001068/0.1255, allocations: 0.7978 MB / 0.5622 GB, free: 15.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003685/0.1259, allocations: 179.5 kB / 0.5624 GB, free: 15.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000551/0.1265, allocations: 326.8 kB / 0.5627 GB, free: 15.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000457/0.1269, allocations: 338.5 kB / 0.563 GB, free: 14.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.127, allocations: 56 kB / 0.563 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002111/0.1272, allocations: 87.94 kB / 0.5631 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001534/0.1274, allocations: 151.4 kB / 0.5633 GB, free: 14.64 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003792/0.1278, allocations: 362.1 kB / 0.5636 GB, free: 14.29 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.1288, allocations: 0.7818 MB / 0.5644 GB, free: 13.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1288, allocations: 3.938 kB / 0.5644 GB, free: 13.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1288, allocations: 4 kB / 0.5644 GB, free: 13.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.627e-05/0.1288, allocations: 4 kB / 0.5644 GB, free: 13.49 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002142/0.1309, allocations: 1.024 MB / 0.5654 GB, free: 12.42 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.131, allocations: 16.03 kB / 0.5654 GB, free: 12.4 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001204/0.1311, allocations: 94.7 kB / 0.5655 GB, free: 12.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006842/0.1318, allocations: 144.3 kB / 0.5656 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007103/0.1325, allocations: 449.9 kB / 0.5661 GB, free: 11.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.838e-05/0.1326, allocations: 41.69 kB / 0.5661 GB, free: 11.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.1327, allocations: 68.08 kB / 0.5662 GB, free: 11.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.1339, allocations: 0.6194 MB / 0.5668 GB, free: 10.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.122e-05/0.1339, allocations: 11.94 kB / 0.5668 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.61e-05/0.134, allocations: 24 kB / 0.5668 GB, free: 10.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.134, allocations: 16 kB / 0.5668 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.1351, allocations: 0.5112 MB / 0.5673 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003542/0.1387, allocations: 2.171 MB / 0.5694 GB, free: 8.074 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/0.14, allocations: 0.6487 MB / 0.5701 GB, free: 7.355 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006628/0.1407, allocations: 317.9 kB / 0.5704 GB, free: 7.027 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001649/0.1408, allocations: 97.83 kB / 0.5705 GB, free: 6.914 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/0.1409, allocations: 50.94 kB / 0.5705 GB, free: 6.855 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.725e-06/0.1409, allocations: 0 / 0.5705 GB, free: 6.855 MB / 430.1 MB Notification: Performance of matching and sorting (n=116): time 0.008792/0.1497, allocations: 4.55 MB / 0.575 GB, free: 1.961 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001617/0.1498, allocations: 222.3 kB / 0.5752 GB, free: 1.691 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005181/0.1504, allocations: 389.8 kB / 0.5755 GB, free: 1.297 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.396e-05/0.1505, allocations: 45.7 kB / 0.5756 GB, free: 1.246 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/0.1507, allocations: 281.5 kB / 0.5759 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003905/0.1511, allocations: 428.3 kB / 0.5763 GB, free: 0.543 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002659/0.1513, allocations: 178.9 kB / 0.5764 GB, free: 368 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002273/0.1516, allocations: 390.8 kB / 0.5768 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006473/0.1522, allocations: 310.4 kB / 0.5771 GB, free: 15.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007938/0.153, allocations: 0.4937 MB / 0.5776 GB, free: 15.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001447/0.1544, allocations: 0.8589 MB / 0.5784 GB, free: 14.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1545, allocations: 3.938 kB / 0.5784 GB, free: 14.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001925/0.1564, allocations: 0.9998 MB / 0.5794 GB, free: 13.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.1564, allocations: 8 kB / 0.5794 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.1564, allocations: 8 kB / 0.5794 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.006e-05/0.1564, allocations: 12.42 kB / 0.5794 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.1575, allocations: 279.6 kB / 0.5797 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.242e-05/0.1575, allocations: 15.94 kB / 0.5797 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004845/0.158, allocations: 43.98 kB / 0.5798 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.545e-05/0.1581, allocations: 43.98 kB / 0.5798 GB, free: 12.77 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 145 * 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.000386/0.1585, allocations: 229.5 kB / 0.58 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002389/0.1587, allocations: 83.41 kB / 0.5801 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004987/0.1592, allocations: 227 kB / 0.5803 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.1592, allocations: 12 kB / 0.5803 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/0.1592, allocations: 4 kB / 0.5803 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.1592, allocations: 3.984 kB / 0.5803 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003937/0.1632, allocations: 2.332 MB / 0.5826 GB, free: 9.777 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.677e-06/0.1632, allocations: 4 kB / 0.5826 GB, free: 9.773 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/0.1643, allocations: 251.5 kB / 0.5829 GB, free: 9.527 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.204e-05/0.1643, allocations: 8.562 kB / 0.5829 GB, free: 9.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.931e-05/0.1644, allocations: 40.05 kB / 0.5829 GB, free: 9.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.215e-05/0.1644, allocations: 8 kB / 0.5829 GB, free: 9.473 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.1644, allocations: 7.938 kB / 0.5829 GB, free: 9.465 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002657/0.167, allocations: 1.88 MB / 0.5848 GB, free: 7.547 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003399/0.1674, allocations: 208.5 kB / 0.585 GB, free: 7.324 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.577e-05/0.1675, allocations: 28 kB / 0.585 GB, free: 7.297 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006083/0.1681, allocations: 35.98 kB / 0.585 GB, free: 7.262 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000179/0.1683, allocations: 88.31 kB / 0.5851 GB, free: 7.176 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.17e-05/0.1683, allocations: 36 kB / 0.5851 GB, free: 7.141 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003049/0.1686, allocations: 263.1 kB / 0.5854 GB, free: 6.887 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1686, allocations: 4 kB / 0.5854 GB, free: 6.883 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008883/0.1695, allocations: 196 kB / 0.5856 GB, free: 6.691 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 116 * 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.003074/0.1726, allocations: 2.465 MB / 0.588 GB, free: 4.164 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001684/0.1743, allocations: 0.7885 MB / 0.5888 GB, free: 3.379 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.1743, allocations: 8 kB / 0.5888 GB, free: 3.371 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008639/0.1751, allocations: 466.6 kB / 0.5892 GB, free: 2.918 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/0.1765, allocations: 142.4 kB / 0.5893 GB, free: 2.785 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2336/0.4101, allocations: 7.286 MB / 0.5965 GB, free: 33.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004953/0.4106, allocations: 0.9512 MB / 0.5974 GB, free: 32.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004763/0.411, allocations: 106.2 kB / 0.5975 GB, free: 32.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003501/0.4114, allocations: 274.2 kB / 0.5977 GB, free: 32.64 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4114, allocations: 0 / 0.5977 GB, free: 32.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04595/0.4573, allocations: 14.34 MB / 0.6118 GB, free: 29.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.352/9.809, allocations: 5.422 kB / 0.6118 GB, free: 29.31 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_AllComponents_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219824 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.792121462989599] Failed to read output from testmodel.py, exit status != 0: ['time', 'damper.s_rel', 'elastoGap.s_rel', 'elastoGap.v_rel', 'position.s', 'position.v', 'position1.s', 'position1.v', 'position2.s', 'position2.v', 'relativeStates.s_rel', 'relativeStates.v_rel', 'slidingMass.s', 'slidingMass.v', 'springDamper.s_rel', 'springDamper.v_rel'] 9.891131027135998 9.913596142 9.78138997 Calling exit ...