Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.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) 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(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper",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.001074/0.001074, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.777/1.777, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009691/0.0009692, allocations: 86.7 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.474e-05/2.468e-05, allocations: 0 / 315.6 MB, free: 22.63 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1114, allocations: 47.6 MB / 363.2 MB, free: 6.977 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3925/0.5039, allocations: 75.66 MB / 438.8 MB, free: 3.695 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.5042, allocations: 68.36 kB / 438.9 MB, free: 3.656 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01075/0.515, allocations: 4.126 MB / 443 MB, free: 284 kB / 314.7 MB Notification: Performance of FrontEnd: time 2.093e-06/0.515, allocations: 4 kB / 443 MB, free: 280 kB / 314.7 MB Notification: Performance of Transformations before backend: time 1.526e-05/0.5151, allocations: 4 kB / 443 MB, free: 276 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0006609/0.5157, allocations: 480.7 kB / 443.5 MB, free: 15.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.5158, allocations: 8.031 kB / 443.5 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.299e-05/0.5159, allocations: 39.61 kB / 443.5 MB, free: 15.72 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/0.5161, allocations: 231.2 kB / 443.8 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.5162, allocations: 8.766 kB / 443.8 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.185e-05/0.5162, allocations: 12 kB / 443.8 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002627/0.5165, allocations: 141.4 kB / 443.9 MB, free: 15.35 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003166/0.5168, allocations: 197.9 kB / 444.1 MB, free: 15.19 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.5168, allocations: 11.84 kB / 444.1 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.5169, allocations: 0 / 444.1 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.5169, allocations: 8 kB / 444.1 MB, free: 15.17 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.5179, allocations: 0.7416 MB / 444.9 MB, free: 14.49 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004404/0.5184, allocations: 266.7 kB / 445.1 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002001/0.5186, allocations: 122.6 kB / 445.3 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.5186, allocations: 4 kB / 445.3 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.5187, allocations: 37.88 kB / 445.3 MB, free: 14.13 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 1.703e-06/0.5187, allocations: 3.938 kB / 445.3 MB, free: 14.13 MB / 330.7 MB Notification: Performance of matching and sorting (n=45): time 0.002267/0.5209, allocations: 1.73 MB / 447 MB, free: 12.3 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.5211, allocations: 110.8 kB / 447.1 MB, free: 12.17 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.5212, allocations: 138.9 kB / 447.3 MB, free: 12.04 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.5213, allocations: 25.7 kB / 447.3 MB, free: 12.01 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.956e-05/0.5214, allocations: 149.8 kB / 447.5 MB, free: 11.88 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.5215, allocations: 151.3 kB / 447.6 MB, free: 11.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.129e-05/0.5215, allocations: 0 / 447.6 MB, free: 11.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.5217, allocations: 336.3 kB / 447.9 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.5218, allocations: 73 kB / 448 MB, free: 11.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.522, allocations: 146.8 kB / 448.1 MB, free: 11.26 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.5221, allocations: 111.2 kB / 448.3 MB, free: 11.19 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.5221, allocations: 0 / 448.3 MB, free: 11.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004353/0.5226, allocations: 292 kB / 448.5 MB, free: 10.96 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.5226, allocations: 4 kB / 448.5 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.5226, allocations: 4 kB / 448.5 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.5227, allocations: 4 kB / 448.5 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003278/0.523, allocations: 98.83 kB / 448.6 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.523, allocations: 4 kB / 448.6 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.966e-05/0.5231, allocations: 4.656 kB / 448.7 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.5231, allocations: 15.19 kB / 448.7 MB, free: 10.83 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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 9.061e-05/0.5232, allocations: 117.3 kB / 448.8 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003802/0.5236, allocations: 249.8 kB / 449 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.122e-05/0.5237, allocations: 31.66 kB / 449.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.095e-05/0.5238, allocations: 31.83 kB / 449.1 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.5238, allocations: 7.938 kB / 449.1 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.5238, allocations: 3.938 kB / 449.1 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.5238, allocations: 12.02 kB / 449.1 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.5251, allocations: 0.9653 MB / 450.1 MB, free: 9.559 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.5251, allocations: 0 / 450.1 MB, free: 9.559 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003688/0.5255, allocations: 95.61 kB / 450.2 MB, free: 9.469 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.5255, allocations: 4 kB / 450.2 MB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.5255, allocations: 4 kB / 450.2 MB, free: 9.461 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.066e-05/0.5255, allocations: 11.98 kB / 450.2 MB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.5255, allocations: 4.281 kB / 450.2 MB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007893/0.5263, allocations: 0.8012 MB / 451 MB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-05/0.5264, allocations: 104.8 kB / 451.1 MB, free: 8.516 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.739e-05/0.5265, allocations: 7.953 kB / 451.1 MB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.5267, allocations: 0 / 451.1 MB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.5267, allocations: 35.66 kB / 451.1 MB, free: 8.477 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.5267, allocations: 15.81 kB / 451.2 MB, free: 8.465 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.738e-05/0.5268, allocations: 122.9 kB / 451.3 MB, free: 8.359 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5268, allocations: 0 / 451.3 MB, free: 8.359 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004221/0.5273, allocations: 59.98 kB / 451.3 MB, free: 8.301 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper1.s_rel,damper1.v_rel,damper2.s_rel,damper2.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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.001414/0.5287, allocations: 2.102 MB / 453.4 MB, free: 6.223 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003977/0.5291, allocations: 223.9 kB / 453.7 MB, free: 6.066 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.5291, allocations: 0 / 453.7 MB, free: 6.066 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.5293, allocations: 135.9 kB / 453.8 MB, free: 5.961 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005222/0.5298, allocations: 52.41 kB / 453.8 MB, free: 5.922 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.5314, allocations: 0.8243 MB / 454.7 MB, free: 5.078 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/0.5318, allocations: 0.7722 MB / 455.4 MB, free: 4.277 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001307/0.532, allocations: 35.2 kB / 455.5 MB, free: 4.242 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.5321, allocations: 93.78 kB / 455.6 MB, free: 4.207 MB / 330.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5321, allocations: 0 / 455.6 MB, free: 4.207 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03825/0.5704, allocations: 4.772 MB / 460.3 MB, free: 15.43 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003229/0.5708, allocations: 136.2 kB / 460.5 MB, free: 15.24 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.965/2.536, allocations: 3.938 kB / 460.5 MB, free: 15.24 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.mat does not exist to compare? outputFormat=mat