Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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) 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_4_0_0_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_4_0_0_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.001393/0.001393, allocations: 115.4 kB / 16.63 MB, free: 6.812 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.001616/0.001616, allocations: 185.8 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.255/1.255, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001006/0.001006, allocations: 46.2 kB / 300.2 MB, free: 6.145 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07887/0.07989, allocations: 49.45 MB / 349.7 MB, free: 4.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003292/0.08321, allocations: 2.466 MB / 352.1 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005254/0.08377, allocations: 231.1 kB / 352.4 MB, free: 1.98 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.08395, allocations: 11.88 kB / 352.4 MB, free: 1.969 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001667/0.08412, allocations: 35.77 kB / 352.4 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.08432, allocations: 67.45 kB / 352.5 MB, free: 1.867 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.0845, allocations: 51.89 kB / 352.5 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002799/0.08478, allocations: 282.7 kB / 352.8 MB, free: 1.539 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.08499, allocations: 101.7 kB / 352.9 MB, free: 1.438 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.08512, allocations: 107.6 kB / 353 MB, free: 1.332 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.08527, allocations: 119.5 kB / 353.1 MB, free: 1.215 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.772e-05/0.08532, allocations: 24 kB / 353.2 MB, free: 1.191 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.108e-05/0.08536, allocations: 24 kB / 353.2 MB, free: 1.168 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.977e-05/0.08541, allocations: 47.78 kB / 353.2 MB, free: 1.121 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.08553, allocations: 135.4 kB / 353.4 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.08578, allocations: 287.1 kB / 353.6 MB, free: 0.707 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.0858, allocations: 4 kB / 353.6 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.0858, allocations: 0 / 353.6 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.08582, allocations: 4 kB / 353.6 MB, free: 0.6992 MB / 286.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.0006989/0.08652, allocations: 0.5381 MB / 354.2 MB, free: 112 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.08657, allocations: 12.03 kB / 354.2 MB, free: 100 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.01e-05/0.08663, allocations: 58.73 kB / 354.3 MB, free: 32 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.783e-05/0.0867, allocations: 32.62 kB / 354.3 MB, free: 16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.08693, allocations: 244.5 kB / 354.5 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.08695, allocations: 16.94 kB / 354.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.405e-05/0.087, allocations: 28.36 kB / 354.6 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003668/0.08737, allocations: 243.9 kB / 354.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.0874, allocations: 11.92 kB / 354.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.08743, allocations: 12 kB / 354.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.08744, allocations: 8 kB / 354.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002448/0.08769, allocations: 158.7 kB / 355 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009474/0.08865, allocations: 0.8007 MB / 355.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004605/0.08912, allocations: 291.7 kB / 356.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.08936, allocations: 138.7 kB / 356.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.08939, allocations: 4 kB / 356.2 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.08942, allocations: 38.5 kB / 356.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.533e-06/0.08943, allocations: 0 / 356.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.002576/0.09201, allocations: 1.952 MB / 358.2 MB, free: 11.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.09207, allocations: 110.8 kB / 358.3 MB, free: 11.53 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.09224, allocations: 187.2 kB / 358.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.09227, allocations: 33.7 kB / 358.5 MB, free: 11.29 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.632e-05/0.09235, allocations: 137.7 kB / 358.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.746e-05/0.09246, allocations: 161.6 kB / 358.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.891e-05/0.09255, allocations: 74.14 kB / 358.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.481e-05/0.09265, allocations: 338.8 kB / 359.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.0928, allocations: 88.84 kB / 359.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.09297, allocations: 158.3 kB / 359.5 MB, free: 10.31 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/0.09332, allocations: 283.8 kB / 359.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.09333, allocations: 0 / 359.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000447/0.09378, allocations: 338.4 kB / 360.1 MB, free: 9.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.09381, allocations: 11.94 kB / 360.1 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.09382, allocations: 3.938 kB / 360.1 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.09385, allocations: 12.08 kB / 360.1 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003072/0.09416, allocations: 95.84 kB / 360.2 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.09417, allocations: 0 / 360.2 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.09428, allocations: 8 kB / 360.2 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.09431, allocations: 16 kB / 360.2 MB, free: 9.535 MB / 302.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001231/0.09444, allocations: 153.7 kB / 360.4 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.184e-05/0.09452, allocations: 35.64 kB / 360.4 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.019e-05/0.0946, allocations: 33.88 kB / 360.4 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.09461, allocations: 4 kB / 360.4 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.09462, allocations: 8 kB / 360.4 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.09464, allocations: 3.984 kB / 360.5 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.09586, allocations: 1.053 MB / 361.5 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.09587, allocations: 4.281 kB / 361.5 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003529/0.09623, allocations: 95.83 kB / 361.6 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.09625, allocations: 11.94 kB / 361.6 MB, free: 8.051 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.09628, allocations: 12 kB / 361.6 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.09629, allocations: 4 kB / 361.6 MB, free: 8.035 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.0963, allocations: 4 kB / 361.6 MB, free: 8.031 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006968/0.097, allocations: 0.7287 MB / 362.4 MB, free: 7.262 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.134e-05/0.09708, allocations: 104.7 kB / 362.5 MB, free: 7.141 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.883e-05/0.09713, allocations: 12.06 kB / 362.5 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.09734, allocations: 12 kB / 362.5 MB, free: 7.117 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.0974, allocations: 35.89 kB / 362.5 MB, free: 7.082 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.09742, allocations: 12 kB / 362.5 MB, free: 7.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.485e-05/0.09752, allocations: 140.4 kB / 362.7 MB, free: 6.934 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09752, allocations: 4 kB / 362.7 MB, free: 6.93 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004093/0.09794, allocations: 72 kB / 362.7 MB, free: 6.859 MB / 302.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009198/0.09887, allocations: 1.263 MB / 364 MB, free: 5.531 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004188/0.0993, allocations: 291.7 kB / 364.3 MB, free: 5.246 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.09931, allocations: 3.938 kB / 364.3 MB, free: 5.242 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.09949, allocations: 139.7 kB / 364.4 MB, free: 5.105 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006847/0.1002, allocations: 68.55 kB / 364.5 MB, free: 5.043 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003454/0.1036, allocations: 3.403 MB / 367.9 MB, free: 1.457 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.1039, allocations: 0.7683 MB / 368.7 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000117/0.1041, allocations: 30.95 kB / 368.7 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.1042, allocations: 99.41 kB / 368.8 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of SimCode: time 1.633e-06/0.1042, allocations: 0 / 368.8 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3433/0.4475, allocations: 5.714 MB / 374.5 MB, free: 25.7 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/0.4477, allocations: 197.3 kB / 374.7 MB, free: 25.45 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2/2.447, allocations: 3.938 kB / 374.7 MB, free: 25.45 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,damper1.s_rel,damper1.v_rel,damper2.s_rel,damper2.v_rel,springDamper3.s_rel,springDamper3.v_rel Variables in the result:damper1.d,damper1.f,damper1.flange_a.f,damper1.flange_a.s,damper1.flange_b.f,damper1.flange_b.s,damper1.lossPower,damper1.s_nominal,damper1.s_rel,damper1.stateSelect,damper1.useHeatPort,damper1.v_rel,damper2.d,damper2.f,damper2.flange_a.f,damper2.flange_a.s,damper2.flange_b.f,damper2.flange_b.s,damper2.lossPower,damper2.s_nominal,damper2.s_rel,damper2.stateSelect,damper2.useHeatPort,damper2.v_rel,der(damper1.s_rel),der(damper1.v_rel),der(damper2.flange_a.s),der(damper2.s_rel),der(damper2.v_rel),der(der(damper2.flange_a.s)),der(der(mass1.flange_b.s)),der(der(mass3.flange_b.s)),der(mass1.flange_b.s),der(mass1.s),der(mass1.v),der(mass2.s),der(mass2.v),der(mass3.flange_b.s),der(mass3.s),der(mass3.v),der(springDamper3.s_rel),der(springDamper3.v_rel),fixed1.flange.f,fixed1.flange.s,fixed1.s0,fixed2.flange.f,fixed2.flange.s,fixed2.s0,fixed3.flange.f,fixed3.flange.s,fixed3.s0,mass1.L,mass1.a,mass1.flange_a.f,mass1.flange_a.s,mass1.flange_b.f,mass1.flange_b.s,mass1.m,mass1.s,mass1.stateSelect,mass1.v,mass2.L,mass2.a,mass2.flange_a.f,mass2.flange_a.s,mass2.flange_b.f,mass2.flange_b.s,mass2.m,mass2.s,mass2.stateSelect,mass2.v,mass3.L,mass3.a,mass3.flange_a.f,mass3.flange_a.s,mass3.flange_b.f,mass3.flange_b.s,mass3.m,mass3.s,mass3.stateSelect,mass3.v,spring2.c,spring2.f,spring2.flange_a.f,spring2.flange_a.s,spring2.flange_b.f,spring2.flange_b.s,spring2.s_rel,spring2.s_rel0,springDamper3.c,springDamper3.d,springDamper3.f,springDamper3.flange_a.f,springDamper3.flange_a.s,springDamper3.flange_b.f,springDamper3.flange_b.s,springDamper3.lossPower,springDamper3.s_nominal,springDamper3.s_rel,springDamper3.s_rel0,springDamper3.stateSelect,springDamper3.useHeatPort,springDamper3.v_rel,time