Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008262/0.0008261, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001067, allocations: 175.5 kB / 16.58 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205.4 MB / 222.8 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3494/0.3494, allocations: 43.55 MB / 314.6 MB, free: 8.797 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005178/0.0005179, allocations: 12 kB / 384 MB, free: 7.945 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1323, allocations: 58.86 MB / 442.9 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.00391/0.1363, allocations: 3.531 MB / 446.4 MB, free: 9.434 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.1383, allocations: 1.049 MB / 447.4 MB, free: 8.375 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002102/0.1385, allocations: 15.88 kB / 447.5 MB, free: 8.359 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000201/0.1387, allocations: 79.39 kB / 447.5 MB, free: 8.281 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003343/0.1391, allocations: 170.5 kB / 447.7 MB, free: 8.113 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004227/0.1395, allocations: 143.8 kB / 447.8 MB, free: 7.973 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006558/0.1402, allocations: 0.7082 MB / 448.6 MB, free: 7.262 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003011/0.1405, allocations: 191.2 kB / 448.7 MB, free: 7.066 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003028/0.1408, allocations: 251 kB / 449 MB, free: 6.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003215/0.1411, allocations: 290.7 kB / 449.3 MB, free: 6.535 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.412e-05/0.1412, allocations: 36 kB / 449.3 MB, free: 6.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.1414, allocations: 59.98 kB / 449.4 MB, free: 6.441 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.1415, allocations: 111.5 kB / 449.5 MB, free: 6.332 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.1416, allocations: 141.4 kB / 449.6 MB, free: 6.188 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005073/0.1421, allocations: 0.5453 MB / 450.2 MB, free: 5.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.1421, allocations: 0 / 450.2 MB, free: 5.641 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1421, allocations: 0 / 450.2 MB, free: 5.641 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.1422, allocations: 0 / 450.2 MB, free: 5.641 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001657/0.1438, allocations: 0.9196 MB / 451.1 MB, free: 4.672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.1439, allocations: 8.031 kB / 451.1 MB, free: 4.664 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001148/0.144, allocations: 98.52 kB / 451.2 MB, free: 4.559 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.1441, allocations: 79.06 kB / 451.3 MB, free: 4.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005681/0.1447, allocations: 380.8 kB / 451.6 MB, free: 4.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.276e-05/0.1448, allocations: 49.3 kB / 451.7 MB, free: 4.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.1449, allocations: 63.91 kB / 451.7 MB, free: 3.961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.1461, allocations: 0.6305 MB / 452.4 MB, free: 3.301 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.704e-05/0.1461, allocations: 19.83 kB / 452.4 MB, free: 3.281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.968e-05/0.1462, allocations: 23.95 kB / 452.4 MB, free: 3.258 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.1462, allocations: 16 kB / 452.4 MB, free: 3.242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.1473, allocations: 0.5607 MB / 453 MB, free: 2.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002946/0.1503, allocations: 2.18 MB / 455.2 MB, free: 396 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2462/0.3965, allocations: 0.7074 MB / 455.9 MB, free: 45.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006247/0.3971, allocations: 357.6 kB / 456.2 MB, free: 45.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000142/0.3973, allocations: 103.5 kB / 456.3 MB, free: 45.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.3973, allocations: 51.92 kB / 456.4 MB, free: 45.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 3.807e-06/0.3973, allocations: 0 / 456.4 MB, free: 45.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=115): time 0.007154/0.4045, allocations: 4.612 MB / 461 MB, free: 43.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.4046, allocations: 224.2 kB / 461.2 MB, free: 43.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004114/0.4051, allocations: 365 kB / 461.6 MB, free: 43.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.413e-05/0.4051, allocations: 43.3 kB / 461.6 MB, free: 43.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.4053, allocations: 264.4 kB / 461.9 MB, free: 42.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002371/0.4055, allocations: 414.7 kB / 462.3 MB, free: 42.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.4056, allocations: 21.75 kB / 462.3 MB, free: 42.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.4057, allocations: 380.5 kB / 462.7 MB, free: 42.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005777/0.4063, allocations: 334.5 kB / 463 MB, free: 42.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000679/0.407, allocations: 0.5203 MB / 463.5 MB, free: 42.15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007039/0.4077, allocations: 389.7 kB / 463.9 MB, free: 42.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4077, allocations: 2.719 kB / 463.9 MB, free: 42.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001729/0.4094, allocations: 1.04 MB / 464.9 MB, free: 42.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/0.4095, allocations: 5.656 kB / 464.9 MB, free: 42.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.4095, allocations: 5.344 kB / 464.9 MB, free: 42.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.294e-05/0.4095, allocations: 11.34 kB / 465 MB, free: 42.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009824/0.4105, allocations: 296.9 kB / 465.2 MB, free: 41.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-05/0.4106, allocations: 13.94 kB / 465.3 MB, free: 41.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004205/0.411, allocations: 67.09 kB / 465.3 MB, free: 41.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-05/0.4111, allocations: 38.84 kB / 465.4 MB, free: 41.98 MB / 382.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 (144): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003185/0.4114, allocations: 237.9 kB / 465.6 MB, free: 41.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002376/0.4116, allocations: 73.88 kB / 465.7 MB, free: 41.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004026/0.412, allocations: 219.6 kB / 465.9 MB, free: 41.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.4121, allocations: 11.72 kB / 465.9 MB, free: 41.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.18e-05/0.4121, allocations: 4.562 kB / 465.9 MB, free: 41.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.4121, allocations: 5.672 kB / 465.9 MB, free: 41.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003248/0.4154, allocations: 2.385 MB / 468.3 MB, free: 40.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.4154, allocations: 6.984 kB / 468.3 MB, free: 40.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009327/0.4163, allocations: 253.5 kB / 468.5 MB, free: 40.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.427e-05/0.4164, allocations: 16.84 kB / 468.6 MB, free: 40.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.639e-05/0.4164, allocations: 26.41 kB / 468.6 MB, free: 40.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.968e-06/0.4164, allocations: 16.33 kB / 468.6 MB, free: 40.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.4164, allocations: 6.938 kB / 468.6 MB, free: 40.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002052/0.4185, allocations: 1.95 MB / 470.6 MB, free: 39.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001953/0.4187, allocations: 195.3 kB / 470.7 MB, free: 39.49 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.237e-05/0.4188, allocations: 25.47 kB / 470.8 MB, free: 39.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005312/0.4193, allocations: 56.62 kB / 470.8 MB, free: 39.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.4195, allocations: 81.91 kB / 470.9 MB, free: 39.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.641e-05/0.4195, allocations: 40.94 kB / 470.9 MB, free: 39.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002075/0.4197, allocations: 247.3 kB / 471.2 MB, free: 39.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4198, allocations: 3.938 kB / 471.2 MB, free: 39.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007836/0.4205, allocations: 194.9 kB / 471.4 MB, free: 39.26 MB / 382.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 (115): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002241/0.4228, allocations: 2.522 MB / 473.9 MB, free: 37.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001438/0.4242, allocations: 0.8741 MB / 474.8 MB, free: 37.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4243, allocations: 0 / 474.8 MB, free: 37.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007351/0.425, allocations: 0.4994 MB / 475.3 MB, free: 37.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.4261, allocations: 126.2 kB / 475.4 MB, free: 37.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006782/0.4329, allocations: 5.247 MB / 480.7 MB, free: 34.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.4334, allocations: 0.9403 MB / 481.6 MB, free: 33.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004071/0.4338, allocations: 97.14 kB / 481.7 MB, free: 33.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003199/0.4341, allocations: 267 kB / 481.9 MB, free: 33.2 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4341, allocations: 0 / 481.9 MB, free: 33.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02844/0.4626, allocations: 12.55 MB / 494.5 MB, free: 32.25 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/0.4629, allocations: 182.1 kB / 494.7 MB, free: 32.01 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.958/2.421, allocations: 0 / 494.7 MB, free: 32.01 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.mat does not exist to compare? outputFormat=mat