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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 97.34 kB / 16.96 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 179.4 kB / 17.84 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004529/0.0004529, allocations: 12 kB / 280.9 MB, free: 3.641 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08268/0.08315, allocations: 47.58 MB / 328.4 MB, free: 3.988 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002112/0.0853, allocations: 2.011 MB / 330.5 MB, free: 1.965 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003903/0.08571, allocations: 231.2 kB / 330.7 MB, free: 1.738 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.608e-05/0.08581, allocations: 11.88 kB / 330.7 MB, free: 1.727 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.08593, allocations: 27.77 kB / 330.7 MB, free: 1.699 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.08606, allocations: 79.38 kB / 330.8 MB, free: 1.621 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001437/0.08621, allocations: 39.97 kB / 330.8 MB, free: 1.582 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002436/0.08646, allocations: 266.7 kB / 331.1 MB, free: 1.32 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.08663, allocations: 73.69 kB / 331.2 MB, free: 1.25 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.867e-05/0.08672, allocations: 91.59 kB / 331.3 MB, free: 1.16 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.08686, allocations: 107.5 kB / 331.4 MB, free: 1.055 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.08689, allocations: 12 kB / 331.4 MB, free: 1.043 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.227e-05/0.08693, allocations: 12 kB / 331.4 MB, free: 1.031 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.907e-05/0.08698, allocations: 39.84 kB / 331.4 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.211e-05/0.08703, allocations: 69.58 kB / 331.5 MB, free: 0.918 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.08733, allocations: 211.6 kB / 331.7 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.08735, allocations: 0 / 331.7 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.08735, allocations: 0 / 331.7 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.08736, allocations: 0 / 331.7 MB, free: 0.7109 MB / 270.1 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.0007602/0.08813, allocations: 0.5067 MB / 332.2 MB, free: 160 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.08817, allocations: 8.031 kB / 332.2 MB, free: 152 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.804e-05/0.08824, allocations: 58.55 kB / 332.3 MB, free: 84 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.08829, allocations: 27.72 kB / 332.3 MB, free: 56 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.08854, allocations: 247.2 kB / 332.5 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.08857, allocations: 24.52 kB / 332.6 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-05/0.08862, allocations: 27.98 kB / 332.6 MB, free: 15.72 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000362/0.08899, allocations: 231.5 kB / 332.8 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.08902, allocations: 7.984 kB / 332.8 MB, free: 15.47 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.08904, allocations: 11.98 kB / 332.8 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/0.08906, allocations: 8 kB / 332.8 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002432/0.0893, allocations: 163.8 kB / 333 MB, free: 15.29 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008957/0.09021, allocations: 0.801 MB / 333.8 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004221/0.09064, allocations: 287.8 kB / 334.1 MB, free: 14.12 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/0.09086, allocations: 138.4 kB / 334.2 MB, free: 13.98 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.09089, allocations: 8.25 kB / 334.2 MB, free: 13.97 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.09092, allocations: 34.56 kB / 334.3 MB, free: 13.93 MB / 286.1 MB Notification: Performance of pre-optimization done (n=33): time 1.412e-06/0.09092, allocations: 0 / 334.3 MB, free: 13.93 MB / 286.1 MB Notification: Performance of matching and sorting (n=45): time 0.002386/0.09331, allocations: 1.939 MB / 336.2 MB, free: 11.72 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.09339, allocations: 110.8 kB / 336.3 MB, free: 11.59 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.09355, allocations: 190.6 kB / 336.5 MB, free: 11.39 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.09358, allocations: 33.7 kB / 336.5 MB, free: 11.35 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.049e-05/0.09367, allocations: 140.6 kB / 336.7 MB, free: 11.2 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.09378, allocations: 161.6 kB / 336.8 MB, free: 11.04 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.485e-05/0.0938, allocations: 8 kB / 336.8 MB, free: 11.04 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.09391, allocations: 342.8 kB / 337.2 MB, free: 10.69 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.09405, allocations: 92.77 kB / 337.3 MB, free: 10.6 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.09424, allocations: 154.3 kB / 337.4 MB, free: 10.43 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.09446, allocations: 112 kB / 337.5 MB, free: 10.32 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.09447, allocations: 0 / 337.5 MB, free: 10.32 MB / 286.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004341/0.09491, allocations: 344.9 kB / 337.9 MB, free: 9.977 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.09493, allocations: 11.98 kB / 337.9 MB, free: 9.965 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.09494, allocations: 0 / 337.9 MB, free: 9.965 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.09496, allocations: 4 kB / 337.9 MB, free: 9.961 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004083/0.09538, allocations: 91.91 kB / 338 MB, free: 9.871 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.0954, allocations: 4 kB / 338 MB, free: 9.867 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.09552, allocations: 8.938 kB / 338 MB, free: 9.859 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.09555, allocations: 16 kB / 338 MB, free: 9.844 MB / 286.1 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 () * Number of clocked 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 0.0001714/0.09573, allocations: 161.7 kB / 338.1 MB, free: 9.676 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.548e-05/0.09581, allocations: 27.72 kB / 338.2 MB, free: 9.648 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.435e-05/0.09589, allocations: 33.88 kB / 338.2 MB, free: 9.617 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.0959, allocations: 4 kB / 338.2 MB, free: 9.613 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.09591, allocations: 8 kB / 338.2 MB, free: 9.605 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.09593, allocations: 3.984 kB / 338.2 MB, free: 9.602 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.09723, allocations: 1.067 MB / 339.3 MB, free: 8.449 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.09724, allocations: 4 kB / 339.3 MB, free: 8.445 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003306/0.09758, allocations: 87.89 kB / 339.4 MB, free: 8.359 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.385e-06/0.0976, allocations: 8 kB / 339.4 MB, free: 8.352 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.09763, allocations: 12 kB / 339.4 MB, free: 8.34 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.09764, allocations: 4 kB / 339.4 MB, free: 8.336 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.09765, allocations: 8.219 kB / 339.4 MB, free: 8.328 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007123/0.09837, allocations: 0.7209 MB / 340.1 MB, free: 7.562 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.042e-05/0.09845, allocations: 104.8 kB / 340.2 MB, free: 7.441 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.09849, allocations: 16.05 kB / 340.3 MB, free: 7.426 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.09869, allocations: 8 kB / 340.3 MB, free: 7.418 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.09874, allocations: 31.97 kB / 340.3 MB, free: 7.387 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.09876, allocations: 16 kB / 340.3 MB, free: 7.371 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.587e-05/0.09886, allocations: 132.5 kB / 340.4 MB, free: 7.242 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.673e-06/0.09887, allocations: 0 / 340.4 MB, free: 7.242 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004028/0.09928, allocations: 79.89 kB / 340.5 MB, free: 7.164 MB / 286.1 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,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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.0008969/0.1002, allocations: 1.267 MB / 341.8 MB, free: 5.84 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003895/0.1006, allocations: 251.9 kB / 342 MB, free: 5.594 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1006, allocations: 0 / 342 MB, free: 5.594 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.1008, allocations: 148.2 kB / 342.2 MB, free: 5.449 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006502/0.1014, allocations: 60.5 kB / 342.2 MB, free: 5.391 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/0.104, allocations: 2.03 MB / 344.3 MB, free: 3.262 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.1043, allocations: 0.7649 MB / 345 MB, free: 2.469 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001154/0.1044, allocations: 30.95 kB / 345.1 MB, free: 2.441 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.1046, allocations: 95.41 kB / 345.1 MB, free: 2.348 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1046, allocations: 0 / 345.1 MB, free: 2.348 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1657/0.2703, allocations: 5.353 MB / 350.5 MB, free: 12.99 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002508/0.2706, allocations: 185.9 kB / 350.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.958/2.229, allocations: 0 / 350.7 MB, free: 12.75 MB / 302.1 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) Environment - environmentSimulation: 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