Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 221.4 MB / 236 MB, free: 2.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009924/0.0009921, allocations: 91.98 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2365/0.2365, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.534e-05/4.57e-05, allocations: 224 / 451.9 MB, free: 9.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.201, allocations: 61.92 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5032/0.7043, allocations: 91.17 MB / 0.5908 GB, free: 14.11 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003883/0.7048, allocations: 63.97 kB / 0.5909 GB, free: 14.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03628/0.7411, allocations: 11.8 MB / 0.6024 GB, free: 2.199 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.7411, allocations: 0 / 0.6024 GB, free: 2.199 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.941e-05/0.7412, allocations: 12 kB / 0.6024 GB, free: 2.188 MB / 410.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.001686/0.7429, allocations: 0.8455 MB / 0.6032 GB, free: 1.297 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.7429, allocations: 12.03 kB / 0.6033 GB, free: 1.285 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001249/0.7431, allocations: 94.52 kB / 0.6033 GB, free: 1.184 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.7432, allocations: 83.11 kB / 0.6034 GB, free: 1.102 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005257/0.7438, allocations: 363.4 kB / 0.6038 GB, free: 0.707 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.584e-05/0.7438, allocations: 45.31 kB / 0.6038 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.7439, allocations: 63.89 kB / 0.6039 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.745, allocations: 0.5683 MB / 0.6044 GB, free: 0 / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.681e-05/0.745, allocations: 15.95 kB / 0.6044 GB, free: 15.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.309e-05/0.7451, allocations: 24 kB / 0.6045 GB, free: 15.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.7451, allocations: 12 kB / 0.6045 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008328/0.7459, allocations: 456.3 kB / 0.6049 GB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003434/0.7494, allocations: 2.205 MB / 0.6071 GB, free: 13.19 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.7505, allocations: 0.6369 MB / 0.6077 GB, free: 12.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004383/0.751, allocations: 300 kB / 0.608 GB, free: 12.17 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001667/0.7511, allocations: 101.5 kB / 0.6081 GB, free: 12.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.7512, allocations: 43 kB / 0.6081 GB, free: 12 MB / 426.7 MB Notification: Performance of pre-optimization done (n=82): time 2.725e-06/0.7512, allocations: 0 / 0.6081 GB, free: 12 MB / 426.7 MB Notification: Performance of matching and sorting (n=115): time 0.007131/0.7583, allocations: 4.101 MB / 0.6121 GB, free: 7.539 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/0.7585, allocations: 230.1 kB / 0.6123 GB, free: 7.266 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004055/0.7589, allocations: 311.1 kB / 0.6126 GB, free: 6.953 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.992e-05/0.759, allocations: 45.7 kB / 0.6127 GB, free: 6.902 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.7592, allocations: 266.1 kB / 0.6129 GB, free: 6.637 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000357/0.7596, allocations: 406.1 kB / 0.6133 GB, free: 6.234 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.7596, allocations: 20 kB / 0.6133 GB, free: 6.215 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.7598, allocations: 386.8 kB / 0.6137 GB, free: 5.828 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004605/0.7603, allocations: 262.6 kB / 0.614 GB, free: 5.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006255/0.7609, allocations: 468.2 kB / 0.6144 GB, free: 5.051 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006204/0.7615, allocations: 351.4 kB / 0.6147 GB, free: 4.707 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.7616, allocations: 3.953 kB / 0.6147 GB, free: 4.703 MB / 426.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001484/0.7631, allocations: 0.9158 MB / 0.6156 GB, free: 3.781 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.7631, allocations: 8 kB / 0.6156 GB, free: 3.773 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.7631, allocations: 4 kB / 0.6156 GB, free: 3.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.806e-05/0.7631, allocations: 12 kB / 0.6157 GB, free: 3.758 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.7642, allocations: 296 kB / 0.6159 GB, free: 3.469 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.168e-05/0.7643, allocations: 8 kB / 0.616 GB, free: 3.461 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004859/0.7647, allocations: 59.97 kB / 0.616 GB, free: 3.402 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.675e-05/0.7648, allocations: 44 kB / 0.616 GB, free: 3.359 MB / 426.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 () * 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.0001998/0.765, allocations: 164.7 kB / 0.6162 GB, free: 3.191 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002221/0.7653, allocations: 79.09 kB / 0.6163 GB, free: 3.113 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004979/0.7658, allocations: 206.8 kB / 0.6165 GB, free: 2.902 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/0.7658, allocations: 12 kB / 0.6165 GB, free: 2.891 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/0.7658, allocations: 4 kB / 0.6165 GB, free: 2.887 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.7658, allocations: 11.97 kB / 0.6165 GB, free: 2.875 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003744/0.7696, allocations: 2.277 MB / 0.6187 GB, free: 0.5039 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.7696, allocations: 7.938 kB / 0.6187 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/0.7707, allocations: 255.7 kB / 0.619 GB, free: 252 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.757e-05/0.7708, allocations: 11.94 kB / 0.619 GB, free: 240 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.875e-05/0.7708, allocations: 32.17 kB / 0.619 GB, free: 208 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-05/0.7709, allocations: 11.95 kB / 0.619 GB, free: 196 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.7709, allocations: 4.281 kB / 0.619 GB, free: 192 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002363/0.7732, allocations: 1.947 MB / 0.6209 GB, free: 14.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003981/0.7737, allocations: 200.2 kB / 0.6211 GB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.747e-05/0.7738, allocations: 24 kB / 0.6212 GB, free: 13.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006112/0.7744, allocations: 59.97 kB / 0.6212 GB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/0.7746, allocations: 84.34 kB / 0.6213 GB, free: 13.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.701e-05/0.7746, allocations: 35.98 kB / 0.6213 GB, free: 13.69 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003278/0.775, allocations: 245.2 kB / 0.6216 GB, free: 13.45 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.775, allocations: 4 kB / 0.6216 GB, free: 13.45 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008598/0.7759, allocations: 192 kB / 0.6217 GB, free: 13.26 MB / 442.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 () * 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.003172/0.779, allocations: 3.549 MB / 0.6252 GB, free: 9.594 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001518/0.7806, allocations: 0.7535 MB / 0.6259 GB, free: 8.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.7806, allocations: 0 / 0.6259 GB, free: 8.84 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006786/0.7813, allocations: 448.3 kB / 0.6264 GB, free: 8.406 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.7823, allocations: 109.7 kB / 0.6265 GB, free: 8.297 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004166/0.7865, allocations: 2.154 MB / 0.6286 GB, free: 6.055 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006194/0.7871, allocations: 0.9642 MB / 0.6295 GB, free: 5.062 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004663/0.7876, allocations: 106.3 kB / 0.6296 GB, free: 4.957 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003765/0.788, allocations: 251.4 kB / 0.6299 GB, free: 4.711 MB / 442.7 MB Notification: Performance of SimCode: time 1.313e-06/0.788, allocations: 0 / 0.6299 GB, free: 4.711 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03354/0.8215, allocations: 12.53 MB / 0.6421 GB, free: 8.332 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001991/0.8218, allocations: 156.3 kB / 0.6423 GB, free: 8.102 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.454/3.276, allocations: 0 / 0.6423 GB, free: 8.102 MB / 458.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Translational_AllComponents_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents_res.mat does not exist to compare? outputFormat=mat