Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007467/0.0007467, allocations: 93.53 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009487/0.0009487, allocations: 205.3 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.191/1.191, allocations: 227.7 MB / 246.8 MB, free: 11.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001888/0.0001888, allocations: 4 kB / 307.8 MB, free: 0.7344 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0778/0.078, allocations: 51.53 MB / 359.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002061/0.08009, allocations: 2.117 MB / 361.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003515/0.08045, allocations: 239.1 kB / 361.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.591e-05/0.08055, allocations: 4 kB / 361.7 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.08067, allocations: 35.7 kB / 361.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.08079, allocations: 63.47 kB / 361.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001316/0.08093, allocations: 51.95 kB / 361.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.08117, allocations: 278.7 kB / 362.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.08135, allocations: 79.33 kB / 362.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.418e-05/0.08144, allocations: 99.58 kB / 362.3 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.08157, allocations: 107.5 kB / 362.4 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.08161, allocations: 12 kB / 362.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.126e-05/0.08164, allocations: 12 kB / 362.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.821e-05/0.08168, allocations: 47.77 kB / 362.5 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.08179, allocations: 141.1 kB / 362.6 MB, free: 9.918 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.08201, allocations: 271.1 kB / 362.9 MB, free: 9.652 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.08202, allocations: 0 / 362.9 MB, free: 9.652 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.08203, allocations: 3.938 kB / 362.9 MB, free: 9.648 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.08204, allocations: 0 / 362.9 MB, free: 9.648 MB / 302.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.0005616/0.08261, allocations: 0.4953 MB / 363.4 MB, free: 9.102 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.08264, allocations: 8.031 kB / 363.4 MB, free: 9.094 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.13e-05/0.0827, allocations: 66.66 kB / 363.5 MB, free: 9.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.453e-05/0.08275, allocations: 32.56 kB / 363.5 MB, free: 8.988 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.08296, allocations: 248.5 kB / 363.7 MB, free: 8.703 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.08299, allocations: 20.94 kB / 363.8 MB, free: 8.684 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.255e-05/0.08304, allocations: 28.28 kB / 363.8 MB, free: 8.656 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003393/0.08338, allocations: 236 kB / 364 MB, free: 8.414 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.08341, allocations: 7.938 kB / 364 MB, free: 8.406 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/0.08343, allocations: 8 kB / 364 MB, free: 8.398 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.986e-06/0.08344, allocations: 8 kB / 364 MB, free: 8.391 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002443/0.08369, allocations: 159.8 kB / 364.2 MB, free: 8.234 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008601/0.08456, allocations: 0.8045 MB / 365 MB, free: 7.371 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004245/0.08499, allocations: 299.7 kB / 365.3 MB, free: 7.051 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/0.08521, allocations: 134.5 kB / 365.4 MB, free: 6.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.08524, allocations: 4 kB / 365.4 MB, free: 6.906 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.08527, allocations: 34.78 kB / 365.5 MB, free: 6.863 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.392e-06/0.08527, allocations: 3.938 kB / 365.5 MB, free: 6.859 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.002222/0.0875, allocations: 1.946 MB / 367.4 MB, free: 4.652 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.08756, allocations: 114.8 kB / 367.5 MB, free: 4.516 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.08772, allocations: 194.6 kB / 367.7 MB, free: 4.309 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.08774, allocations: 29.8 kB / 367.7 MB, free: 4.273 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.101e-05/0.08782, allocations: 144.7 kB / 367.9 MB, free: 4.125 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.659e-05/0.08792, allocations: 157.6 kB / 368 MB, free: 3.969 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.737e-05/0.08798, allocations: 45.69 kB / 368.1 MB, free: 3.918 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.08808, allocations: 334.8 kB / 368.4 MB, free: 3.582 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.08822, allocations: 92.84 kB / 368.5 MB, free: 3.492 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.0884, allocations: 158.3 kB / 368.7 MB, free: 3.312 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003312/0.08873, allocations: 280.5 kB / 368.9 MB, free: 3.023 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.08874, allocations: 0 / 368.9 MB, free: 3.023 MB / 302.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004343/0.08918, allocations: 345.1 kB / 369.3 MB, free: 2.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.0892, allocations: 7.938 kB / 369.3 MB, free: 2.672 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.08921, allocations: 4 kB / 369.3 MB, free: 2.668 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.08923, allocations: 4 kB / 369.3 MB, free: 2.664 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/0.08953, allocations: 91.84 kB / 369.4 MB, free: 2.574 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.08954, allocations: 4 kB / 369.4 MB, free: 2.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.902e-05/0.08965, allocations: 12.09 kB / 369.4 MB, free: 2.559 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.08967, allocations: 16 kB / 369.4 MB, free: 2.543 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.0001182/0.08979, allocations: 153.7 kB / 369.6 MB, free: 2.383 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.808e-05/0.08988, allocations: 35.69 kB / 369.6 MB, free: 2.348 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.646e-05/0.08996, allocations: 33.88 kB / 369.6 MB, free: 2.316 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.08997, allocations: 4 kB / 369.6 MB, free: 2.312 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.08998, allocations: 0 / 369.6 MB, free: 2.312 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.08999, allocations: 7.984 kB / 369.6 MB, free: 2.305 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.09116, allocations: 1.058 MB / 370.7 MB, free: 1.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.09117, allocations: 4 kB / 370.7 MB, free: 1.156 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/0.09151, allocations: 91.89 kB / 370.8 MB, free: 1.066 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.09152, allocations: 8.219 kB / 370.8 MB, free: 1.059 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.09155, allocations: 12 kB / 370.8 MB, free: 1.047 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.09156, allocations: 7.938 kB / 370.8 MB, free: 1.039 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.09156, allocations: 4 kB / 370.8 MB, free: 1.035 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006221/0.09219, allocations: 0.7211 MB / 371.5 MB, free: 280 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.813e-05/0.09226, allocations: 108.7 kB / 371.6 MB, free: 152 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/0.0923, allocations: 12.05 kB / 371.7 MB, free: 140 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.09249, allocations: 16 kB / 371.7 MB, free: 124 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.09254, allocations: 31.91 kB / 371.7 MB, free: 92 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.09256, allocations: 16.09 kB / 371.7 MB, free: 76 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.1314/0.224, allocations: 139.5 kB / 371.9 MB, free: 18.28 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.224, allocations: 0.7188 kB / 371.9 MB, free: 18.28 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000529/0.2245, allocations: 71.94 kB / 371.9 MB, free: 18.28 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.0008288/0.2254, allocations: 1.265 MB / 373.2 MB, free: 17.39 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003826/0.2258, allocations: 266.3 kB / 373.4 MB, free: 17.39 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2258, allocations: 0.7188 kB / 373.4 MB, free: 17.39 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.2259, allocations: 144 kB / 373.6 MB, free: 17.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006876/0.2266, allocations: 69.08 kB / 373.7 MB, free: 17.38 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002934/0.2296, allocations: 3.494 MB / 377.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001807/0.2298, allocations: 0.765 MB / 377.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.2299, allocations: 38.89 kB / 378 MB, free: 14.53 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.23, allocations: 91.02 kB / 378 MB, free: 14.52 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.23, allocations: 0 / 378 MB, free: 14.52 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01445/0.2445, allocations: 5.491 MB / 383.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000138/0.2446, allocations: 206.1 kB / 383.7 MB, free: 13.87 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/2.022, allocations: 5.406 kB / 383.7 MB, free: 13.86 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_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