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.001462/0.001463, allocations: 103.8 kB / 17.16 MB, free: 6.316 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.001708/0.001708, allocations: 190 kB / 18.07 MB, free: 5.414 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.222/1.222, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.00107/0.00107, allocations: 51.92 kB / 280.1 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08974/0.09082, allocations: 46.62 MB / 326.7 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.004556/0.09543, allocations: 2.446 MB / 329.1 MB, free: 2.328 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.000524/0.09598, allocations: 235.1 kB / 329.4 MB, free: 2.098 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.09613, allocations: 4 kB / 329.4 MB, free: 2.094 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001927/0.09635, allocations: 35.7 kB / 329.4 MB, free: 2.059 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001985/0.09656, allocations: 75.39 kB / 329.5 MB, free: 1.984 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.09675, allocations: 47.97 kB / 329.5 MB, free: 1.938 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003569/0.09712, allocations: 274.7 kB / 329.8 MB, free: 1.668 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002481/0.09738, allocations: 82.52 kB / 329.9 MB, free: 1.59 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.09753, allocations: 111.6 kB / 330 MB, free: 1.48 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.09771, allocations: 107.5 kB / 330.1 MB, free: 1.375 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.028e-05/0.09776, allocations: 19.94 kB / 330.1 MB, free: 1.355 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.173e-05/0.09782, allocations: 12 kB / 330.1 MB, free: 1.344 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.01e-05/0.09789, allocations: 47.78 kB / 330.2 MB, free: 1.297 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.09807, allocations: 131.4 kB / 330.3 MB, free: 1.168 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003447/0.09842, allocations: 270.9 kB / 330.6 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.09843, allocations: 0 / 330.6 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.09844, allocations: 0 / 330.6 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.09846, allocations: 0 / 330.6 MB, free: 0.9023 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.0009313/0.09939, allocations: 0.5536 MB / 331.1 MB, free: 304 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.09945, allocations: 8.031 kB / 331.1 MB, free: 296 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.597e-05/0.09954, allocations: 58.73 kB / 331.2 MB, free: 228 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.972e-05/0.09964, allocations: 28.66 kB / 331.2 MB, free: 200 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003707/0.1, allocations: 248.5 kB / 331.5 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.1001, allocations: 16.94 kB / 331.5 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.135e-05/0.1001, allocations: 28.38 kB / 331.5 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005279/0.1007, allocations: 240 kB / 331.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.1007, allocations: 7.844 kB / 331.7 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.308e-05/0.1008, allocations: 12 kB / 331.8 MB, free: 15.6 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.1008, allocations: 8 kB / 331.8 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002675/0.101, allocations: 163.7 kB / 331.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009943/0.102, allocations: 0.797 MB / 332.7 MB, free: 14.57 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004775/0.1025, allocations: 295.7 kB / 333 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/0.1028, allocations: 130.5 kB / 333.1 MB, free: 14.12 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.1028, allocations: 11.98 kB / 333.1 MB, free: 14.11 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.1028, allocations: 30.56 kB / 333.2 MB, free: 14.07 MB / 286.1 MB Notification: Performance of pre-optimization done (n=33): time 1.403e-06/0.1028, allocations: 224 / 333.2 MB, free: 14.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=45): time 0.002553/0.1054, allocations: 1.945 MB / 335.1 MB, free: 11.86 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.1055, allocations: 110.8 kB / 335.2 MB, free: 11.73 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.1056, allocations: 198.5 kB / 335.4 MB, free: 11.52 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.1057, allocations: 37.64 kB / 335.5 MB, free: 11.48 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.214e-05/0.1058, allocations: 136.7 kB / 335.6 MB, free: 11.34 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.1059, allocations: 157.6 kB / 335.7 MB, free: 11.18 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.405e-05/0.106, allocations: 74.14 kB / 335.8 MB, free: 11.1 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1061, allocations: 338.8 kB / 336.1 MB, free: 10.76 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.1063, allocations: 88.84 kB / 336.2 MB, free: 10.67 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.1065, allocations: 162.3 kB / 336.4 MB, free: 10.49 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003407/0.1068, allocations: 277.9 kB / 336.7 MB, free: 10.2 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1068, allocations: 0 / 336.7 MB, free: 10.2 MB / 286.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005472/0.1074, allocations: 345 kB / 337 MB, free: 9.855 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.1074, allocations: 11.06 kB / 337 MB, free: 9.848 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.1074, allocations: 4 kB / 337 MB, free: 9.844 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.1074, allocations: 4 kB / 337 MB, free: 9.84 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003376/0.1078, allocations: 91.89 kB / 337.1 MB, free: 9.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.1078, allocations: 7.938 kB / 337.1 MB, free: 9.742 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.1079, allocations: 8 kB / 337.1 MB, free: 9.734 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.622e-05/0.108, allocations: 16 kB / 337.1 MB, free: 9.719 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.0001927/0.1082, allocations: 149.9 kB / 337.3 MB, free: 9.562 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/0.1083, allocations: 31.66 kB / 337.3 MB, free: 9.531 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.641e-05/0.1084, allocations: 37.86 kB / 337.4 MB, free: 9.496 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.1085, allocations: 4 kB / 337.4 MB, free: 9.492 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.1085, allocations: 0 / 337.4 MB, free: 9.492 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.1085, allocations: 7.984 kB / 337.4 MB, free: 9.484 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001976/0.1105, allocations: 1.063 MB / 338.4 MB, free: 8.336 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1105, allocations: 0 / 338.4 MB, free: 8.336 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005282/0.111, allocations: 91.89 kB / 338.5 MB, free: 8.246 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/0.1111, allocations: 7.938 kB / 338.5 MB, free: 8.238 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.308e-05/0.1111, allocations: 12.09 kB / 338.5 MB, free: 8.227 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.777e-06/0.1111, allocations: 11.88 kB / 338.6 MB, free: 8.215 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1111, allocations: 288 / 338.6 MB, free: 8.215 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.1122, allocations: 0.7325 MB / 339.3 MB, free: 7.441 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.1124, allocations: 100.8 kB / 339.4 MB, free: 7.324 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.661e-05/0.1124, allocations: 12.06 kB / 339.4 MB, free: 7.312 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003622/0.1128, allocations: 12 kB / 339.4 MB, free: 7.301 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.014e-05/0.1129, allocations: 35.89 kB / 339.4 MB, free: 7.266 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-05/0.1129, allocations: 16 kB / 339.5 MB, free: 7.25 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001555/0.1131, allocations: 144.2 kB / 339.6 MB, free: 7.109 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1131, allocations: 0 / 339.6 MB, free: 7.109 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.00075/0.1138, allocations: 72 kB / 339.7 MB, free: 7.039 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.0016/0.1155, allocations: 1.263 MB / 340.9 MB, free: 5.719 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006439/0.1161, allocations: 267.8 kB / 341.2 MB, free: 5.457 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1161, allocations: 0 / 341.2 MB, free: 5.457 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003052/0.1164, allocations: 144.3 kB / 341.3 MB, free: 5.316 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.1177, allocations: 64.09 kB / 341.4 MB, free: 5.254 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005278/0.123, allocations: 3.397 MB / 344.8 MB, free: 1.676 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004307/0.1234, allocations: 0.7723 MB / 345.6 MB, free: 0.875 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001834/0.1236, allocations: 34.97 kB / 345.6 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.1238, allocations: 91.41 kB / 345.7 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1238, allocations: 0 / 345.7 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02028/0.1441, allocations: 5.594 MB / 351.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/0.1443, allocations: 200.7 kB / 351.5 MB, free: 10.87 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.992/2.136, allocations: 4 kB / 351.5 MB, free: 10.86 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