Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001266/0.001266, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001475/0.001475, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 64.52 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09938/0.1007, allocations: 50.52 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003482/0.1042, allocations: 2.453 MB / 361.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.1056, allocations: 0.7756 MB / 362.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.1057, allocations: 4 kB / 362.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.1058, allocations: 43.52 kB / 362.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001868/0.106, allocations: 107.1 kB / 362.3 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003215/0.1063, allocations: 123.8 kB / 362.4 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004149/0.1068, allocations: 474.2 kB / 362.9 MB, free: 9.352 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.107, allocations: 94.44 kB / 362.9 MB, free: 9.258 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002268/0.1072, allocations: 183.4 kB / 363.1 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002565/0.1075, allocations: 203.3 kB / 363.3 MB, free: 8.879 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.111e-05/0.1076, allocations: 36 kB / 363.4 MB, free: 8.844 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.921e-05/0.1076, allocations: 40 kB / 363.4 MB, free: 8.805 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.945e-05/0.1077, allocations: 87.72 kB / 363.5 MB, free: 8.719 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001839/0.1079, allocations: 175.2 kB / 363.7 MB, free: 8.547 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004401/0.1084, allocations: 410.7 kB / 364.1 MB, free: 8.145 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.1084, allocations: 0 / 364.1 MB, free: 8.145 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1084, allocations: 3.938 kB / 364.1 MB, free: 8.141 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.1084, allocations: 0 / 364.1 MB, free: 8.141 MB / 302.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.001572/0.11, allocations: 0.6784 MB / 364.7 MB, free: 7.414 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.11, allocations: 8.031 kB / 364.7 MB, free: 7.406 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.661e-05/0.1101, allocations: 44.53 kB / 364.8 MB, free: 7.363 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004435/0.1106, allocations: 276.5 kB / 365.1 MB, free: 7.055 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.1107, allocations: 88.27 kB / 365.1 MB, free: 6.957 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.23e-05/0.1108, allocations: 27.91 kB / 365.2 MB, free: 6.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008177/0.1116, allocations: 379.2 kB / 365.5 MB, free: 6.543 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.1116, allocations: 8 kB / 365.6 MB, free: 6.535 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.214e-05/0.1117, allocations: 8 kB / 365.6 MB, free: 6.527 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.1117, allocations: 11.94 kB / 365.6 MB, free: 6.516 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.1127, allocations: 399.1 kB / 366 MB, free: 6.129 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.1139, allocations: 0.9502 MB / 366.9 MB, free: 5.121 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009632/0.1149, allocations: 415.4 kB / 367.3 MB, free: 4.688 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005403/0.1155, allocations: 214.4 kB / 367.5 MB, free: 4.469 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.1155, allocations: 8 kB / 367.5 MB, free: 4.461 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.1155, allocations: 38.5 kB / 367.6 MB, free: 4.414 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.603e-06/0.1155, allocations: 0 / 367.6 MB, free: 4.414 MB / 302.1 MB Notification: Performance of matching and sorting (n=38): time 0.004279/0.1198, allocations: 2.312 MB / 369.9 MB, free: 1.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/0.1199, allocations: 114.7 kB / 370 MB, free: 1.703 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.1201, allocations: 211.2 kB / 370.2 MB, free: 1.48 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.1202, allocations: 29.7 kB / 370.2 MB, free: 1.445 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.813e-05/0.1203, allocations: 148.6 kB / 370.4 MB, free: 1.297 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.1204, allocations: 141.9 kB / 370.5 MB, free: 1.156 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.1205, allocations: 70.06 kB / 370.6 MB, free: 1.082 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.1206, allocations: 342.8 kB / 370.9 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002925/0.1209, allocations: 109.8 kB / 371 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003223/0.1212, allocations: 169.5 kB / 371.2 MB, free: 460 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006054/0.1219, allocations: 287.1 kB / 371.5 MB, free: 160 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1219, allocations: 4 kB / 371.5 MB, free: 156 kB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.1982/0.32, allocations: 362.7 kB / 371.8 MB, free: 20.13 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.3201, allocations: 6.156 kB / 371.8 MB, free: 20.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.3201, allocations: 2.938 kB / 371.8 MB, free: 20.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.3201, allocations: 6.812 kB / 371.8 MB, free: 20.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007924/0.3209, allocations: 148.4 kB / 372 MB, free: 20.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.321, allocations: 3.188 kB / 372 MB, free: 20.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002713/0.3212, allocations: 29.22 kB / 372 MB, free: 20.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.3213, allocations: 13.81 kB / 372 MB, free: 20.13 MB / 302.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.0001657/0.3215, allocations: 154.2 kB / 372.2 MB, free: 20.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.3216, allocations: 26.47 kB / 372.2 MB, free: 20.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.92e-05/0.3216, allocations: 34.47 kB / 372.2 MB, free: 20.01 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.3216, allocations: 5.078 kB / 372.3 MB, free: 20.01 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.3217, allocations: 4.125 kB / 372.3 MB, free: 20.01 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.3217, allocations: 3.656 kB / 372.3 MB, free: 20.01 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002348/0.324, allocations: 1.316 MB / 373.6 MB, free: 19.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.324, allocations: 2.188 kB / 373.6 MB, free: 19.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000887/0.3249, allocations: 169.8 kB / 373.7 MB, free: 19.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/0.325, allocations: 3.562 kB / 373.7 MB, free: 19.4 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.901e-05/0.325, allocations: 15.22 kB / 373.8 MB, free: 19.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/0.325, allocations: 4.266 kB / 373.8 MB, free: 19.4 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/0.325, allocations: 4.5 kB / 373.8 MB, free: 19.4 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002347/0.3274, allocations: 0.9543 MB / 374.7 MB, free: 19.06 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002476/0.3276, allocations: 128.9 kB / 374.8 MB, free: 18.97 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.03e-05/0.3277, allocations: 12.08 kB / 374.9 MB, free: 18.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004496/0.3282, allocations: 43.64 kB / 374.9 MB, free: 18.97 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.3283, allocations: 48.09 kB / 375 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.765e-05/0.3284, allocations: 15.3 kB / 375 MB, free: 18.96 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000178/0.3286, allocations: 151.3 kB / 375.1 MB, free: 18.89 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3286, allocations: 0 / 375.1 MB, free: 18.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004974/0.3291, allocations: 80.16 kB / 375.2 MB, free: 18.88 MB / 302.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.000138/0.3292, allocations: 111.4 kB / 375.3 MB, free: 18.78 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009668/0.3302, allocations: 376.3 kB / 375.7 MB, free: 18.7 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3302, allocations: 0 / 375.7 MB, free: 18.7 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006306/0.3308, allocations: 250.9 kB / 375.9 MB, free: 18.63 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006738/0.3315, allocations: 75.58 kB / 376 MB, free: 18.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004597/0.3361, allocations: 1.424 MB / 377.4 MB, free: 17.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.3364, allocations: 0.7796 MB / 378.2 MB, free: 17.27 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001734/0.3366, allocations: 40.42 kB / 378.2 MB, free: 17.26 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.3367, allocations: 32.44 kB / 378.3 MB, free: 17.25 MB / 302.1 MB Notification: Performance of SimCode: time 5.72e-07/0.3367, allocations: 0 / 378.3 MB, free: 17.25 MB / 302.1 MB Notification: Performance of Templates: time 0.008676/0.3454, allocations: 4.265 MB / 382.5 MB, free: 16.79 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches