Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_trunk_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_trunk_cpp_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001611/0.001611, allocations: 202.7 kB / 17.38 MB, free: 4.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 226.6 MB / 244.7 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001138/0.001137, allocations: 98.97 kB / 296.8 MB, free: 6.934 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003559, allocations: 11.98 kB / 356.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2584, allocations: 51.3 MB / 408 MB, free: 27.75 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.001658/0.2601, allocations: 2.047 MB / 410.1 MB, free: 25.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008163/0.2609, allocations: 0.7338 MB / 410.8 MB, free: 24.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.261, allocations: 4.969 kB / 410.8 MB, free: 24.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.2611, allocations: 35.7 kB / 410.9 MB, free: 24.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.2613, allocations: 95.03 kB / 411 MB, free: 24.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.2615, allocations: 83.91 kB / 411 MB, free: 24.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002518/0.2618, allocations: 426.2 kB / 411.5 MB, free: 24.34 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.2619, allocations: 69.36 kB / 411.5 MB, free: 24.26 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.2621, allocations: 161.2 kB / 411.7 MB, free: 24.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.2622, allocations: 183.4 kB / 411.9 MB, free: 23.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.91e-05/0.2623, allocations: 20 kB / 411.9 MB, free: 23.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.62e-05/0.2623, allocations: 20 kB / 411.9 MB, free: 23.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.516e-05/0.2624, allocations: 75.72 kB / 412 MB, free: 23.81 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.2625, allocations: 173.1 kB / 412.1 MB, free: 23.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.2627, allocations: 288.2 kB / 412.4 MB, free: 23.36 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.2627, allocations: 0 / 412.4 MB, free: 23.36 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2627, allocations: 4 kB / 412.4 MB, free: 23.35 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.2627, allocations: 3.938 kB / 412.4 MB, free: 23.35 MB / 298.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.001143/0.2639, allocations: 0.6707 MB / 413.1 MB, free: 22.63 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.2639, allocations: 12.02 kB / 413.1 MB, free: 22.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.118e-05/0.264, allocations: 40.56 kB / 413.2 MB, free: 22.58 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.2642, allocations: 271.5 kB / 413.4 MB, free: 22.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003138/0.2645, allocations: 140.2 kB / 413.6 MB, free: 22.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.082e-05/0.2646, allocations: 24 kB / 413.6 MB, free: 22.1 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007449/0.2653, allocations: 411.2 kB / 414 MB, free: 21.69 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.2654, allocations: 3.906 kB / 414 MB, free: 21.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.236e-05/0.2654, allocations: 12 kB / 414 MB, free: 21.67 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.2654, allocations: 4 kB / 414 MB, free: 21.67 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.2664, allocations: 466.9 kB / 414.5 MB, free: 21.21 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009709/0.2674, allocations: 0.9735 MB / 415.4 MB, free: 20.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008749/0.2683, allocations: 455.5 kB / 415.9 MB, free: 19.71 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005245/0.2688, allocations: 246.4 kB / 416.1 MB, free: 19.46 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.2689, allocations: 11.98 kB / 416.1 MB, free: 19.45 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.2689, allocations: 38.5 kB / 416.2 MB, free: 19.4 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.633e-06/0.2689, allocations: 0 / 416.2 MB, free: 19.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.003829/0.2727, allocations: 2.512 MB / 418.7 MB, free: 16.63 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.2728, allocations: 110.8 kB / 418.8 MB, free: 16.5 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.2729, allocations: 211.1 kB / 419 MB, free: 16.28 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.273, allocations: 33.7 kB / 419 MB, free: 16.24 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.875e-05/0.273, allocations: 136.8 kB / 419.2 MB, free: 16.11 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.367e-05/0.2731, allocations: 137.9 kB / 419.3 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.333e-05/0.2731, allocations: 12 kB / 419.3 MB, free: 15.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.006e-05/0.2732, allocations: 338.8 kB / 419.6 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/0.2734, allocations: 112.8 kB / 419.7 MB, free: 15.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002941/0.2737, allocations: 177.4 kB / 419.9 MB, free: 15.31 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005283/0.2743, allocations: 293.5 kB / 420.2 MB, free: 15.01 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.2743, allocations: 0 / 420.2 MB, free: 15.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000654/0.2749, allocations: 389.2 kB / 420.6 MB, free: 14.63 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.275, allocations: 4 kB / 420.6 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.275, allocations: 4 kB / 420.6 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.807e-06/0.275, allocations: 0 / 420.6 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006247/0.2756, allocations: 167.9 kB / 420.8 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/0.2756, allocations: 11.88 kB / 420.8 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.2758, allocations: 35.97 kB / 420.8 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.2759, allocations: 12 kB / 420.8 MB, free: 14.4 MB / 298.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.0001003/0.276, allocations: 141.8 kB / 421 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.073e-05/0.2761, allocations: 31.66 kB / 421 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.259e-05/0.2761, allocations: 33.52 kB / 421 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.2761, allocations: 7.984 kB / 421 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.2761, allocations: 4 kB / 421 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.2761, allocations: 0 / 421 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00184/0.278, allocations: 1.385 MB / 422.4 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.278, allocations: 3.938 kB / 422.4 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007616/0.2788, allocations: 208 kB / 422.6 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.2788, allocations: 4 kB / 422.6 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.2788, allocations: 16.39 kB / 422.6 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.2788, allocations: 4 kB / 422.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2788, allocations: 4 kB / 422.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001619/0.2805, allocations: 1.062 MB / 423.7 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.487e-05/0.2806, allocations: 124.8 kB / 423.8 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.517e-05/0.2806, allocations: 15.94 kB / 423.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003833/0.281, allocations: 63.94 kB / 423.9 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.838e-05/0.2811, allocations: 43.81 kB / 424 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.2811, allocations: 16 kB / 424 MB, free: 11.08 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.491e-05/0.2812, allocations: 152.6 kB / 424.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2812, allocations: 0 / 424.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003958/0.2816, allocations: 84 kB / 424.2 MB, free: 10.85 MB / 298.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 9.684e-05/0.2817, allocations: 111.2 kB / 424.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000842/0.2826, allocations: 399.5 kB / 424.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2826, allocations: 4 kB / 424.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005871/0.2832, allocations: 278.9 kB / 425 MB, free: 10.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006737/0.2839, allocations: 68.56 kB / 425 MB, free: 10 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004303/0.2882, allocations: 1.77 MB / 426.8 MB, free: 8.176 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001683/0.2884, allocations: 0.7724 MB / 427.6 MB, free: 7.375 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.2885, allocations: 27.44 kB / 427.6 MB, free: 7.352 MB / 298.7 MB Notification: Performance of SimCode: time 4.2e-07/0.2885, allocations: 0 / 427.6 MB, free: 7.352 MB / 298.7 MB Notification: Performance of Templates: time 0.004437/0.2929, allocations: 3.816 MB / 431.4 MB, free: 3.551 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.Backlash --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","../files/Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches