Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002457/0.002457, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.648/3.648, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001751/0.001751, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000607/0.0006071, allocations: 12 kB / 327 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2497, allocations: 47.58 MB / 374.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.004928/0.2547, allocations: 1.918 MB / 376.5 MB, free: 13.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002983/0.2578, allocations: 0.7654 MB / 377.2 MB, free: 12.75 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003353/0.2582, allocations: 4 kB / 377.2 MB, free: 12.75 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.2583, allocations: 19.78 kB / 377.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006516/0.259, allocations: 119.7 kB / 377.4 MB, free: 12.61 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008898/0.2599, allocations: 103.8 kB / 377.5 MB, free: 12.51 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001094/0.2611, allocations: 295.4 kB / 377.7 MB, free: 12.22 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003689/0.2615, allocations: 65.08 kB / 377.8 MB, free: 12.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006143/0.2621, allocations: 159.5 kB / 378 MB, free: 12 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005265/0.2627, allocations: 191.4 kB / 378.2 MB, free: 11.81 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.2628, allocations: 20 kB / 378.2 MB, free: 11.79 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.263, allocations: 23.94 kB / 378.2 MB, free: 11.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.2631, allocations: 59.8 kB / 378.3 MB, free: 11.71 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001692/0.2633, allocations: 81.58 kB / 378.3 MB, free: 11.62 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006769/0.264, allocations: 291.4 kB / 378.6 MB, free: 11.34 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.2641, allocations: 0 / 378.6 MB, free: 11.34 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.428e-06/0.2641, allocations: 0 / 378.6 MB, free: 11.34 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.2641, allocations: 0 / 378.6 MB, free: 11.34 MB / 282.7 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.003949/0.2681, allocations: 0.6705 MB / 379.3 MB, free: 10.62 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.98e-05/0.2682, allocations: 12.03 kB / 379.3 MB, free: 10.61 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002415/0.2685, allocations: 35.56 kB / 379.3 MB, free: 10.57 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007969/0.2693, allocations: 274.4 kB / 379.6 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009682/0.2703, allocations: 131.9 kB / 379.7 MB, free: 10.12 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000188/0.2705, allocations: 31.91 kB / 379.8 MB, free: 10.09 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002694/0.2732, allocations: 404 kB / 380.2 MB, free: 9.684 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.08e-05/0.2733, allocations: 7.938 kB / 380.2 MB, free: 9.676 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.231e-05/0.2734, allocations: 12 kB / 380.2 MB, free: 9.664 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.2735, allocations: 4 kB / 380.2 MB, free: 9.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00377/0.2773, allocations: 456.8 kB / 380.6 MB, free: 9.215 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003471/0.2808, allocations: 0.9858 MB / 381.6 MB, free: 8.168 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003132/0.284, allocations: 455.5 kB / 382.1 MB, free: 7.695 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.851e-05/0.2841, allocations: 4 kB / 382.1 MB, free: 7.691 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.629e-05/0.2842, allocations: 38.5 kB / 382.1 MB, free: 7.645 MB / 282.7 MB Notification: Performance of pre-optimization done (n=32): time 6.172e-06/0.2843, allocations: 0 / 382.1 MB, free: 7.645 MB / 282.7 MB Notification: Performance of matching and sorting (n=38): time 0.01366/0.2979, allocations: 2.513 MB / 384.6 MB, free: 4.867 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/0.2981, allocations: 115 kB / 384.7 MB, free: 4.73 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004836/0.2986, allocations: 203.2 kB / 384.9 MB, free: 4.52 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001356/0.2988, allocations: 37.64 kB / 385 MB, free: 4.477 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000203/0.299, allocations: 207 kB / 385.2 MB, free: 4.273 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/0.2993, allocations: 134 kB / 385.3 MB, free: 4.141 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.017e-05/0.2994, allocations: 11.94 kB / 385.3 MB, free: 4.129 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.2996, allocations: 322.8 kB / 385.6 MB, free: 3.805 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008643/0.3005, allocations: 112.8 kB / 385.7 MB, free: 3.695 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008743/0.3014, allocations: 173.4 kB / 385.9 MB, free: 3.504 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009094/0.3023, allocations: 130.2 kB / 386 MB, free: 3.379 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.3024, allocations: 4 kB / 386 MB, free: 3.375 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002115/0.3045, allocations: 361.4 kB / 386.4 MB, free: 3.016 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.334e-05/0.3046, allocations: 8 kB / 386.4 MB, free: 3.008 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.3046, allocations: 0 / 386.4 MB, free: 3.008 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.972e-05/0.3047, allocations: 12.05 kB / 386.4 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002088/0.3068, allocations: 171.8 kB / 386.6 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.627e-05/0.3069, allocations: 4 kB / 386.6 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007003/0.3076, allocations: 31.97 kB / 386.6 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.546e-05/0.3077, allocations: 12 kB / 386.6 MB, free: 2.781 MB / 282.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004075/0.3081, allocations: 141.8 kB / 386.8 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000228/0.3084, allocations: 23.72 kB / 386.8 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001523/0.3086, allocations: 37.52 kB / 386.8 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.976e-05/0.3086, allocations: 7.953 kB / 386.8 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.3086, allocations: 4 kB / 386.8 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.3086, allocations: 0 / 386.8 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006784/0.3154, allocations: 1.397 MB / 388.2 MB, free: 1.066 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.32e-05/0.3155, allocations: 4 kB / 388.2 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002753/0.3183, allocations: 208 kB / 388.4 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.693e-05/0.3184, allocations: 4 kB / 388.4 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001366/0.3186, allocations: 15.98 kB / 388.5 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.906e-05/0.3186, allocations: 4 kB / 388.5 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.228e-05/0.3186, allocations: 7.953 kB / 388.5 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4215/0.7402, allocations: 1.137 MB / 389.6 MB, free: 20.49 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004153/0.7407, allocations: 131.7 kB / 389.7 MB, free: 20.39 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.7408, allocations: 14.81 kB / 389.7 MB, free: 20.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001625/0.7425, allocations: 61.84 kB / 389.8 MB, free: 20.39 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003016/0.7428, allocations: 49.67 kB / 389.9 MB, free: 20.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.223e-05/0.7429, allocations: 13.94 kB / 389.9 MB, free: 20.39 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003338/0.7433, allocations: 145.8 kB / 390 MB, free: 20.32 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.7433, allocations: 0 / 390 MB, free: 20.32 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001244/0.7446, allocations: 82.12 kB / 390.1 MB, free: 20.32 MB / 282.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002636/0.7449, allocations: 110.3 kB / 390.2 MB, free: 20.23 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00317/0.7481, allocations: 402.6 kB / 390.6 MB, free: 20.23 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/0.7482, allocations: 2.875 kB / 390.6 MB, free: 20.23 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002101/0.7503, allocations: 278.6 kB / 390.9 MB, free: 20.23 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.7517, allocations: 56.8 kB / 390.9 MB, free: 20.23 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01495/0.7667, allocations: 1.77 MB / 392.7 MB, free: 19.51 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004949/0.7673, allocations: 0.7753 MB / 393.5 MB, free: 18.81 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004285/0.7677, allocations: 34.17 kB / 393.5 MB, free: 18.8 MB / 282.7 MB Notification: Performance of SimCode: time 2.295e-06/0.7678, allocations: 0 / 393.5 MB, free: 18.8 MB / 282.7 MB Notification: Performance of Templates: time 0.01864/0.7864, allocations: 3.731 MB / 397.2 MB, free: 18.51 MB / 282.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches