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.001259/0.001259, allocations: 102 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001571/0.001571, allocations: 193.1 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.4 MB / 246 MB, free: 10.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2162/0.2162, allocations: 45.91 MB / 344.1 MB, free: 11.97 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003901/0.0003902, allocations: 4 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1303, allocations: 63.47 MB / 481.6 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.003821/0.1342, allocations: 3.559 MB / 485.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002137/0.1364, allocations: 1.067 MB / 486.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000444/0.1368, allocations: 11.94 kB / 486.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.1371, allocations: 67.41 kB / 486.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000493/0.1376, allocations: 174.5 kB / 486.5 MB, free: 352 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004988/0.1381, allocations: 147.8 kB / 486.6 MB, free: 204 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008229/0.139, allocations: 0.7043 MB / 487.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003331/0.1393, allocations: 183.1 kB / 487.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004618/0.1398, allocations: 259 kB / 487.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003802/0.1402, allocations: 294.7 kB / 488.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.247e-05/0.1403, allocations: 32 kB / 488.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.1405, allocations: 59.92 kB / 488.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.1406, allocations: 107.6 kB / 488.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.1407, allocations: 145.3 kB / 488.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004906/0.1412, allocations: 0.5456 MB / 488.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1412, allocations: 0 / 488.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1412, allocations: 0 / 488.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.1413, allocations: 4 kB / 489 MB, free: 13.88 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.001608/0.1429, allocations: 0.9195 MB / 489.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.1429, allocations: 12.03 kB / 489.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001113/0.143, allocations: 102.5 kB / 490 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006299/0.1437, allocations: 163 kB / 490.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005049/0.1442, allocations: 380.8 kB / 490.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.73e-05/0.1442, allocations: 41.31 kB / 490.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.1444, allocations: 67.89 kB / 490.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.1456, allocations: 0.6343 MB / 491.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.387e-05/0.1456, allocations: 11.91 kB / 491.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.094e-05/0.1457, allocations: 28 kB / 491.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.1457, allocations: 16 kB / 491.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.1468, allocations: 0.5589 MB / 491.9 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003037/0.1499, allocations: 2.184 MB / 494.1 MB, free: 8.535 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.1511, allocations: 0.7076 MB / 494.8 MB, free: 7.762 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005829/0.1517, allocations: 367.8 kB / 495.1 MB, free: 7.379 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001406/0.1518, allocations: 93.48 kB / 495.2 MB, free: 7.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.1519, allocations: 46.98 kB / 495.3 MB, free: 7.215 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 4.268e-06/0.1519, allocations: 0 / 495.3 MB, free: 7.215 MB / 366.1 MB Notification: Performance of matching and sorting (n=115): time 0.007645/0.1595, allocations: 4.614 MB / 499.9 MB, free: 2.242 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.159e-05/0.1597, allocations: 226.1 kB / 0.4884 GB, free: 1.973 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003421/0.16, allocations: 361.9 kB / 0.4887 GB, free: 1.609 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.711e-05/0.1601, allocations: 46.08 kB / 0.4888 GB, free: 1.559 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.1602, allocations: 265 kB / 0.489 GB, free: 1.293 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002477/0.1605, allocations: 414 kB / 0.4894 GB, free: 0.8828 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/0.1605, allocations: 20 kB / 0.4894 GB, free: 0.8633 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1607, allocations: 386.7 kB / 0.4898 GB, free: 488 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005992/0.1613, allocations: 330.4 kB / 0.4901 GB, free: 156 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007344/0.162, allocations: 0.5204 MB / 0.4906 GB, free: 15.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007011/0.1628, allocations: 398.3 kB / 0.491 GB, free: 15.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.1628, allocations: 4 kB / 0.491 GB, free: 15.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001648/0.1644, allocations: 1.027 MB / 0.492 GB, free: 14.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.1645, allocations: 15.98 kB / 0.492 GB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.1645, allocations: 4 kB / 0.492 GB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/0.1645, allocations: 12 kB / 0.492 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009459/0.1655, allocations: 287.5 kB / 0.4923 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.069e-05/0.1655, allocations: 20.05 kB / 0.4923 GB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004008/0.1659, allocations: 63.97 kB / 0.4924 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-05/0.166, allocations: 36 kB / 0.4924 GB, free: 13.71 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.0002921/0.1663, allocations: 233.5 kB / 0.4926 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.1665, allocations: 71.16 kB / 0.4927 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004586/0.1669, allocations: 230.8 kB / 0.4929 GB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.167, allocations: 16 kB / 0.4929 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.167, allocations: 0 / 0.4929 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.167, allocations: 7.984 kB / 0.493 GB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003472/0.1705, allocations: 2.383 MB / 0.4953 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.1705, allocations: 4 kB / 0.4953 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.1715, allocations: 251.7 kB / 0.4955 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.825e-05/0.1716, allocations: 12 kB / 0.4955 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.965e-05/0.1716, allocations: 27.98 kB / 0.4956 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.418e-05/0.1717, allocations: 16 kB / 0.4956 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.912e-06/0.1717, allocations: 8.031 kB / 0.4956 GB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002676/0.1744, allocations: 1.959 MB / 0.4975 GB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003005/0.1747, allocations: 196.2 kB / 0.4977 GB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.268e-05/0.1748, allocations: 27.98 kB / 0.4977 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005673/0.1753, allocations: 55.97 kB / 0.4978 GB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.1755, allocations: 84.41 kB / 0.4978 GB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.389e-05/0.1756, allocations: 28 kB / 0.4979 GB, free: 7.945 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002481/0.1758, allocations: 255.1 kB / 0.4981 GB, free: 7.695 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1758, allocations: 4 kB / 0.4981 GB, free: 7.691 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000862/0.1767, allocations: 192 kB / 0.4983 GB, free: 7.504 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.002805/0.1795, allocations: 2.523 MB / 0.5008 GB, free: 4.918 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001647/0.1812, allocations: 0.8778 MB / 0.5016 GB, free: 4.047 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1812, allocations: 0 / 0.5016 GB, free: 4.047 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008258/0.182, allocations: 0.4999 MB / 0.5021 GB, free: 3.551 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.1833, allocations: 130.3 kB / 0.5022 GB, free: 3.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2128/0.396, allocations: 5.229 MB / 0.5073 GB, free: 40.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000571/0.3966, allocations: 0.9461 MB / 0.5083 GB, free: 39.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004921/0.3972, allocations: 96.38 kB / 0.5084 GB, free: 39.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004858/0.3976, allocations: 262.7 kB / 0.5086 GB, free: 39.38 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3977, allocations: 0 / 0.5086 GB, free: 39.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02954/0.4272, allocations: 12.53 MB / 0.5209 GB, free: 36.51 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001346/0.4274, allocations: 188.6 kB / 0.521 GB, free: 36.26 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.118/2.545, allocations: 1.188 kB / 0.521 GB, free: 36.26 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