Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.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.001802/0.001802, allocations: 112.4 kB / 18.5 MB, free: 4.582 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.002122/0.002122, allocations: 204.9 kB / 21.46 MB, free: 1.629 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.474/1.474, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.PreLoad,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 63.89 kB / 373.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1157, allocations: 53.32 MB / 426.7 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.00521/0.1209, allocations: 3.676 MB / 430.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002087/0.123, allocations: 0.9626 MB / 431.3 MB, free: 360 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002081/0.1232, allocations: 8 kB / 431.3 MB, free: 352 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002562/0.1235, allocations: 83.09 kB / 431.4 MB, free: 268 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003226/0.1238, allocations: 162.6 kB / 431.5 MB, free: 104 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2444/0.3682, allocations: 159.4 kB / 431.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001168/0.3694, allocations: 0.6263 MB / 432.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000308/0.3697, allocations: 144.7 kB / 432.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004068/0.3701, allocations: 252.6 kB / 432.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003242/0.3704, allocations: 287.6 kB / 433 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.343e-05/0.3705, allocations: 50.44 kB / 433 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.3707, allocations: 55.94 kB / 433.1 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.733e-05/0.3707, allocations: 127 kB / 433.2 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002157/0.371, allocations: 285.8 kB / 433.5 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006329/0.3716, allocations: 0.6207 MB / 434.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3716, allocations: 4.156 kB / 434.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3716, allocations: 1.188 kB / 434.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.612e-05/0.3716, allocations: 0 / 434.1 MB, free: 7.297 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001356/0.373, allocations: 0.8494 MB / 435 MB, free: 6.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.373, allocations: 8.875 kB / 435 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.127e-05/0.3731, allocations: 91.88 kB / 435.1 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002079/0.3733, allocations: 69.09 kB / 435.1 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004857/0.3738, allocations: 354.8 kB / 435.5 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.814e-05/0.3738, allocations: 35.62 kB / 435.5 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.634e-05/0.3739, allocations: 56.58 kB / 435.6 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007436/0.3746, allocations: 421 kB / 436 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.3747, allocations: 7.375 kB / 436 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.728e-05/0.3747, allocations: 20.28 kB / 436 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.3747, allocations: 11.92 kB / 436 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007335/0.3755, allocations: 387 kB / 436.4 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002291/0.3778, allocations: 1.386 MB / 437.8 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007432/0.3785, allocations: 475 kB / 438.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000617/0.3791, allocations: 310.8 kB / 438.6 MB, free: 5.621 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.297e-05/0.3792, allocations: 13.16 kB / 438.6 MB, free: 5.621 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.3792, allocations: 39.33 kB / 438.6 MB, free: 5.578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 1.973e-06/0.3792, allocations: 3.969 kB / 438.6 MB, free: 5.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.006736/0.3859, allocations: 3.027 MB / 441.6 MB, free: 4.141 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.386, allocations: 64.08 kB / 441.7 MB, free: 4.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/0.3863, allocations: 275.8 kB / 442 MB, free: 3.922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.276e-05/0.3863, allocations: 41.05 kB / 442 MB, free: 3.879 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.3864, allocations: 211.3 kB / 442.2 MB, free: 3.699 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/0.3867, allocations: 382.8 kB / 442.6 MB, free: 3.402 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001975/0.3869, allocations: 151.5 kB / 442.7 MB, free: 3.324 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.387, allocations: 360.8 kB / 443.1 MB, free: 2.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004141/0.3874, allocations: 241.5 kB / 443.3 MB, free: 2.906 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004783/0.3879, allocations: 314.7 kB / 443.6 MB, free: 2.773 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009241/0.3888, allocations: 0.5777 MB / 444.2 MB, free: 2.496 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3888, allocations: 0 / 444.2 MB, free: 2.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001317/0.3901, allocations: 0.7399 MB / 445 MB, free: 2.184 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.3901, allocations: 6.344 kB / 445 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.3902, allocations: 1.125 kB / 445 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.3902, allocations: 8.625 kB / 445 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007411/0.3909, allocations: 194.9 kB / 445.2 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/0.3909, allocations: 9.938 kB / 445.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003069/0.3912, allocations: 31.05 kB / 445.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.82e-05/0.3913, allocations: 31.59 kB / 445.2 MB, free: 2.148 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (outerContactB.contact,outerContactA.contact,innerContactB.contact,innerContactA.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * 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.0002084/0.3915, allocations: 195.2 kB / 445.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.584e-05/0.3916, allocations: 64.66 kB / 445.5 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001328/0.3917, allocations: 77.16 kB / 445.6 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.3917, allocations: 11.53 kB / 445.6 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-05/0.3917, allocations: 4 kB / 445.6 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.3918, allocations: 6.141 kB / 445.6 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002635/0.3944, allocations: 1.933 MB / 447.5 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/0.3944, allocations: 4.375 kB / 447.5 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007436/0.3951, allocations: 200.6 kB / 447.7 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.181e-05/0.3952, allocations: 14.72 kB / 447.7 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.62e-05/0.3952, allocations: 24.91 kB / 447.8 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.135e-05/0.3952, allocations: 9.969 kB / 447.8 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.3952, allocations: 8.938 kB / 447.8 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/0.3968, allocations: 1.29 MB / 449.1 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.397, allocations: 138.3 kB / 449.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.867e-05/0.3971, allocations: 22.84 kB / 449.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003262/0.3974, allocations: 38.41 kB / 449.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.3975, allocations: 75.66 kB / 449.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.056e-05/0.3976, allocations: 35.28 kB / 449.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002157/0.3978, allocations: 196.2 kB / 449.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3978, allocations: 0 / 449.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005481/0.3983, allocations: 158.1 kB / 449.7 MB, free: 15.78 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 107 * 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.002424/0.4008, allocations: 1.868 MB / 451.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001248/0.402, allocations: 0.6286 MB / 452.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.402, allocations: 128 / 452.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006244/0.4026, allocations: 390.8 kB / 452.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008827/0.4035, allocations: 142.6 kB / 452.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007723/0.4112, allocations: 5.251 MB / 458 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006229/0.4119, allocations: 0.8833 MB / 458.9 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004125/0.4123, allocations: 86.31 kB / 458.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003355/0.4126, allocations: 215 kB / 459.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4126, allocations: 0 / 459.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04755/0.4602, allocations: 12.4 MB / 471.6 MB, free: 2.668 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.015/9.476, allocations: 11.48 kB / 471.6 MB, free: 2.66 MB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_PreLoad_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_PreLoad.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.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: 12.063803514000028]