Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.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: translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap") translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001374/0.001374, allocations: 109.7 kB / 18.45 MB, free: 4.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001715/0.001715, allocations: 212.9 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 59.89 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3831, allocations: 50.54 MB / 409.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.00448/0.3876, allocations: 2.673 MB / 412.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.3894, allocations: 0.7287 MB / 413.3 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003156/0.3897, allocations: 4 kB / 413.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.39, allocations: 55.44 kB / 413.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003559/0.3904, allocations: 103.1 kB / 413.5 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003936/0.3908, allocations: 87.83 kB / 413.6 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000575/0.3914, allocations: 394.3 kB / 414 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002763/0.3917, allocations: 119.1 kB / 414.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002658/0.3919, allocations: 143.5 kB / 414.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003139/0.3923, allocations: 175.2 kB / 414.4 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.416e-05/0.3923, allocations: 28 kB / 414.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.72e-05/0.3924, allocations: 32 kB / 414.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.171e-05/0.3925, allocations: 71.73 kB / 414.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.3927, allocations: 171.2 kB / 414.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000434/0.3931, allocations: 379.8 kB / 415 MB, free: 12.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3932, allocations: 0 / 415 MB, free: 12.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3932, allocations: 4 kB / 415 MB, free: 12.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.3932, allocations: 0 / 415 MB, free: 12.43 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001214/0.3944, allocations: 0.6275 MB / 415.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.3945, allocations: 8.031 kB / 415.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.819e-05/0.3946, allocations: 40.47 kB / 415.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000477/0.395, allocations: 268.7 kB / 416 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.3951, allocations: 21.03 kB / 416 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.139e-05/0.3952, allocations: 39.84 kB / 416 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004912/0.3957, allocations: 254.1 kB / 416.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.3957, allocations: 7.969 kB / 416.3 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.962e-05/0.3957, allocations: 12 kB / 416.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.3957, allocations: 12 kB / 416.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004225/0.3962, allocations: 230.5 kB / 416.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/0.3976, allocations: 0.7881 MB / 417.3 MB, free: 9.992 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005204/0.3982, allocations: 351.1 kB / 417.7 MB, free: 9.645 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/0.3984, allocations: 181.5 kB / 417.9 MB, free: 9.465 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.98e-05/0.3985, allocations: 8.375 kB / 417.9 MB, free: 9.457 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.3985, allocations: 34.94 kB / 417.9 MB, free: 9.414 MB / 334.1 MB Notification: Performance of pre-optimization done (n=45): time 2.113e-06/0.3985, allocations: 3.938 kB / 417.9 MB, free: 9.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.003889/0.4024, allocations: 1.896 MB / 419.8 MB, free: 7.422 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/0.4025, allocations: 63.97 kB / 419.9 MB, free: 7.348 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.4028, allocations: 212.4 kB / 420.1 MB, free: 7.133 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.4028, allocations: 33.7 kB / 420.1 MB, free: 7.094 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.195e-05/0.4029, allocations: 153 kB / 420.3 MB, free: 6.941 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/0.4031, allocations: 220.7 kB / 420.5 MB, free: 6.723 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.4032, allocations: 102.2 kB / 420.6 MB, free: 6.617 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.4034, allocations: 338.8 kB / 420.9 MB, free: 6.277 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000258/0.4036, allocations: 149.2 kB / 421 MB, free: 6.133 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.4039, allocations: 149.8 kB / 421.2 MB, free: 5.984 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005339/0.4044, allocations: 353.6 kB / 421.5 MB, free: 5.641 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4044, allocations: 0 / 421.5 MB, free: 5.641 MB / 334.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.000698/0.4051, allocations: 464.9 kB / 422 MB, free: 5.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.4052, allocations: 7.984 kB / 422 MB, free: 5.172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.4052, allocations: 0 / 422 MB, free: 5.172 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.679e-05/0.4052, allocations: 7.938 kB / 422 MB, free: 5.164 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004704/0.4057, allocations: 111.9 kB / 422.1 MB, free: 5.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.4057, allocations: 0 / 422.1 MB, free: 5.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/0.4059, allocations: 19.98 kB / 422.1 MB, free: 5.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/0.406, allocations: 16 kB / 422.1 MB, free: 5.02 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (elastoGap2.contact,elastoGap1.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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.0001844/0.4062, allocations: 169.7 kB / 422.3 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7e-05/0.4062, allocations: 35.53 kB / 422.4 MB, free: 4.809 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.4064, allocations: 51.33 kB / 422.4 MB, free: 4.754 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.4064, allocations: 11.94 kB / 422.4 MB, free: 4.742 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.4064, allocations: 0 / 422.4 MB, free: 4.742 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.4064, allocations: 3.984 kB / 422.4 MB, free: 4.738 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002006/0.4084, allocations: 1.293 MB / 423.7 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/0.4084, allocations: 4 kB / 423.7 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004744/0.4089, allocations: 115.8 kB / 423.8 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.38e-05/0.4089, allocations: 8.562 kB / 423.8 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-05/0.409, allocations: 19.98 kB / 423.9 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.158e-05/0.409, allocations: 15.94 kB / 423.9 MB, free: 3.176 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.409, allocations: 4 kB / 423.9 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.4102, allocations: 0.8351 MB / 424.7 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.4104, allocations: 112.6 kB / 424.8 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.804e-05/0.4104, allocations: 23.97 kB / 424.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.4107, allocations: 16 kB / 424.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.4108, allocations: 60.19 kB / 424.9 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/0.4108, allocations: 24 kB / 424.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001476/0.411, allocations: 152.4 kB / 425.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.411, allocations: 0 / 425.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004312/0.4114, allocations: 96 kB / 425.2 MB, free: 1.777 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 4 (springDamper2.s_rel,springDamper2.v_rel,elastoGap2.s_rel,elastoGap2.v_rel) * Number of discrete variables: 2 (elastoGap1.contact,elastoGap2.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 65 * 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.0001574/0.4116, allocations: 127 kB / 425.3 MB, free: 1.645 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007277/0.4123, allocations: 415.1 kB / 425.7 MB, free: 1.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4124, allocations: 0 / 425.7 MB, free: 1.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003659/0.4127, allocations: 243.2 kB / 425.9 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007047/0.4134, allocations: 98.53 kB / 426 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.4153, allocations: 1.044 MB / 427.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.4157, allocations: 0.7973 MB / 427.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/0.4158, allocations: 43.44 kB / 427.9 MB, free: 14.9 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4159, allocations: 4 kB / 427.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of Templates: time 0.008033/0.4239, allocations: 4.792 MB / 432.7 MB, free: 10.12 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches