Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.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: translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash") translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 113.2 kB / 17.73 MB, free: 5.34 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.001315/0.001316, allocations: 188.2 kB / 18.66 MB, free: 4.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.508/1.508, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001225/0.001225, allocations: 51.92 kB / 328.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1044, allocations: 46.62 MB / 375.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.004096/0.1086, allocations: 2.44 MB / 377.6 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.1104, allocations: 0.7802 MB / 378.4 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.1106, allocations: 7.938 kB / 378.4 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001937/0.1108, allocations: 43.58 kB / 378.4 MB, free: 1.285 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002416/0.1111, allocations: 103.1 kB / 378.5 MB, free: 1.184 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000419/0.1115, allocations: 135.8 kB / 378.6 MB, free: 1.051 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006423/0.1122, allocations: 470.2 kB / 379.1 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002673/0.1124, allocations: 88.88 kB / 379.2 MB, free: 0.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002892/0.1127, allocations: 187.5 kB / 379.4 MB, free: 324 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002528/0.113, allocations: 207.2 kB / 379.6 MB, free: 116 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.616e-05/0.1131, allocations: 36 kB / 379.6 MB, free: 80 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.985e-05/0.1131, allocations: 40 kB / 379.6 MB, free: 40 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2371/0.3502, allocations: 79.53 kB / 379.7 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002485/0.3505, allocations: 178.2 kB / 379.9 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000476/0.3509, allocations: 413 kB / 380.3 MB, free: 10.16 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.351, allocations: 0 / 380.3 MB, free: 10.16 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.351, allocations: 0.9844 kB / 380.3 MB, free: 10.16 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.351, allocations: 0 / 380.3 MB, free: 10.16 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001341/0.3523, allocations: 0.6845 MB / 381 MB, free: 9.723 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.282e-05/0.3524, allocations: 9.844 kB / 381 MB, free: 9.723 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.494e-05/0.3524, allocations: 34.44 kB / 381 MB, free: 9.707 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003866/0.3528, allocations: 280.1 kB / 381.3 MB, free: 9.48 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.3529, allocations: 82.14 kB / 381.4 MB, free: 9.418 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.823e-05/0.353, allocations: 29.58 kB / 381.4 MB, free: 9.418 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.3541, allocations: 382.3 kB / 381.8 MB, free: 9.355 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.768e-05/0.3541, allocations: 4.578 kB / 381.8 MB, free: 9.355 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.479e-05/0.3542, allocations: 12 kB / 381.8 MB, free: 9.355 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.3542, allocations: 11.09 kB / 381.8 MB, free: 9.352 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/0.3557, allocations: 385.1 kB / 382.2 MB, free: 9.352 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.3572, allocations: 0.9602 MB / 383.1 MB, free: 8.859 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.3583, allocations: 400.7 kB / 383.5 MB, free: 8.785 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005992/0.3589, allocations: 219.5 kB / 383.8 MB, free: 8.758 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.3589, allocations: 3.312 kB / 383.8 MB, free: 8.758 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.359, allocations: 46.92 kB / 383.8 MB, free: 8.715 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.853e-06/0.359, allocations: 0 / 383.8 MB, free: 8.715 MB / 318.1 MB Notification: Performance of matching and sorting (n=38): time 0.004445/0.3634, allocations: 2.31 MB / 386.1 MB, free: 7.375 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.3635, allocations: 111 kB / 386.2 MB, free: 7.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.3637, allocations: 205.4 kB / 386.4 MB, free: 7.148 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.3637, allocations: 30.98 kB / 386.4 MB, free: 7.117 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.476e-05/0.3638, allocations: 148.9 kB / 386.6 MB, free: 7 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.378e-05/0.3639, allocations: 137.5 kB / 386.7 MB, free: 6.895 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.364, allocations: 78.27 kB / 386.8 MB, free: 6.848 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.288e-05/0.3641, allocations: 337.1 kB / 387.1 MB, free: 6.523 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000314/0.3644, allocations: 111.2 kB / 387.2 MB, free: 6.488 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/0.3648, allocations: 164.1 kB / 387.4 MB, free: 6.402 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005928/0.3654, allocations: 291.1 kB / 387.7 MB, free: 6.262 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.3654, allocations: 4.875 kB / 387.7 MB, free: 6.258 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007553/0.3661, allocations: 374 kB / 388.1 MB, free: 6.113 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.3662, allocations: 5.688 kB / 388.1 MB, free: 6.113 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3662, allocations: 5.781 kB / 388.1 MB, free: 6.109 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.3662, allocations: 4.391 kB / 388.1 MB, free: 6.109 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006892/0.3669, allocations: 146.2 kB / 388.2 MB, free: 6.105 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.3669, allocations: 3.5 kB / 388.2 MB, free: 6.105 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.3671, allocations: 30.44 kB / 388.2 MB, free: 6.094 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.3672, allocations: 13.5 kB / 388.3 MB, free: 6.09 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (47): * Single equations (assignments): 47 * 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.0001158/0.3673, allocations: 146.5 kB / 388.4 MB, free: 5.957 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.231e-05/0.3674, allocations: 25.81 kB / 388.4 MB, free: 5.945 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.412e-05/0.3675, allocations: 37.47 kB / 388.5 MB, free: 5.91 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.3675, allocations: 11.62 kB / 388.5 MB, free: 5.906 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.3675, allocations: 1.031 kB / 388.5 MB, free: 5.906 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.3675, allocations: 3.062 kB / 388.5 MB, free: 5.906 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/0.3697, allocations: 1.339 MB / 389.8 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.3698, allocations: 2.156 kB / 389.8 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008698/0.3706, allocations: 171.1 kB / 390 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.909e-06/0.3706, allocations: 5.328 kB / 390 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.432e-05/0.3707, allocations: 10.94 kB / 390 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.3707, allocations: 7.156 kB / 390 MB, free: 5.043 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.3707, allocations: 7.25 kB / 390 MB, free: 5.039 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00202/0.3727, allocations: 0.9471 MB / 391 MB, free: 4.523 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.3729, allocations: 125.7 kB / 391.1 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.398e-05/0.3729, allocations: 14.42 kB / 391.1 MB, free: 4.398 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004166/0.3734, allocations: 47.38 kB / 391.2 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.3735, allocations: 45.78 kB / 391.2 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.69e-05/0.3735, allocations: 14.03 kB / 391.2 MB, free: 4.375 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001273/0.3737, allocations: 149.2 kB / 391.4 MB, free: 4.281 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3737, allocations: 0 / 391.4 MB, free: 4.281 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004444/0.3741, allocations: 83.47 kB / 391.4 MB, free: 4.27 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (elastoBacklash2.phi_rel,elastoBacklash2.w_rel,elastoBacklash.phi_rel,elastoBacklash.w_rel,springDamper.phi_rel,springDamper.w_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 (38): * Single equations (assignments): 38 * 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.000121/0.3742, allocations: 111.3 kB / 391.5 MB, free: 4.172 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009627/0.3752, allocations: 366.1 kB / 391.9 MB, free: 4.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3752, allocations: 1.188 kB / 391.9 MB, free: 4.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006721/0.3759, allocations: 260.2 kB / 392.2 MB, free: 4.027 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000695/0.3766, allocations: 71.61 kB / 392.2 MB, free: 3.996 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004884/0.3815, allocations: 1.432 MB / 393.7 MB, free: 3.352 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.3817, allocations: 0.7676 MB / 394.4 MB, free: 2.645 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001889/0.3819, allocations: 42.28 kB / 394.5 MB, free: 2.633 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.3821, allocations: 31.83 kB / 394.5 MB, free: 2.629 MB / 318.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3821, allocations: 1.188 kB / 394.5 MB, free: 2.629 MB / 318.1 MB Notification: Performance of Templates: time 0.008328/0.3904, allocations: 4.344 MB / 398.8 MB, free: 1.676 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches