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.001127/0.001127, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001339/0.001339, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001324, allocations: 59.92 kB / 307 MB, free: 0.5625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.113, allocations: 50.53 MB / 357.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003941/0.117, allocations: 2.433 MB / 360 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000863/0.1179, allocations: 239.1 kB / 360.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003074/0.1182, allocations: 15.94 kB / 360.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002335/0.1185, allocations: 39.58 kB / 360.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002918/0.1188, allocations: 79.27 kB / 360.4 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.1191, allocations: 55.92 kB / 360.4 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003832/0.1195, allocations: 290.6 kB / 360.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002412/0.1197, allocations: 101.7 kB / 360.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.1199, allocations: 107.6 kB / 360.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.1201, allocations: 115.5 kB / 361 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.673e-05/0.1202, allocations: 24 kB / 361.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.475e-05/0.1202, allocations: 24 kB / 361.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.371e-05/0.1203, allocations: 51.77 kB / 361.1 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.1205, allocations: 139.3 kB / 361.3 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003271/0.1208, allocations: 283.2 kB / 361.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.1208, allocations: 8 kB / 361.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1208, allocations: 0 / 361.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.1208, allocations: 0 / 361.6 MB, free: 10.05 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.0007802/0.1216, allocations: 0.5303 MB / 362.1 MB, free: 9.465 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.1217, allocations: 12.03 kB / 362.1 MB, free: 9.453 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.009e-05/0.1217, allocations: 62.72 kB / 362.2 MB, free: 9.383 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.806e-05/0.1218, allocations: 28.56 kB / 362.2 MB, free: 9.355 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.1221, allocations: 250.2 kB / 362.4 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.1221, allocations: 16.94 kB / 362.4 MB, free: 9.055 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.596e-05/0.1221, allocations: 28.28 kB / 362.5 MB, free: 9.027 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003735/0.1225, allocations: 244 kB / 362.7 MB, free: 8.773 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.1225, allocations: 7.938 kB / 362.7 MB, free: 8.766 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.1226, allocations: 8 kB / 362.7 MB, free: 8.758 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.1226, allocations: 8 kB / 362.7 MB, free: 8.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002738/0.1229, allocations: 163.1 kB / 362.9 MB, free: 8.594 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.124, allocations: 0.7967 MB / 363.7 MB, free: 7.738 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005659/0.1246, allocations: 295.7 kB / 364 MB, free: 7.422 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000285/0.1249, allocations: 134.5 kB / 364.1 MB, free: 7.281 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.125, allocations: 4 kB / 364.1 MB, free: 7.277 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.125, allocations: 38.56 kB / 364.1 MB, free: 7.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.774e-06/0.125, allocations: 0 / 364.1 MB, free: 7.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.002708/0.1277, allocations: 1.954 MB / 366.1 MB, free: 5.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.1278, allocations: 110.8 kB / 366.2 MB, free: 4.887 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.128, allocations: 182.6 kB / 366.4 MB, free: 4.691 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.128, allocations: 37.7 kB / 366.4 MB, free: 4.648 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.907e-05/0.1281, allocations: 132.8 kB / 366.6 MB, free: 4.512 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.1283, allocations: 169.6 kB / 366.7 MB, free: 4.344 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.1284, allocations: 75.06 kB / 366.8 MB, free: 4.266 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1285, allocations: 338.8 kB / 367.1 MB, free: 3.926 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.1286, allocations: 96.83 kB / 367.2 MB, free: 3.832 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.1288, allocations: 146.3 kB / 367.4 MB, free: 3.664 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003318/0.1292, allocations: 280.4 kB / 367.6 MB, free: 3.371 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1292, allocations: 0 / 367.6 MB, free: 3.371 MB / 302.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004749/0.1296, allocations: 343.8 kB / 368 MB, free: 3.031 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.1297, allocations: 12.03 kB / 368 MB, free: 3.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.1297, allocations: 4 kB / 368 MB, free: 3.016 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.1297, allocations: 4 kB / 368 MB, free: 3.012 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003127/0.13, allocations: 99.84 kB / 368.1 MB, free: 2.914 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.1301, allocations: 15.91 kB / 368.1 MB, free: 2.898 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.1302, allocations: 8 kB / 368.1 MB, free: 2.891 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.1302, allocations: 16 kB / 368.1 MB, free: 2.875 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.0001334/0.1303, allocations: 146.8 kB / 368.3 MB, free: 2.723 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.1305, allocations: 35.66 kB / 368.3 MB, free: 2.688 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.655e-05/0.1305, allocations: 41.86 kB / 368.3 MB, free: 2.648 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1306, allocations: 4 kB / 368.4 MB, free: 2.645 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.1306, allocations: 4 kB / 368.4 MB, free: 2.641 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.1306, allocations: 0 / 368.4 MB, free: 2.641 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/0.1319, allocations: 1.062 MB / 369.4 MB, free: 1.492 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.132, allocations: 4 kB / 369.4 MB, free: 1.488 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003397/0.1323, allocations: 83.89 kB / 369.5 MB, free: 1.406 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/0.1323, allocations: 11.94 kB / 369.5 MB, free: 1.395 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.1323, allocations: 12 kB / 369.5 MB, free: 1.383 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.1324, allocations: 7.938 kB / 369.5 MB, free: 1.375 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.1324, allocations: 7.984 kB / 369.5 MB, free: 1.367 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007575/0.1331, allocations: 0.7135 MB / 370.3 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.264e-05/0.1332, allocations: 108.8 kB / 370.4 MB, free: 500 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.242e-05/0.1333, allocations: 16.05 kB / 370.4 MB, free: 484 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.1335, allocations: 8 kB / 370.4 MB, free: 476 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.1335, allocations: 31.91 kB / 370.4 MB, free: 444 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.1336, allocations: 16 kB / 370.4 MB, free: 428 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.1337, allocations: 144.8 kB / 370.6 MB, free: 284 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1337, allocations: 0 / 370.6 MB, free: 284 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004272/0.1341, allocations: 72 kB / 370.6 MB, free: 212 kB / 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.1823/0.3164, allocations: 1.266 MB / 371.9 MB, free: 18.89 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005823/0.317, allocations: 293.2 kB / 372.2 MB, free: 18.88 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.3171, allocations: 0 / 372.2 MB, free: 18.88 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002107/0.3173, allocations: 144.1 kB / 372.3 MB, free: 18.88 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008592/0.3181, allocations: 69.05 kB / 372.4 MB, free: 18.88 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003803/0.322, allocations: 3.274 MB / 375.7 MB, free: 16.85 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.3222, allocations: 0.7677 MB / 376.4 MB, free: 16.15 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001544/0.3224, allocations: 40.55 kB / 376.5 MB, free: 16.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.3225, allocations: 91.33 kB / 376.6 MB, free: 16.07 MB / 302.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3225, allocations: 0 / 376.6 MB, free: 16.07 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04948/0.372, allocations: 5.818 MB / 382.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.464/7.836, allocations: 5.766 kB / 382.4 MB, free: 15.43 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) Reference file matches