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.001369/0.001369, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001586/0.001586, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.487/1.487, allocations: 230.5 MB / 258.2 MB, free: 7.984 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.2421/0.2421, allocations: 46.93 MB / 361.6 MB, free: 4.176 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.002563/0.002563, allocations: 83.8 kB / 0.497 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3373, allocations: 66.08 MB / 0.5615 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005864/0.3431, allocations: 4.189 MB / 0.5656 GB, free: 96 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002623/0.3458, allocations: 1.199 MB / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004861/0.3462, allocations: 19.88 kB / 0.5668 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002807/0.3465, allocations: 102.9 kB / 0.5669 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004759/0.347, allocations: 214.1 kB / 0.5671 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006797/0.3477, allocations: 223.6 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001121/0.3488, allocations: 0.7978 MB / 0.5681 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003987/0.3492, allocations: 174 kB / 0.5682 GB, free: 13.37 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005543/0.3498, allocations: 330.8 kB / 0.5686 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000473/0.3502, allocations: 338.5 kB / 0.5689 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.364e-05/0.3503, allocations: 60 kB / 0.5689 GB, free: 12.65 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002219/0.3505, allocations: 95.92 kB / 0.569 GB, free: 12.56 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001514/0.3507, allocations: 151.4 kB / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003633/0.3511, allocations: 358.1 kB / 0.5695 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009971/0.3521, allocations: 0.7857 MB / 0.5703 GB, free: 11.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3521, allocations: 0 / 0.5703 GB, free: 11.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3521, allocations: 0 / 0.5703 GB, free: 11.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.354e-05/0.3521, allocations: 4 kB / 0.5703 GB, free: 11.27 MB / 414.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.001923/0.354, allocations: 0.9564 MB / 0.5712 GB, free: 10.28 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.354, allocations: 12.03 kB / 0.5712 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001116/0.3542, allocations: 94.7 kB / 0.5713 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006594/0.3548, allocations: 152.3 kB / 0.5715 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006083/0.3554, allocations: 360.1 kB / 0.5718 GB, free: 9.637 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.375e-05/0.3555, allocations: 45.69 kB / 0.5718 GB, free: 9.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.3556, allocations: 72.06 kB / 0.5719 GB, free: 9.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.3567, allocations: 0.6116 MB / 0.5725 GB, free: 8.879 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.355e-05/0.3568, allocations: 11.95 kB / 0.5725 GB, free: 8.867 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.847e-05/0.3568, allocations: 24 kB / 0.5725 GB, free: 8.844 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.3568, allocations: 12 kB / 0.5726 GB, free: 8.832 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.358, allocations: 0.5152 MB / 0.5731 GB, free: 8.316 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003364/0.3613, allocations: 2.113 MB / 0.5751 GB, free: 6.086 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/0.3626, allocations: 0.6644 MB / 0.5758 GB, free: 5.355 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000595/0.3632, allocations: 318.5 kB / 0.5761 GB, free: 5.027 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.3633, allocations: 16.42 kB / 0.5761 GB, free: 5.012 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/0.3634, allocations: 50.94 kB / 0.5761 GB, free: 4.953 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 2.996e-06/0.3634, allocations: 3.938 kB / 0.5761 GB, free: 4.949 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.00822/0.3716, allocations: 3.941 MB / 0.58 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/0.3718, allocations: 226.3 kB / 0.5802 GB, free: 0.543 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004617/0.3722, allocations: 390.1 kB / 0.5806 GB, free: 160 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.469e-05/0.3723, allocations: 49.64 kB / 0.5806 GB, free: 104 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002527/0.3725, allocations: 285.5 kB / 0.5809 GB, free: 15.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003824/0.3729, allocations: 432.2 kB / 0.5813 GB, free: 15.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000277/0.3732, allocations: 178.9 kB / 0.5815 GB, free: 15.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002271/0.3734, allocations: 382.8 kB / 0.5818 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006654/0.3741, allocations: 314.4 kB / 0.5821 GB, free: 14.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007969/0.3749, allocations: 0.4965 MB / 0.5826 GB, free: 13.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001596/0.3765, allocations: 0.8545 MB / 0.5835 GB, free: 13.03 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.3765, allocations: 8 kB / 0.5835 GB, free: 13.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001965/0.3784, allocations: 0.9924 MB / 0.5844 GB, free: 12.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.3785, allocations: 8 kB / 0.5845 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.3785, allocations: 4 kB / 0.5845 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.862e-05/0.3785, allocations: 12 kB / 0.5845 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.3796, allocations: 275.7 kB / 0.5847 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.566e-05/0.3796, allocations: 16.09 kB / 0.5847 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004688/0.3801, allocations: 48.19 kB / 0.5848 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.073e-05/0.3802, allocations: 40 kB / 0.5848 GB, free: 11.63 MB / 430.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.0003596/0.3805, allocations: 246.3 kB / 0.5851 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00026/0.3808, allocations: 83.47 kB / 0.5851 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004993/0.3813, allocations: 215 kB / 0.5854 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/0.3813, allocations: 20.08 kB / 0.5854 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.3813, allocations: 3.938 kB / 0.5854 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.3813, allocations: 11.98 kB / 0.5854 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00396/0.3853, allocations: 2.292 MB / 0.5876 GB, free: 8.656 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.3853, allocations: 4 kB / 0.5876 GB, free: 8.652 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/0.3865, allocations: 251.5 kB / 0.5879 GB, free: 8.406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.338e-05/0.3865, allocations: 8 kB / 0.5879 GB, free: 8.398 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.062e-05/0.3866, allocations: 31.98 kB / 0.5879 GB, free: 8.367 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-05/0.3866, allocations: 8 kB / 0.5879 GB, free: 8.359 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.3866, allocations: 4 kB / 0.5879 GB, free: 8.355 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002731/0.3893, allocations: 1.883 MB / 0.5898 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003208/0.3896, allocations: 131.4 kB / 0.5899 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.707e-05/0.3897, allocations: 28 kB / 0.5899 GB, free: 6.277 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005987/0.3903, allocations: 39.97 kB / 0.5899 GB, free: 6.238 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/0.3905, allocations: 92.38 kB / 0.59 GB, free: 6.148 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.709e-05/0.3906, allocations: 36 kB / 0.5901 GB, free: 6.113 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000327/0.3909, allocations: 263.1 kB / 0.5903 GB, free: 5.855 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3909, allocations: 4 kB / 0.5903 GB, free: 5.852 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008876/0.3918, allocations: 192 kB / 0.5905 GB, free: 5.664 MB / 430.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.003071/0.3948, allocations: 2.481 MB / 0.5929 GB, free: 3.129 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001752/0.3966, allocations: 0.7928 MB / 0.5937 GB, free: 2.332 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/0.3966, allocations: 4 kB / 0.5937 GB, free: 2.328 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009414/0.3975, allocations: 472.4 kB / 0.5942 GB, free: 1.867 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.399, allocations: 133.6 kB / 0.5943 GB, free: 1.742 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/0.4103, allocations: 7.299 MB / 0.6014 GB, free: 10.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000688/0.411, allocations: 0.9557 MB / 0.6023 GB, free: 9.145 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004567/0.4114, allocations: 98 kB / 0.6024 GB, free: 9.047 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000423/0.4119, allocations: 271.3 kB / 0.6027 GB, free: 8.781 MB / 446.1 MB Notification: Performance of SimCode: time 1.503e-06/0.4119, allocations: 0 / 0.6027 GB, free: 8.781 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04499/0.4568, allocations: 15 MB / 0.6173 GB, free: 9.922 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.327/9.784, allocations: 8.062 kB / 0.6174 GB, free: 9.914 MB / 462.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.668427106924355] 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.869849096983671 9.898989382 9.541392953 Calling exit ...