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.0008604/0.0008604, allocations: 93.8 kB / 17.3 MB, free: 6.391 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.0009229/0.0009229, allocations: 173.5 kB / 18.2 MB, free: 5.551 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.197/1.197, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004736/0.0004735, allocations: 12.42 kB / 281.5 MB, free: 3.324 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07849/0.07897, allocations: 47.58 MB / 329.1 MB, free: 3.672 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002175/0.08118, allocations: 2.088 MB / 331.1 MB, free: 1.57 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003868/0.08158, allocations: 243.1 kB / 331.4 MB, free: 1.332 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.606e-05/0.08169, allocations: 4 kB / 331.4 MB, free: 1.328 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.0818, allocations: 27.77 kB / 331.4 MB, free: 1.301 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000132/0.08194, allocations: 75.39 kB / 331.5 MB, free: 1.227 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001614/0.0821, allocations: 51.95 kB / 331.5 MB, free: 1.176 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.08237, allocations: 282.6 kB / 331.8 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.08256, allocations: 78.53 kB / 331.9 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.065e-05/0.08266, allocations: 91.59 kB / 332 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.08281, allocations: 107.5 kB / 332.1 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.225e-05/0.08285, allocations: 12 kB / 332.1 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.145e-05/0.08289, allocations: 16 kB / 332.1 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.787e-05/0.08293, allocations: 39.84 kB / 332.1 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.08305, allocations: 145 kB / 332.3 MB, free: 424 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.0833, allocations: 266.9 kB / 332.6 MB, free: 156 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.08331, allocations: 0 / 332.6 MB, free: 156 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.08332, allocations: 0 / 332.6 MB, free: 156 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.08333, allocations: 0 / 332.6 MB, free: 156 kB / 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.0006668/0.084, allocations: 0.5107 MB / 333.1 MB, free: 15.59 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.08405, allocations: 15.97 kB / 333.1 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.794e-05/0.08412, allocations: 54.73 kB / 333.1 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.614e-05/0.08418, allocations: 24.66 kB / 333.2 MB, free: 15.49 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.08443, allocations: 248.5 kB / 333.4 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.08446, allocations: 16.94 kB / 333.4 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/0.08451, allocations: 24.38 kB / 333.4 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003823/0.08489, allocations: 244 kB / 333.7 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.08492, allocations: 15.84 kB / 333.7 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.08495, allocations: 8 kB / 333.7 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.08497, allocations: 8 kB / 333.7 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000264/0.08524, allocations: 159.8 kB / 333.9 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009786/0.08622, allocations: 0.8087 MB / 334.7 MB, free: 13.86 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00046/0.08669, allocations: 291.7 kB / 335 MB, free: 13.54 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/0.08693, allocations: 142.4 kB / 335.1 MB, free: 13.39 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.08695, allocations: 4 kB / 335.1 MB, free: 13.39 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.08698, allocations: 38.56 kB / 335.1 MB, free: 13.34 MB / 286.1 MB Notification: Performance of pre-optimization done (n=33): time 1.312e-06/0.08699, allocations: 0 / 335.1 MB, free: 13.34 MB / 286.1 MB Notification: Performance of matching and sorting (n=45): time 0.002449/0.08944, allocations: 1.937 MB / 337.1 MB, free: 11.14 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.08951, allocations: 110.8 kB / 337.2 MB, free: 11.01 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.08968, allocations: 190.6 kB / 337.4 MB, free: 10.8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.08971, allocations: 33.7 kB / 337.4 MB, free: 10.77 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.429e-05/0.0898, allocations: 144.6 kB / 337.5 MB, free: 10.62 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.881e-05/0.08991, allocations: 157.7 kB / 337.7 MB, free: 10.46 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-05/0.08997, allocations: 45.69 kB / 337.7 MB, free: 10.41 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.09011, allocations: 334.8 kB / 338.1 MB, free: 10.07 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.09026, allocations: 100.8 kB / 338.2 MB, free: 9.973 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.09046, allocations: 158.3 kB / 338.3 MB, free: 9.797 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003498/0.09081, allocations: 277.4 kB / 338.6 MB, free: 9.508 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.09082, allocations: 0.9375 kB / 338.6 MB, free: 9.508 MB / 286.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004576/0.09129, allocations: 338.3 kB / 338.9 MB, free: 9.172 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.09131, allocations: 11.94 kB / 338.9 MB, free: 9.16 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.09132, allocations: 0 / 338.9 MB, free: 9.16 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.09134, allocations: 4 kB / 338.9 MB, free: 9.156 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003094/0.09165, allocations: 95.89 kB / 339 MB, free: 9.062 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.09167, allocations: 7.938 kB / 339 MB, free: 9.055 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.984e-05/0.09178, allocations: 8 kB / 339 MB, free: 9.047 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.856e-05/0.09181, allocations: 19.98 kB / 339.1 MB, free: 9.027 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001268/0.09195, allocations: 149.8 kB / 339.2 MB, free: 8.871 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.607e-05/0.09204, allocations: 43.5 kB / 339.3 MB, free: 8.828 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.616e-05/0.09214, allocations: 37.86 kB / 339.3 MB, free: 8.793 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.09216, allocations: 8 kB / 339.3 MB, free: 8.785 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.09216, allocations: 0 / 339.3 MB, free: 8.785 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.09217, allocations: 0 / 339.3 MB, free: 8.785 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.09344, allocations: 1.058 MB / 340.4 MB, free: 7.641 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.09345, allocations: 0 / 340.4 MB, free: 7.641 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003347/0.09379, allocations: 83.91 kB / 340.4 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.09381, allocations: 7.938 kB / 340.4 MB, free: 7.551 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/0.09384, allocations: 12 kB / 340.5 MB, free: 7.539 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.548e-06/0.09385, allocations: 15.92 kB / 340.5 MB, free: 7.523 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.09386, allocations: 4.281 kB / 340.5 MB, free: 7.52 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007814/0.09465, allocations: 0.7248 MB / 341.2 MB, free: 6.75 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.056e-05/0.09473, allocations: 104.8 kB / 341.3 MB, free: 6.629 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/0.09477, allocations: 12.06 kB / 341.3 MB, free: 6.617 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.09498, allocations: 12.12 kB / 341.3 MB, free: 6.605 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.09503, allocations: 35.91 kB / 341.4 MB, free: 6.57 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.09505, allocations: 16 kB / 341.4 MB, free: 6.555 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001048/0.09516, allocations: 144.2 kB / 341.5 MB, free: 6.414 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09517, allocations: 0 / 341.5 MB, free: 6.414 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003881/0.09556, allocations: 72 kB / 341.6 MB, free: 6.344 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 (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.0009584/0.09652, allocations: 1.259 MB / 342.9 MB, free: 5.027 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004021/0.09694, allocations: 268 kB / 343.1 MB, free: 4.766 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.09695, allocations: 4 kB / 343.1 MB, free: 4.762 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.09713, allocations: 140.4 kB / 343.3 MB, free: 4.625 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007273/0.09787, allocations: 76.19 kB / 343.3 MB, free: 4.551 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003519/0.1014, allocations: 3.488 MB / 346.8 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.1017, allocations: 0.7724 MB / 347.6 MB, free: 84 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001177/0.1019, allocations: 34.97 kB / 347.6 MB, free: 52 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.102, allocations: 95.48 kB / 347.7 MB, free: 15.95 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.102, allocations: 0 / 347.7 MB, free: 15.95 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2829/0.3849, allocations: 5.498 MB / 353.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/0.3852, allocations: 196 kB / 353.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.024/2.41, allocations: 0 / 353.4 MB, free: 10.2 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/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) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","../files/Modelica_3.2.3_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