Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_3_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.001706/0.001706, allocations: 183.5 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.72/1.72, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0009186/0.0009186, allocations: 98.84 kB / 270.2 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2177/0.2177, allocations: 43.55 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003293/0.0003294, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1088, allocations: 58.86 MB / 490.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3461/0.4549, allocations: 89.79 MB / 0.5665 GB, free: 9.941 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001897/0.4552, allocations: 70.28 kB / 0.5666 GB, free: 9.906 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03365/0.4888, allocations: 11.44 MB / 0.5778 GB, free: 308 kB / 378.7 MB Notification: Performance of FrontEnd: time 4.859e-06/0.4889, allocations: 3.938 kB / 0.5778 GB, free: 304 kB / 378.7 MB Notification: Performance of Transformations before backend: time 5.985e-05/0.489, allocations: 31.92 kB / 0.5778 GB, free: 272 kB / 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.002367/0.4913, allocations: 0.8917 MB / 0.5787 GB, free: 15.36 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.4914, allocations: 8.031 kB / 0.5787 GB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002115/0.4916, allocations: 101.3 kB / 0.5788 GB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002059/0.4918, allocations: 75.16 kB / 0.5788 GB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006547/0.4925, allocations: 366.8 kB / 0.5792 GB, free: 14.85 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.932e-05/0.4925, allocations: 44.56 kB / 0.5792 GB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.4927, allocations: 70.27 kB / 0.5793 GB, free: 14.78 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.4939, allocations: 0.6365 MB / 0.5799 GB, free: 14.28 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.314e-05/0.4939, allocations: 7.906 kB / 0.5799 GB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.6e-05/0.494, allocations: 27.31 kB / 0.58 GB, free: 14.26 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.494, allocations: 16 kB / 0.58 GB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.4952, allocations: 0.5553 MB / 0.5805 GB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003195/0.4984, allocations: 2.213 MB / 0.5827 GB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.4995, allocations: 0.7065 MB / 0.5834 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001476/0.4997, allocations: 97.16 kB / 0.5835 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.4998, allocations: 58.14 kB / 0.5835 GB, free: 11.11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=82): time 2.986e-06/0.4998, allocations: 3.938 kB / 0.5835 GB, free: 11.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=115): time 0.007951/0.5077, allocations: 4.616 MB / 0.588 GB, free: 6.871 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.5078, allocations: 222.1 kB / 0.5882 GB, free: 6.605 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003708/0.5082, allocations: 316.3 kB / 0.5885 GB, free: 6.344 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.971e-05/0.5083, allocations: 47.08 kB / 0.5886 GB, free: 6.305 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.5084, allocations: 262.3 kB / 0.5888 GB, free: 6.109 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002798/0.5087, allocations: 413.9 kB / 0.5892 GB, free: 5.754 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.12e-05/0.5088, allocations: 22 kB / 0.5893 GB, free: 5.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.5089, allocations: 388 kB / 0.5896 GB, free: 5.391 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006266/0.5096, allocations: 329.1 kB / 0.5899 GB, free: 5.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007222/0.5103, allocations: 0.5109 MB / 0.5904 GB, free: 4.691 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006821/0.511, allocations: 404.5 kB / 0.5908 GB, free: 4.434 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.511, allocations: 0 / 0.5908 GB, free: 4.434 MB / 394.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001698/0.5127, allocations: 1.034 MB / 0.5918 GB, free: 3.652 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.5127, allocations: 7.984 kB / 0.5918 GB, free: 3.645 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.5128, allocations: 8 kB / 0.5918 GB, free: 3.637 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.646e-05/0.5128, allocations: 12 kB / 0.5919 GB, free: 3.625 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.5139, allocations: 292.6 kB / 0.5921 GB, free: 3.348 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.408e-05/0.5139, allocations: 15.94 kB / 0.5922 GB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004662/0.5144, allocations: 62.47 kB / 0.5922 GB, free: 3.289 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.886e-05/0.5145, allocations: 39.17 kB / 0.5923 GB, free: 3.258 MB / 394.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.0002805/0.5147, allocations: 230.2 kB / 0.5925 GB, free: 3.082 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/0.515, allocations: 71.3 kB / 0.5925 GB, free: 3.012 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004105/0.5154, allocations: 234.6 kB / 0.5928 GB, free: 2.867 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.5154, allocations: 19.98 kB / 0.5928 GB, free: 2.848 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/0.5154, allocations: 4 kB / 0.5928 GB, free: 2.844 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.5154, allocations: 7.984 kB / 0.5928 GB, free: 2.836 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003396/0.5188, allocations: 2.373 MB / 0.5951 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/0.5189, allocations: 7.984 kB / 0.5951 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/0.5199, allocations: 259.4 kB / 0.5954 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.5e-05/0.52, allocations: 8.281 kB / 0.5954 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.788e-05/0.5201, allocations: 30.05 kB / 0.5954 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-05/0.5201, allocations: 11.94 kB / 0.5954 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.5201, allocations: 11.88 kB / 0.5954 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/0.5226, allocations: 2.128 MB / 0.5975 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002803/0.5229, allocations: 195.1 kB / 0.5977 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.993e-05/0.523, allocations: 30.42 kB / 0.5977 GB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006198/0.5236, allocations: 57.66 kB / 0.5978 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.5238, allocations: 83.66 kB / 0.5979 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.648e-05/0.5238, allocations: 33.36 kB / 0.5979 GB, free: 14.35 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002689/0.5241, allocations: 247.2 kB / 0.5981 GB, free: 14.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5241, allocations: 4 kB / 0.5981 GB, free: 14.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008418/0.525, allocations: 205.6 kB / 0.5983 GB, free: 13.98 MB / 410.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.003268/0.5282, allocations: 3.748 MB / 0.602 GB, free: 10.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001572/0.5298, allocations: 0.8657 MB / 0.6028 GB, free: 9.844 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.5298, allocations: 0 / 0.6028 GB, free: 9.844 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008308/0.5307, allocations: 0.5039 MB / 0.6033 GB, free: 9.445 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008555/0.5315, allocations: 107.1 kB / 0.6034 GB, free: 9.367 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009445/0.541, allocations: 8.368 MB / 0.6116 GB, free: 1.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006583/0.5417, allocations: 0.9581 MB / 0.6125 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000506/0.5422, allocations: 101.6 kB / 0.6126 GB, free: 444 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003688/0.5426, allocations: 254.5 kB / 0.6129 GB, free: 364 kB / 410.7 MB Notification: Performance of SimCode: time 1.293e-06/0.5426, allocations: 0 / 0.6129 GB, free: 364 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02966/0.5723, allocations: 12.43 MB / 0.625 GB, free: 3.973 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004446/0.5728, allocations: 180.6 kB / 0.6252 GB, free: 3.727 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.34/2.913, allocations: 0 / 0.6252 GB, free: 3.727 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.mat does not exist to compare? outputFormat=mat