Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_trunk_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.0009004/0.0009005, allocations: 98.75 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001014/0.001014, allocations: 206.1 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.212/0.212, allocations: 45.9 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000271/0.0002711, allocations: 8 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1297, allocations: 63.46 MB / 481.5 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.003754/0.1335, allocations: 3.337 MB / 484.9 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002136/0.1357, allocations: 1.095 MB / 485.9 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002621/0.136, allocations: 11.94 kB / 486 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001519/0.1362, allocations: 67.45 kB / 486 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004873/0.1366, allocations: 235.3 kB / 486.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004863/0.1372, allocations: 147.8 kB / 486.4 MB, free: 372 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006887/0.1379, allocations: 0.5268 MB / 486.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003038/0.1382, allocations: 179.1 kB / 487.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003472/0.1385, allocations: 262.9 kB / 487.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002946/0.1388, allocations: 290.7 kB / 487.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.609e-05/0.1389, allocations: 32 kB / 487.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.139, allocations: 55.97 kB / 487.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.1392, allocations: 111.5 kB / 487.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.1393, allocations: 145.4 kB / 488 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005023/0.1398, allocations: 0.5455 MB / 488.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1398, allocations: 0 / 488.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1398, allocations: 4 kB / 488.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.1398, allocations: 0 / 488.5 MB, free: 14.23 MB / 366.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.001766/0.1416, allocations: 0.9117 MB / 489.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.1417, allocations: 12.03 kB / 489.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001216/0.1418, allocations: 94.52 kB / 489.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007346/0.1425, allocations: 163 kB / 489.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005293/0.1431, allocations: 388.7 kB / 490.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.102e-05/0.1431, allocations: 41.31 kB / 490.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.32e-05/0.1432, allocations: 67.89 kB / 490.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.1444, allocations: 0.6304 MB / 490.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.289e-05/0.1444, allocations: 11.91 kB / 490.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.029e-05/0.1445, allocations: 23.98 kB / 490.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.1445, allocations: 16 kB / 490.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.1456, allocations: 0.5643 MB / 491.4 MB, free: 11.19 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003029/0.1486, allocations: 2.184 MB / 493.6 MB, free: 8.895 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/0.1499, allocations: 0.7081 MB / 494.3 MB, free: 8.121 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/0.15, allocations: 101.5 kB / 494.4 MB, free: 8.004 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.1501, allocations: 43 kB / 494.5 MB, free: 7.953 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 2.534e-06/0.1501, allocations: 0 / 494.5 MB, free: 7.953 MB / 366.1 MB Notification: Performance of matching and sorting (n=115): time 0.007798/0.1579, allocations: 4.618 MB / 499.1 MB, free: 2.977 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.158, allocations: 226.1 kB / 499.3 MB, free: 2.707 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003949/0.1584, allocations: 357.9 kB / 499.7 MB, free: 2.348 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.295e-05/0.1585, allocations: 45.7 kB / 499.7 MB, free: 2.297 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.1587, allocations: 264.9 kB / 500 MB, free: 2.031 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002736/0.1589, allocations: 414 kB / 0.4886 GB, free: 1.621 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.159, allocations: 24 kB / 0.4887 GB, free: 1.598 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.1592, allocations: 378.8 kB / 0.489 GB, free: 1.219 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006327/0.1598, allocations: 334.4 kB / 0.4893 GB, free: 0.8906 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007603/0.1606, allocations: 0.5204 MB / 0.4898 GB, free: 312 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007239/0.1613, allocations: 399.2 kB / 0.4902 GB, free: 15.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/0.1613, allocations: 4 kB / 0.4902 GB, free: 15.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001848/0.1632, allocations: 1.034 MB / 0.4912 GB, free: 14.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.1632, allocations: 7.953 kB / 0.4912 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.1633, allocations: 15.97 kB / 0.4913 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.1633, allocations: 8 kB / 0.4913 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.1643, allocations: 292 kB / 0.4916 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.926e-05/0.1643, allocations: 12 kB / 0.4916 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004866/0.1648, allocations: 59.97 kB / 0.4916 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.561e-05/0.1649, allocations: 43.98 kB / 0.4917 GB, free: 14.44 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.0003683/0.1653, allocations: 233.5 kB / 0.4919 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002071/0.1655, allocations: 71.16 kB / 0.492 GB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004527/0.166, allocations: 226.8 kB / 0.4922 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/0.166, allocations: 16 kB / 0.4922 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.565e-05/0.166, allocations: 4 kB / 0.4922 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.166, allocations: 3.984 kB / 0.4922 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003526/0.1696, allocations: 2.374 MB / 0.4945 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.1696, allocations: 288 / 0.4945 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.1706, allocations: 260 kB / 0.4948 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.481e-05/0.1706, allocations: 8 kB / 0.4948 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.113e-05/0.1707, allocations: 35.92 kB / 0.4948 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-05/0.1707, allocations: 12.33 kB / 0.4948 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.1707, allocations: 4 kB / 0.4948 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002591/0.1733, allocations: 2.121 MB / 0.4969 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002798/0.1736, allocations: 204.1 kB / 0.4971 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.291e-05/0.1737, allocations: 31.97 kB / 0.4971 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005932/0.1743, allocations: 51.97 kB / 0.4972 GB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.1745, allocations: 84.41 kB / 0.4972 GB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.428e-05/0.1745, allocations: 32 kB / 0.4973 GB, free: 8.418 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002478/0.1748, allocations: 259.1 kB / 0.4975 GB, free: 8.164 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.413e-06/0.1748, allocations: 0 / 0.4975 GB, free: 8.164 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008772/0.1757, allocations: 195.9 kB / 0.4977 GB, free: 7.973 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.003156/0.1788, allocations: 3.729 MB / 0.5013 GB, free: 4.125 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001693/0.1806, allocations: 0.8744 MB / 0.5022 GB, free: 3.254 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.1806, allocations: 0 / 0.5022 GB, free: 3.254 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008242/0.1814, allocations: 0.5032 MB / 0.5027 GB, free: 2.754 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008715/0.1823, allocations: 104.9 kB / 0.5028 GB, free: 2.656 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2269/0.4092, allocations: 8.367 MB / 0.511 GB, free: 36.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005175/0.4098, allocations: 0.9546 MB / 0.5119 GB, free: 35.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004502/0.4102, allocations: 101.6 kB / 0.512 GB, free: 35.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000327/0.4106, allocations: 265.2 kB / 0.5122 GB, free: 35.83 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4106, allocations: 0 / 0.5122 GB, free: 35.83 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03526/0.4458, allocations: 12.51 MB / 0.5245 GB, free: 32.83 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002776/0.4462, allocations: 179.1 kB / 0.5246 GB, free: 32.58 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.009/2.456, allocations: 0 / 0.5246 GB, free: 32.58 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Translational.AllComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Translational_AllComponents_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Translational.AllComponents_res.mat does not exist to compare? outputFormat=mat