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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001997/0.001997, allocations: 198.6 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.2 MB / 245 MB, free: 5.883 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001122/0.001122, allocations: 97.22 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4673/0.4673, allocations: 45.22 MB / 394.6 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003183/0.0003184, allocations: 4 kB / 468.5 MB, free: 7.609 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3606, allocations: 63.25 MB / 0.5193 GB, free: 37.58 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1261/0.4868, allocations: 92.31 MB / 0.6094 GB, free: 11.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.4871, allocations: 71.94 kB / 0.6095 GB, free: 11.04 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03482/0.5219, allocations: 11.74 MB / 0.6209 GB, free: 15.23 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5219, allocations: 4 kB / 0.6209 GB, free: 15.23 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.013e-05/0.522, allocations: 12 kB / 0.621 GB, free: 15.22 MB / 442.7 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.002543/0.5246, allocations: 0.908 MB / 0.6218 GB, free: 14.26 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.478e-05/0.5246, allocations: 8.031 kB / 0.6218 GB, free: 14.25 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002979/0.525, allocations: 98.52 kB / 0.6219 GB, free: 14.15 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007891/0.5258, allocations: 155.1 kB / 0.6221 GB, free: 14 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006922/0.5265, allocations: 376.8 kB / 0.6224 GB, free: 13.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.525e-05/0.5265, allocations: 41.31 kB / 0.6225 GB, free: 13.55 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.5267, allocations: 71.81 kB / 0.6226 GB, free: 13.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.528, allocations: 0.6343 MB / 0.6232 GB, free: 12.82 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.318e-05/0.5281, allocations: 15.78 kB / 0.6232 GB, free: 12.8 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.775e-05/0.5281, allocations: 24 kB / 0.6232 GB, free: 12.78 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.5282, allocations: 19.98 kB / 0.6232 GB, free: 12.76 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.5294, allocations: 0.5568 MB / 0.6238 GB, free: 12.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003799/0.5332, allocations: 2.204 MB / 0.6259 GB, free: 9.875 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/0.5346, allocations: 0.7071 MB / 0.6266 GB, free: 9.102 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00019/0.5349, allocations: 101.8 kB / 0.6267 GB, free: 8.984 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.5349, allocations: 54.89 kB / 0.6268 GB, free: 8.922 MB / 442.7 MB Notification: Performance of pre-optimization done (n=82): time 3.727e-06/0.5349, allocations: 0 / 0.6268 GB, free: 8.922 MB / 442.7 MB Notification: Performance of matching and sorting (n=115): time 0.008876/0.5438, allocations: 4.607 MB / 0.6313 GB, free: 3.965 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000158/0.544, allocations: 222.1 kB / 0.6315 GB, free: 3.699 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004081/0.5444, allocations: 313.2 kB / 0.6318 GB, free: 3.387 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.526e-05/0.5445, allocations: 45.7 kB / 0.6318 GB, free: 3.336 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.5447, allocations: 268.9 kB / 0.6321 GB, free: 3.066 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003492/0.5451, allocations: 406 kB / 0.6325 GB, free: 2.664 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-05/0.5451, allocations: 24 kB / 0.6325 GB, free: 2.641 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.5453, allocations: 386.7 kB / 0.6329 GB, free: 2.254 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006989/0.546, allocations: 338.4 kB / 0.6332 GB, free: 1.922 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008107/0.5468, allocations: 0.5165 MB / 0.6337 GB, free: 1.336 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008018/0.5477, allocations: 398.3 kB / 0.6341 GB, free: 0.9492 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.5477, allocations: 0 / 0.6341 GB, free: 0.9492 MB / 442.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001903/0.5496, allocations: 1.039 MB / 0.6351 GB, free: 15.9 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.5496, allocations: 4 kB / 0.6351 GB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.5496, allocations: 8 kB / 0.6351 GB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.737e-05/0.5497, allocations: 8.531 kB / 0.6351 GB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.5507, allocations: 295.5 kB / 0.6354 GB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.318e-05/0.5508, allocations: 17.47 kB / 0.6354 GB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005447/0.5513, allocations: 63.97 kB / 0.6355 GB, free: 15.51 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.64e-05/0.5514, allocations: 36 kB / 0.6355 GB, free: 15.48 MB / 458.7 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.0003543/0.5518, allocations: 229.5 kB / 0.6357 GB, free: 15.24 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002294/0.552, allocations: 71.16 kB / 0.6358 GB, free: 15.17 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000457/0.5525, allocations: 230.9 kB / 0.636 GB, free: 14.94 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.5525, allocations: 15.98 kB / 0.636 GB, free: 14.93 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.5525, allocations: 4 kB / 0.636 GB, free: 14.92 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.5526, allocations: 7.984 kB / 0.636 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003997/0.5566, allocations: 2.382 MB / 0.6384 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.5566, allocations: 4 kB / 0.6384 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/0.5577, allocations: 260 kB / 0.6386 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.931e-05/0.5577, allocations: 8 kB / 0.6386 GB, free: 12.17 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.687e-05/0.5578, allocations: 27.98 kB / 0.6386 GB, free: 12.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-05/0.5578, allocations: 11.94 kB / 0.6387 GB, free: 12.13 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.5578, allocations: 4 kB / 0.6387 GB, free: 12.12 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002799/0.5606, allocations: 2.125 MB / 0.6407 GB, free: 9.859 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003184/0.561, allocations: 200.2 kB / 0.6409 GB, free: 9.645 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.962e-05/0.5611, allocations: 24 kB / 0.6409 GB, free: 9.621 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006687/0.5617, allocations: 55.97 kB / 0.641 GB, free: 9.566 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.5619, allocations: 84.34 kB / 0.6411 GB, free: 9.484 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.549e-05/0.562, allocations: 35.98 kB / 0.6411 GB, free: 9.449 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002834/0.5623, allocations: 251.2 kB / 0.6414 GB, free: 9.203 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5623, allocations: 0 / 0.6414 GB, free: 9.203 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009442/0.5633, allocations: 200.1 kB / 0.6415 GB, free: 9.008 MB / 458.7 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.003442/0.5667, allocations: 3.76 MB / 0.6452 GB, free: 5.133 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001732/0.5685, allocations: 0.8744 MB / 0.6461 GB, free: 4.258 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/0.5685, allocations: 4 kB / 0.6461 GB, free: 4.254 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00098/0.5695, allocations: 0.4992 MB / 0.6466 GB, free: 3.754 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.5706, allocations: 111.4 kB / 0.6467 GB, free: 3.645 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.5808, allocations: 8.367 MB / 0.6548 GB, free: 11.08 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006264/0.5815, allocations: 0.9568 MB / 0.6558 GB, free: 10.09 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005079/0.582, allocations: 105.6 kB / 0.6559 GB, free: 9.984 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003882/0.5824, allocations: 255.3 kB / 0.6561 GB, free: 9.734 MB / 474.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5824, allocations: 3.938 kB / 0.6561 GB, free: 9.73 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02985/0.6122, allocations: 12.41 MB / 0.6682 GB, free: 13.5 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000188/0.6125, allocations: 175.2 kB / 0.6684 GB, free: 13.26 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.283/2.895, allocations: 0 / 0.6684 GB, free: 13.26 MB / 490.7 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