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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.009403/0.009403, allocations: 94.22 kB / 21.93 MB, free: 5.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 213.5 kB / 25.22 MB, free: 3.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.528/1.528, allocations: 207.7 MB / 236.1 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 60.23 kB / 348.4 MB, free: 9.395 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3173, allocations: 49.15 MB / 397.6 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003469/0.3208, allocations: 2.278 MB / 399.9 MB, free: 7.871 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.3222, allocations: 0.7559 MB / 400.6 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.3223, allocations: 9.156 kB / 400.6 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.3225, allocations: 42.72 kB / 400.7 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.3227, allocations: 111.6 kB / 400.8 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.323, allocations: 128 kB / 400.9 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004433/0.3235, allocations: 462.1 kB / 401.4 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.3236, allocations: 69.55 kB / 401.4 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002415/0.3239, allocations: 193.4 kB / 401.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/0.3241, allocations: 185.1 kB / 401.8 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.686e-05/0.3242, allocations: 37.75 kB / 401.8 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.9e-05/0.3243, allocations: 37.06 kB / 401.9 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.597e-05/0.3243, allocations: 90.41 kB / 402 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.3245, allocations: 152 kB / 402.1 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004939/0.325, allocations: 411.2 kB / 402.5 MB, free: 6.441 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.325, allocations: 1.219 kB / 402.5 MB, free: 6.441 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.325, allocations: 0 / 402.5 MB, free: 6.441 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.325, allocations: 0 / 402.5 MB, free: 6.441 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.001503/0.3265, allocations: 0.6207 MB / 403.1 MB, free: 6.027 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.3266, allocations: 12.95 kB / 403.1 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.458e-05/0.3267, allocations: 34.75 kB / 403.2 MB, free: 6.008 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003946/0.3271, allocations: 216.1 kB / 403.4 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001193/0.3272, allocations: 141.5 kB / 403.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.327e-05/0.3272, allocations: 38.3 kB / 403.6 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008967/0.3281, allocations: 373.7 kB / 403.9 MB, free: 5.512 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.3282, allocations: 2.969 kB / 403.9 MB, free: 5.512 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.456e-05/0.3282, allocations: 10.41 kB / 403.9 MB, free: 5.504 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.3282, allocations: 5.844 kB / 403.9 MB, free: 5.504 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.3294, allocations: 400.6 kB / 404.3 MB, free: 5.406 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.3306, allocations: 0.7963 MB / 405.1 MB, free: 4.82 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.3317, allocations: 394.6 kB / 405.5 MB, free: 4.656 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005955/0.3323, allocations: 203.6 kB / 405.7 MB, free: 4.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.3323, allocations: 8.422 kB / 405.7 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.3323, allocations: 38.7 kB / 405.8 MB, free: 4.543 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.954e-06/0.3323, allocations: 0 / 405.8 MB, free: 4.543 MB / 318.1 MB Notification: Performance of matching and sorting (n=38): time 0.004407/0.3367, allocations: 1.878 MB / 407.6 MB, free: 3.438 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.3368, allocations: 110 kB / 407.7 MB, free: 3.312 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.337, allocations: 184 kB / 407.9 MB, free: 3.184 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.337, allocations: 35.2 kB / 408 MB, free: 3.145 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.309e-05/0.3371, allocations: 156.5 kB / 408.1 MB, free: 3.008 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.499e-05/0.3372, allocations: 143.6 kB / 408.3 MB, free: 2.895 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.3373, allocations: 74.78 kB / 408.3 MB, free: 2.852 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.496e-05/0.3374, allocations: 334.2 kB / 408.7 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003156/0.3377, allocations: 113.8 kB / 408.8 MB, free: 2.492 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003393/0.338, allocations: 164.1 kB / 408.9 MB, free: 2.406 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006231/0.3387, allocations: 296.5 kB / 409.2 MB, free: 2.254 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3387, allocations: 4.594 kB / 409.2 MB, free: 2.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000826/0.3395, allocations: 361.3 kB / 409.6 MB, free: 2.109 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.3395, allocations: 9.688 kB / 409.6 MB, free: 2.105 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.3395, allocations: 6.359 kB / 409.6 MB, free: 2.102 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.3395, allocations: 2.594 kB / 409.6 MB, free: 2.102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007023/0.3402, allocations: 148.2 kB / 409.7 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.3402, allocations: 7.656 kB / 409.7 MB, free: 2.086 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.3405, allocations: 26.94 kB / 409.8 MB, free: 2.078 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.3405, allocations: 9.094 kB / 409.8 MB, free: 2.078 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.0001256/0.3406, allocations: 147.1 kB / 409.9 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.031e-05/0.3407, allocations: 34.03 kB / 410 MB, free: 1.918 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.653e-05/0.3408, allocations: 28.22 kB / 410 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.3408, allocations: 4.922 kB / 410 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.3408, allocations: 1.312 kB / 410 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.3408, allocations: 3.094 kB / 410 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/0.3429, allocations: 1.204 MB / 411.2 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.3429, allocations: 6.438 kB / 411.2 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008422/0.3437, allocations: 174.6 kB / 411.4 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.3437, allocations: 7.281 kB / 411.4 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.3438, allocations: 9.406 kB / 411.4 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.3438, allocations: 12.36 kB / 411.4 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.3438, allocations: 6.094 kB / 411.4 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00187/0.3456, allocations: 0.9484 MB / 412.4 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.3458, allocations: 60.61 kB / 412.4 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.679e-05/0.3458, allocations: 7.469 kB / 412.4 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003993/0.3462, allocations: 42.77 kB / 412.5 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.799e-05/0.3463, allocations: 49.2 kB / 412.5 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.3463, allocations: 14.31 kB / 412.5 MB, free: 252 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001014/0.3464, allocations: 137.2 kB / 412.7 MB, free: 144 kB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3464, allocations: 1.5 kB / 412.7 MB, free: 144 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004733/0.3469, allocations: 82.59 kB / 412.7 MB, free: 132 kB / 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.0001062/0.347, allocations: 106.2 kB / 412.8 MB, free: 28 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.348, allocations: 353.5 kB / 413.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.348, allocations: 1.125 kB / 413.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006803/0.3487, allocations: 250.5 kB / 413.4 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006906/0.3494, allocations: 74.28 kB / 413.5 MB, free: 15.72 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005094/0.3545, allocations: 1.469 MB / 415 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.3547, allocations: 161.6 kB / 415.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.3548, allocations: 35.48 kB / 415.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3548, allocations: 1.219 kB / 415.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of Templates: time 0.007709/0.3625, allocations: 3.975 MB / 419.1 MB, free: 12.53 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.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: 7.592149788979441]