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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001589/0.001589, allocations: 118.6 kB / 18.5 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001498/0.001498, allocations: 214.6 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 230.2 MB / 254.5 MB, free: 15.39 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 63.89 kB / 373.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09329/0.09509, allocations: 53.32 MB / 426.7 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003491/0.09858, allocations: 2.451 MB / 429.1 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004556/0.09904, allocations: 239.1 kB / 429.3 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.09915, allocations: 15.94 kB / 429.4 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.09928, allocations: 39.58 kB / 429.4 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.09942, allocations: 79.27 kB / 429.5 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001595/0.09958, allocations: 59.92 kB / 429.5 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002892/0.09987, allocations: 290.6 kB / 429.8 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.1, allocations: 65.72 kB / 429.9 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.1001, allocations: 119.6 kB / 430 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.1003, allocations: 119.5 kB / 430.1 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.768e-05/0.1003, allocations: 24 kB / 430.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.465e-05/0.1004, allocations: 20 kB / 430.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.713e-05/0.1004, allocations: 51.78 kB / 430.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.1005, allocations: 135.4 kB / 430.3 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003158/0.1009, allocations: 290.7 kB / 430.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1009, allocations: 0 / 430.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1009, allocations: 0 / 430.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1009, allocations: 3.938 kB / 430.6 MB, free: 1.02 MB / 350.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.0007452/0.1016, allocations: 0.5534 MB / 431.2 MB, free: 424 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.1017, allocations: 8.031 kB / 431.2 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.817e-05/0.1017, allocations: 54.73 kB / 431.2 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.127e-05/0.1018, allocations: 32.75 kB / 431.3 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.1021, allocations: 256.6 kB / 431.5 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.1021, allocations: 16.94 kB / 431.5 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.74e-05/0.1022, allocations: 24.45 kB / 431.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003697/0.1025, allocations: 240 kB / 431.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.1025, allocations: 7.938 kB / 431.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.1026, allocations: 8 kB / 431.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.1026, allocations: 8 kB / 431.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000267/0.1028, allocations: 167.7 kB / 432 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009905/0.1038, allocations: 0.7971 MB / 432.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004618/0.1043, allocations: 275.7 kB / 433.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.1045, allocations: 122.5 kB / 433.2 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.1045, allocations: 4 kB / 433.2 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.1046, allocations: 38.56 kB / 433.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 1.443e-06/0.1046, allocations: 4 kB / 433.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.002585/0.1071, allocations: 1.963 MB / 435.2 MB, free: 11.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.277e-05/0.1072, allocations: 106.8 kB / 435.3 MB, free: 11.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.1074, allocations: 190.8 kB / 435.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.1074, allocations: 29.7 kB / 435.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.514e-05/0.1075, allocations: 136.9 kB / 435.6 MB, free: 11.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.1076, allocations: 170.5 kB / 435.8 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.1077, allocations: 82.06 kB / 435.9 MB, free: 11.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1079, allocations: 338.8 kB / 436.2 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.108, allocations: 88.84 kB / 436.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/0.1082, allocations: 154.3 kB / 436.4 MB, free: 10.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003747/0.1086, allocations: 279.3 kB / 436.7 MB, free: 10.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1086, allocations: 3.938 kB / 436.7 MB, free: 10.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004751/0.1091, allocations: 341.2 kB / 437.1 MB, free: 10 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.1091, allocations: 11.94 kB / 437.1 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1091, allocations: 0 / 437.1 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.1091, allocations: 8.094 kB / 437.1 MB, free: 9.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003184/0.1094, allocations: 91.91 kB / 437.2 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.1094, allocations: 7.938 kB / 437.2 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.1095, allocations: 8 kB / 437.2 MB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.1096, allocations: 12 kB / 437.2 MB, free: 9.863 MB / 366.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.0001434/0.1097, allocations: 153.8 kB / 437.3 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.462e-05/0.1098, allocations: 31.75 kB / 437.4 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.56e-05/0.1099, allocations: 33.88 kB / 437.4 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.1099, allocations: 12 kB / 437.4 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1099, allocations: 0 / 437.4 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.1099, allocations: 3.984 kB / 437.4 MB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.1112, allocations: 1.06 MB / 438.5 MB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.1112, allocations: 4 kB / 438.5 MB, free: 8.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000356/0.1116, allocations: 91.83 kB / 438.6 MB, free: 8.387 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.1116, allocations: 4 kB / 438.6 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.1116, allocations: 12 kB / 438.6 MB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.745e-06/0.1116, allocations: 8.219 kB / 438.6 MB, free: 8.363 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.987e-06/0.1116, allocations: 8 kB / 438.6 MB, free: 8.355 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007748/0.1124, allocations: 0.7217 MB / 439.3 MB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.242e-05/0.1125, allocations: 101 kB / 439.4 MB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.1125, allocations: 15.98 kB / 439.4 MB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.1127, allocations: 15.94 kB / 439.5 MB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.443e-05/0.1128, allocations: 35.84 kB / 439.5 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.1128, allocations: 16 kB / 439.5 MB, free: 7.391 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.1129, allocations: 140.9 kB / 439.6 MB, free: 7.254 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1129, allocations: 0 / 439.6 MB, free: 7.254 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004468/0.1134, allocations: 72 kB / 439.7 MB, free: 7.184 MB / 366.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.001105/0.1145, allocations: 1.275 MB / 441 MB, free: 5.848 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004443/0.1149, allocations: 245.9 kB / 441.2 MB, free: 5.609 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.1149, allocations: 4 kB / 441.2 MB, free: 5.605 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002385/0.1152, allocations: 140 kB / 441.4 MB, free: 5.469 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006757/0.1159, allocations: 76.16 kB / 441.4 MB, free: 5.398 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003972/0.1198, allocations: 3.289 MB / 444.7 MB, free: 1.934 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/0.1203, allocations: 0.7685 MB / 445.5 MB, free: 1.137 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001443/0.1204, allocations: 34.95 kB / 445.5 MB, free: 1.102 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.1205, allocations: 95.34 kB / 445.6 MB, free: 1.008 MB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1205, allocations: 4 kB / 445.6 MB, free: 1.004 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2494/0.37, allocations: 5.966 MB / 451.6 MB, free: 24.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.485/8.855, allocations: 7.375 kB / 451.6 MB, free: 24.16 MB / 366.1 MB " [Timeout remaining time 651] (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 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.295636934228241]