Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001627/0.001631, allocations: 182.2 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.168/2.168, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001171/0.00117, allocations: 98.5 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5601/0.5601, allocations: 43.55 MB / 362.7 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004932/0.0004933, allocations: 16 kB / 431.5 MB, free: 5.844 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1373, allocations: 58.83 MB / 490.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005822/0.1432, allocations: 3.312 MB / 493.6 MB, free: 7.594 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003055/0.1464, allocations: 1.1 MB / 494.7 MB, free: 6.484 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005275/0.1469, allocations: 15.94 kB / 494.7 MB, free: 6.469 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002104/0.1472, allocations: 71.39 kB / 494.8 MB, free: 6.398 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008081/0.148, allocations: 231.4 kB / 495 MB, free: 6.172 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007104/0.1487, allocations: 143.7 kB / 495.2 MB, free: 6.031 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001217/0.1499, allocations: 0.519 MB / 495.7 MB, free: 5.512 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004575/0.1504, allocations: 190.9 kB / 495.9 MB, free: 5.316 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005459/0.151, allocations: 251.1 kB / 496.1 MB, free: 5.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005625/0.1516, allocations: 298.7 kB / 496.4 MB, free: 4.777 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.1517, allocations: 35.94 kB / 496.4 MB, free: 4.742 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002523/0.152, allocations: 55.92 kB / 496.5 MB, free: 4.688 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.1521, allocations: 107.6 kB / 496.6 MB, free: 4.582 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000204/0.1524, allocations: 145.3 kB / 496.7 MB, free: 4.434 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008561/0.1532, allocations: 0.5339 MB / 497.3 MB, free: 3.898 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1532, allocations: 0 / 497.3 MB, free: 3.898 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1533, allocations: 0 / 497.3 MB, free: 3.898 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.1533, allocations: 4 kB / 497.3 MB, free: 3.895 MB / 378.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.002917/0.1562, allocations: 0.9157 MB / 498.2 MB, free: 2.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.1563, allocations: 8.031 kB / 498.2 MB, free: 2.922 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002086/0.1565, allocations: 102.5 kB / 498.3 MB, free: 2.812 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001884/0.1567, allocations: 79.06 kB / 498.4 MB, free: 2.734 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007497/0.1575, allocations: 380.8 kB / 498.7 MB, free: 2.324 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.206e-05/0.1575, allocations: 41.31 kB / 498.8 MB, free: 2.285 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/0.1577, allocations: 63.91 kB / 498.8 MB, free: 2.223 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/0.1598, allocations: 0.6382 MB / 499.5 MB, free: 1.555 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.318e-05/0.1599, allocations: 7.906 kB / 499.5 MB, free: 1.547 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.333e-05/0.16, allocations: 27.95 kB / 499.5 MB, free: 1.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.055e-05/0.1601, allocations: 16 kB / 499.5 MB, free: 1.504 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002266/0.1623, allocations: 0.5684 MB / 0.4884 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3219/0.4843, allocations: 2.163 MB / 0.4905 GB, free: 41.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002182/0.4865, allocations: 0.719 MB / 0.4912 GB, free: 41.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002404/0.4868, allocations: 95.62 kB / 0.4913 GB, free: 41.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/0.4869, allocations: 51.33 kB / 0.4913 GB, free: 41.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=82): time 4.769e-06/0.4869, allocations: 0 / 0.4913 GB, free: 41.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=115): time 0.01368/0.5006, allocations: 4.608 MB / 0.4958 GB, free: 39.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.624e-05/0.5007, allocations: 223.9 kB / 0.4961 GB, free: 39.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005796/0.5013, allocations: 365.7 kB / 0.4964 GB, free: 39.01 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.482e-05/0.5014, allocations: 45.3 kB / 0.4964 GB, free: 38.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.5016, allocations: 312 kB / 0.4967 GB, free: 38.76 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003703/0.502, allocations: 409.6 kB / 0.4971 GB, free: 38.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.521e-05/0.5021, allocations: 21.09 kB / 0.4972 GB, free: 38.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.5022, allocations: 354.2 kB / 0.4975 GB, free: 38.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/0.5033, allocations: 331.3 kB / 0.4978 GB, free: 38.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/0.5047, allocations: 0.5169 MB / 0.4983 GB, free: 37.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/0.506, allocations: 401.4 kB / 0.4987 GB, free: 37.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.5061, allocations: 1.375 kB / 0.4987 GB, free: 37.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00296/0.509, allocations: 1.012 MB / 0.4997 GB, free: 37.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.5091, allocations: 5.531 kB / 0.4997 GB, free: 37.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.5091, allocations: 11.33 kB / 0.4997 GB, free: 37.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.302e-05/0.5092, allocations: 11.7 kB / 0.4997 GB, free: 37.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001946/0.5111, allocations: 293.6 kB / 0.5 GB, free: 37.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.547e-05/0.5112, allocations: 10.38 kB / 0.5 GB, free: 37.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008342/0.512, allocations: 64.17 kB / 0.5001 GB, free: 37.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.5121, allocations: 41.95 kB / 0.5001 GB, free: 37.76 MB / 378.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.0004218/0.5126, allocations: 226.6 kB / 0.5003 GB, free: 37.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002708/0.5128, allocations: 76.61 kB / 0.5004 GB, free: 37.53 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006042/0.5135, allocations: 231.8 kB / 0.5006 GB, free: 37.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.5135, allocations: 13.97 kB / 0.5006 GB, free: 37.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.09e-05/0.5135, allocations: 0 / 0.5006 GB, free: 37.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/0.5135, allocations: 9.562 kB / 0.5006 GB, free: 37.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005178/0.5187, allocations: 2.38 MB / 0.503 GB, free: 36.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/0.5188, allocations: 6.75 kB / 0.503 GB, free: 36.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00214/0.5209, allocations: 261.2 kB / 0.5032 GB, free: 36.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.955e-05/0.521, allocations: 12.75 kB / 0.5032 GB, free: 36.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.979e-05/0.5211, allocations: 28.52 kB / 0.5033 GB, free: 36.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.466e-05/0.5211, allocations: 12.23 kB / 0.5033 GB, free: 36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.5211, allocations: 9.344 kB / 0.5033 GB, free: 36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004085/0.5252, allocations: 2.115 MB / 0.5053 GB, free: 34.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004242/0.5257, allocations: 197.2 kB / 0.5055 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/0.5258, allocations: 26.91 kB / 0.5056 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009694/0.5268, allocations: 54.17 kB / 0.5056 GB, free: 34.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002298/0.5271, allocations: 89.12 kB / 0.5057 GB, free: 34.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-05/0.5272, allocations: 36.39 kB / 0.5057 GB, free: 34.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003483/0.5275, allocations: 247.7 kB / 0.506 GB, free: 34.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.5275, allocations: 0 / 0.506 GB, free: 34.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001215/0.5288, allocations: 197.8 kB / 0.5062 GB, free: 34.23 MB / 378.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.004334/0.5331, allocations: 3.744 MB / 0.5098 GB, free: 31.28 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002615/0.5358, allocations: 0.8682 MB / 0.5107 GB, free: 31.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/0.5358, allocations: 3.281 kB / 0.5107 GB, free: 31.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00156/0.5374, allocations: 0.5001 MB / 0.5111 GB, free: 30.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/0.539, allocations: 97.97 kB / 0.5112 GB, free: 30.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/0.5512, allocations: 8.403 MB / 0.5194 GB, free: 24.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005428/0.5518, allocations: 0.9597 MB / 0.5204 GB, free: 23.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006315/0.5524, allocations: 280.1 kB / 0.5207 GB, free: 23.73 MB / 378.7 MB Notification: Performance of SimCode: time 1.283e-06/0.5524, allocations: 0 / 0.5207 GB, free: 23.73 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.764/3.317, allocations: 11.47 MB / 0.5319 GB, free: 22.63 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Translational_AllComponents_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents_res.mat does not exist to compare? outputFormat=mat