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.001748/0.001748, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 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.002265/0.002265, allocations: 204.7 kB / 25.23 MB, free: 3.551 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.529/1.529, allocations: 207.6 MB / 236 MB, free: 9.988 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.002003/0.002003, allocations: 54.58 kB / 348.4 MB, free: 9.531 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3076, allocations: 49.16 MB / 397.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003567/0.3112, allocations: 2.457 MB / 400.1 MB, free: 7.777 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.3125, allocations: 0.7877 MB / 400.8 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.3127, allocations: 12.22 kB / 400.9 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.3128, allocations: 42.11 kB / 400.9 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001959/0.313, allocations: 108.4 kB / 401 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.3134, allocations: 123.1 kB / 401.1 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004605/0.3138, allocations: 471.2 kB / 401.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001851/0.314, allocations: 70.7 kB / 401.7 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002524/0.3143, allocations: 188.7 kB / 401.8 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000283/0.3145, allocations: 204.3 kB / 402 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.299e-05/0.3146, allocations: 36.78 kB / 402.1 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.042e-05/0.3147, allocations: 38.06 kB / 402.1 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.73e-05/0.3148, allocations: 90.92 kB / 402.2 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001601/0.3149, allocations: 178.6 kB / 402.4 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004881/0.3154, allocations: 415.9 kB / 402.8 MB, free: 6.254 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.3154, allocations: 2.234 kB / 402.8 MB, free: 6.254 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3154, allocations: 0 / 402.8 MB, free: 6.254 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.3154, allocations: 0 / 402.8 MB, free: 6.254 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.001508/0.3169, allocations: 0.6156 MB / 403.4 MB, free: 5.844 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.317, allocations: 13.3 kB / 403.4 MB, free: 5.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.465e-05/0.3171, allocations: 35.05 kB / 403.4 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004163/0.3175, allocations: 215.5 kB / 403.7 MB, free: 5.637 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.3176, allocations: 145.7 kB / 403.8 MB, free: 5.492 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.399e-05/0.3177, allocations: 28.48 kB / 403.8 MB, free: 5.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009021/0.3186, allocations: 377.9 kB / 404.2 MB, free: 5.328 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.3186, allocations: 3.391 kB / 404.2 MB, free: 5.328 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.307e-05/0.3186, allocations: 10.41 kB / 404.2 MB, free: 5.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.3187, allocations: 6.875 kB / 404.2 MB, free: 5.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.3199, allocations: 398.7 kB / 404.6 MB, free: 5.227 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.3213, allocations: 0.9256 MB / 405.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.3223, allocations: 387.6 kB / 405.9 MB, free: 4.414 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005979/0.3229, allocations: 210.3 kB / 406.1 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.3229, allocations: 3.938 kB / 406.1 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.323, allocations: 38.53 kB / 406.2 MB, free: 4.297 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.623e-06/0.323, allocations: 3.938 kB / 406.2 MB, free: 4.293 MB / 318.1 MB Notification: Performance of matching and sorting (n=38): time 0.004372/0.3273, allocations: 1.869 MB / 408 MB, free: 3.195 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.3274, allocations: 115.7 kB / 408.1 MB, free: 3.062 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.3276, allocations: 201.2 kB / 408.3 MB, free: 2.934 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.3276, allocations: 32.45 kB / 408.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.238e-05/0.3277, allocations: 151.8 kB / 408.5 MB, free: 2.766 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.663e-05/0.3278, allocations: 146.2 kB / 408.7 MB, free: 2.648 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.3279, allocations: 72 kB / 408.7 MB, free: 2.609 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.792e-05/0.328, allocations: 336.3 kB / 409.1 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003044/0.3283, allocations: 114.5 kB / 409.2 MB, free: 2.246 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003077/0.3286, allocations: 168 kB / 409.3 MB, free: 2.156 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005724/0.3292, allocations: 302.9 kB / 409.6 MB, free: 1.996 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3292, allocations: 1.375 kB / 409.6 MB, free: 1.996 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007774/0.3299, allocations: 369 kB / 410 MB, free: 1.848 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.33, allocations: 10.42 kB / 410 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.33, allocations: 1.406 kB / 410 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/0.33, allocations: 3.969 kB / 410 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007036/0.3307, allocations: 146.5 kB / 410.1 MB, free: 1.832 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.3307, allocations: 5.234 kB / 410.2 MB, free: 1.832 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.331, allocations: 26.34 kB / 410.2 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.331, allocations: 9.094 kB / 410.2 MB, free: 1.824 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.0001239/0.3311, allocations: 151.2 kB / 410.3 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.378e-05/0.3312, allocations: 30.47 kB / 410.4 MB, free: 1.664 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.595e-05/0.3313, allocations: 33.5 kB / 410.4 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.3313, allocations: 4.219 kB / 410.4 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.3313, allocations: 1.531 kB / 410.4 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.3313, allocations: 3.125 kB / 410.4 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/0.3334, allocations: 1.32 MB / 411.7 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.3334, allocations: 2.656 kB / 411.7 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00081/0.3342, allocations: 162.6 kB / 411.9 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/0.3342, allocations: 4.125 kB / 411.9 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.122e-05/0.3342, allocations: 20.77 kB / 411.9 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.623e-06/0.3342, allocations: 8.188 kB / 411.9 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3342, allocations: 5.781 kB / 411.9 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/0.336, allocations: 0.9453 MB / 412.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001547/0.3362, allocations: 56.55 kB / 412.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.099e-05/0.3362, allocations: 15.95 kB / 412.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004126/0.3367, allocations: 50.05 kB / 413 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.3368, allocations: 37.56 kB / 413 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.797e-05/0.3368, allocations: 13.52 kB / 413 MB, free: 15.83 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001438/0.3369, allocations: 148.8 kB / 413.2 MB, free: 15.72 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3369, allocations: 0 / 413.2 MB, free: 15.72 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000495/0.3374, allocations: 86.69 kB / 413.3 MB, free: 15.71 MB / 334.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.0002075/0.3376, allocations: 110.8 kB / 413.4 MB, free: 15.6 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.3387, allocations: 353.3 kB / 413.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3387, allocations: 3.938 kB / 413.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007355/0.3394, allocations: 244.3 kB / 414 MB, free: 15.35 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007077/0.3401, allocations: 81.25 kB / 414 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005056/0.3452, allocations: 1.465 MB / 415.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000467/0.3456, allocations: 0.7662 MB / 416.3 MB, free: 13.61 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.3458, allocations: 43.52 kB / 416.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3458, allocations: 0 / 416.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of Templates: time 0.007229/0.353, allocations: 3.909 MB / 420.2 MB, free: 11.52 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.569087975891307]