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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001717/0.001717, allocations: 117.2 kB / 17.78 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002183/0.002183, allocations: 203.8 kB / 18.74 MB, free: 4.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.4 MB / 247 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2339/0.2339, allocations: 46.13 MB / 344.4 MB, free: 11.48 MB / 286.1 MB 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.002321/0.002321, allocations: 75.88 kB / 480.9 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3121, allocations: 62.45 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005904/0.318, allocations: 4.177 MB / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00277/0.3208, allocations: 1.176 MB / 0.5358 GB, free: 9.137 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005162/0.3214, allocations: 14.94 kB / 0.5358 GB, free: 9.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003626/0.3218, allocations: 103.1 kB / 0.5359 GB, free: 9.039 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006993/0.3225, allocations: 205.5 kB / 0.5361 GB, free: 8.859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008837/0.3234, allocations: 223.8 kB / 0.5363 GB, free: 8.672 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001267/0.3247, allocations: 0.8001 MB / 0.5371 GB, free: 8.188 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004513/0.3252, allocations: 246.4 kB / 0.5373 GB, free: 8.051 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005991/0.3258, allocations: 315.2 kB / 0.5376 GB, free: 7.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005049/0.3263, allocations: 338.2 kB / 0.538 GB, free: 7.648 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.3264, allocations: 58.88 kB / 0.538 GB, free: 7.648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002395/0.3267, allocations: 92.39 kB / 0.5381 GB, free: 7.633 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001623/0.3269, allocations: 149.2 kB / 0.5383 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004166/0.3273, allocations: 360.5 kB / 0.5386 GB, free: 7.266 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.3284, allocations: 0.7807 MB / 0.5394 GB, free: 6.703 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.3284, allocations: 0 / 0.5394 GB, free: 6.703 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.3284, allocations: 1.344 kB / 0.5394 GB, free: 6.703 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.105e-05/0.3284, allocations: 0 / 0.5394 GB, free: 6.703 MB / 398.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.002284/0.3308, allocations: 1.038 MB / 0.5404 GB, free: 5.875 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.3308, allocations: 10.22 kB / 0.5404 GB, free: 5.875 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001319/0.331, allocations: 101.3 kB / 0.5405 GB, free: 5.785 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007805/0.3317, allocations: 147.2 kB / 0.5406 GB, free: 5.719 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007578/0.3325, allocations: 428 kB / 0.541 GB, free: 5.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.134e-05/0.3326, allocations: 52.55 kB / 0.5411 GB, free: 5.309 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.3327, allocations: 72.88 kB / 0.5412 GB, free: 5.277 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/0.334, allocations: 0.6155 MB / 0.5418 GB, free: 4.883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.047e-05/0.3341, allocations: 12.11 kB / 0.5418 GB, free: 4.875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.608e-05/0.3342, allocations: 21.69 kB / 0.5418 GB, free: 4.859 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.3342, allocations: 14.03 kB / 0.5418 GB, free: 4.859 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.3354, allocations: 0.5142 MB / 0.5423 GB, free: 4.621 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003607/0.339, allocations: 2.165 MB / 0.5444 GB, free: 2.816 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/0.3404, allocations: 0.6909 MB / 0.5451 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006393/0.3411, allocations: 329.3 kB / 0.5454 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001709/0.3413, allocations: 105.9 kB / 0.5455 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/0.3413, allocations: 44.55 kB / 0.5455 GB, free: 2.043 MB / 398.1 MB Notification: Performance of pre-optimization done (n=83): time 4.869e-06/0.3413, allocations: 0 / 0.5455 GB, free: 2.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=116): time 0.00884/0.3502, allocations: 4.548 MB / 0.55 GB, free: 13.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/0.3503, allocations: 226.3 kB / 0.5502 GB, free: 12.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004742/0.3508, allocations: 385.9 kB / 0.5506 GB, free: 12.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.097e-05/0.3509, allocations: 49.69 kB / 0.5506 GB, free: 12.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00022/0.3511, allocations: 281.5 kB / 0.5509 GB, free: 12.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003785/0.3515, allocations: 432.6 kB / 0.5513 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002817/0.3518, allocations: 186.9 kB / 0.5515 GB, free: 11.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.352, allocations: 382.8 kB / 0.5518 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007078/0.3527, allocations: 310.5 kB / 0.5521 GB, free: 10.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.3537, allocations: 0.5003 MB / 0.5526 GB, free: 10.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001781/0.3555, allocations: 0.8589 MB / 0.5535 GB, free: 9.387 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.3556, allocations: 0 / 0.5535 GB, free: 9.387 MB / 414.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001961/0.3575, allocations: 1.003 MB / 0.5544 GB, free: 8.379 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.3576, allocations: 8 kB / 0.5545 GB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.3576, allocations: 4 kB / 0.5545 GB, free: 8.367 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/0.3576, allocations: 8 kB / 0.5545 GB, free: 8.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.3587, allocations: 284 kB / 0.5547 GB, free: 8.082 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.026e-05/0.3587, allocations: 12 kB / 0.5547 GB, free: 8.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004913/0.3592, allocations: 43.97 kB / 0.5548 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.164e-05/0.3593, allocations: 43.98 kB / 0.5548 GB, free: 7.984 MB / 414.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.0003835/0.3597, allocations: 233.5 kB / 0.5551 GB, free: 7.746 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002575/0.36, allocations: 83.47 kB / 0.5551 GB, free: 7.664 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000523/0.3605, allocations: 230.9 kB / 0.5554 GB, free: 7.434 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/0.3605, allocations: 12.14 kB / 0.5554 GB, free: 7.422 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.399e-05/0.3605, allocations: 4 kB / 0.5554 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.464e-05/0.3606, allocations: 7.969 kB / 0.5554 GB, free: 7.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003946/0.3645, allocations: 2.325 MB / 0.5576 GB, free: 4.988 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/0.3645, allocations: 4 kB / 0.5576 GB, free: 4.984 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/0.3656, allocations: 251.6 kB / 0.5579 GB, free: 4.738 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.287e-05/0.3657, allocations: 8 kB / 0.5579 GB, free: 4.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.849e-05/0.3657, allocations: 24 kB / 0.5579 GB, free: 4.707 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.359e-05/0.3657, allocations: 15.92 kB / 0.5579 GB, free: 4.691 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.3658, allocations: 8.281 kB / 0.5579 GB, free: 4.684 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002745/0.3685, allocations: 1.878 MB / 0.5598 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003579/0.3689, allocations: 208.6 kB / 0.56 GB, free: 2.539 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.369, allocations: 27.98 kB / 0.56 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006064/0.3696, allocations: 35.98 kB / 0.56 GB, free: 2.477 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001886/0.3698, allocations: 96.31 kB / 0.5601 GB, free: 2.383 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-05/0.3699, allocations: 35.98 kB / 0.5602 GB, free: 2.348 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003136/0.3702, allocations: 267.1 kB / 0.5604 GB, free: 2.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3702, allocations: 0 / 0.5604 GB, free: 2.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008888/0.3711, allocations: 192 kB / 0.5606 GB, free: 1.902 MB / 414.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.00325/0.3744, allocations: 2.465 MB / 0.563 GB, free: 15.37 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001889/0.3763, allocations: 0.835 MB / 0.5638 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.3763, allocations: 0.875 kB / 0.5638 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009979/0.3773, allocations: 491.6 kB / 0.5643 GB, free: 14.06 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/0.3789, allocations: 147.5 kB / 0.5644 GB, free: 13.93 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/0.3901, allocations: 7.303 MB / 0.5716 GB, free: 6.309 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006525/0.3908, allocations: 0.9557 MB / 0.5725 GB, free: 5.328 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004356/0.3912, allocations: 98.02 kB / 0.5726 GB, free: 5.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004244/0.3917, allocations: 271.3 kB / 0.5729 GB, free: 4.965 MB / 430.1 MB Notification: Performance of SimCode: time 2.605e-06/0.3917, allocations: 0 / 0.5729 GB, free: 4.965 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0442/0.4359, allocations: 14.25 MB / 0.5868 GB, free: 6.875 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.24/9.675, allocations: 11.95 kB / 0.5868 GB, free: 6.867 MB / 446.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe 2>&1)