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.000755/0.0007551, allocations: 95.55 kB / 18.01 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009739/0.0009739, allocations: 207.4 kB / 18.94 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.7 MB / 247.5 MB, free: 11.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002488/0.0002489, allocations: 8 kB / 308.4 MB, free: 0.8047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1022, allocations: 51.52 MB / 359.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002632/0.1049, allocations: 2.137 MB / 362 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.1065, allocations: 0.7601 MB / 362.8 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000247/0.1068, allocations: 8 kB / 362.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000158/0.1069, allocations: 35.7 kB / 362.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002938/0.1073, allocations: 83.31 kB / 362.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.1077, allocations: 115.8 kB / 363 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005102/0.1082, allocations: 450.1 kB / 363.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.1084, allocations: 73.3 kB / 363.6 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002718/0.1087, allocations: 163.4 kB / 363.7 MB, free: 9.457 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002635/0.1089, allocations: 187.3 kB / 363.9 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.012e-05/0.109, allocations: 20 kB / 363.9 MB, free: 9.254 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.116e-05/0.1091, allocations: 24 kB / 363.9 MB, free: 9.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.13e-05/0.1091, allocations: 67.72 kB / 364 MB, free: 9.164 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.1093, allocations: 184.9 kB / 364.2 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002793/0.1096, allocations: 291.4 kB / 364.5 MB, free: 8.691 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1096, allocations: 0 / 364.5 MB, free: 8.691 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1096, allocations: 0 / 364.5 MB, free: 8.691 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.387e-06/0.1097, allocations: 0 / 364.5 MB, free: 8.691 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.001633/0.1113, allocations: 0.6669 MB / 365.1 MB, free: 7.977 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.1113, allocations: 12.03 kB / 365.2 MB, free: 7.965 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.1115, allocations: 32.56 kB / 365.2 MB, free: 7.934 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003704/0.1118, allocations: 283.5 kB / 365.5 MB, free: 7.617 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00039/0.1122, allocations: 132.2 kB / 365.6 MB, free: 7.477 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.547e-05/0.1123, allocations: 27.91 kB / 365.6 MB, free: 7.449 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.1133, allocations: 415.2 kB / 366 MB, free: 7.031 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.1134, allocations: 3.938 kB / 366 MB, free: 7.027 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.767e-05/0.1134, allocations: 12 kB / 366 MB, free: 7.016 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.1134, allocations: 4 kB / 366 MB, free: 7.012 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/0.1148, allocations: 463.1 kB / 366.5 MB, free: 6.562 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/0.1162, allocations: 0.9658 MB / 367.5 MB, free: 5.535 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.1173, allocations: 459.6 kB / 367.9 MB, free: 5.059 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006841/0.118, allocations: 254.4 kB / 368.2 MB, free: 4.801 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.1181, allocations: 7.938 kB / 368.2 MB, free: 4.793 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.1181, allocations: 34.56 kB / 368.2 MB, free: 4.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.874e-06/0.1181, allocations: 0 / 368.2 MB, free: 4.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=38): time 0.005245/0.1234, allocations: 2.515 MB / 370.7 MB, free: 1.973 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.1235, allocations: 114.8 kB / 370.8 MB, free: 1.836 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.1237, allocations: 211.2 kB / 371 MB, free: 1.617 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/0.1237, allocations: 29.7 kB / 371.1 MB, free: 1.582 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.718e-05/0.1238, allocations: 148.6 kB / 371.2 MB, free: 1.434 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.124, allocations: 141.9 kB / 371.3 MB, free: 1.293 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.359e-05/0.124, allocations: 37.7 kB / 371.4 MB, free: 1.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1242, allocations: 334.8 kB / 371.7 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003177/0.1245, allocations: 112.8 kB / 371.8 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003478/0.1248, allocations: 173.4 kB / 372 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006511/0.1255, allocations: 291.7 kB / 372.3 MB, free: 324 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1255, allocations: 4 kB / 372.3 MB, free: 320 kB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.1793/0.3048, allocations: 376.5 kB / 372.6 MB, free: 19.2 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/0.3049, allocations: 10.08 kB / 372.7 MB, free: 19.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.3049, allocations: 2.844 kB / 372.7 MB, free: 19.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.858e-05/0.3049, allocations: 4 kB / 372.7 MB, free: 19.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000889/0.3058, allocations: 173.5 kB / 372.8 MB, free: 19.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/0.3059, allocations: 3.156 kB / 372.8 MB, free: 19.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003272/0.3062, allocations: 31.08 kB / 372.9 MB, free: 19.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.695e-05/0.3062, allocations: 15.5 kB / 372.9 MB, free: 19.2 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.0002128/0.3065, allocations: 151.5 kB / 373 MB, free: 19.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.3066, allocations: 29.98 kB / 373.1 MB, free: 19.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.942e-05/0.3067, allocations: 33.84 kB / 373.1 MB, free: 19.08 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.3067, allocations: 7.094 kB / 373.1 MB, free: 19.08 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.3067, allocations: 1.406 kB / 373.1 MB, free: 19.08 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.3068, allocations: 5.656 kB / 373.1 MB, free: 19.08 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002769/0.3095, allocations: 1.386 MB / 374.5 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.832e-06/0.3096, allocations: 2.531 kB / 374.5 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009577/0.3105, allocations: 206.5 kB / 374.7 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.355e-05/0.3105, allocations: 4.25 kB / 374.7 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.93e-05/0.3106, allocations: 16.08 kB / 374.7 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.216e-06/0.3106, allocations: 4.344 kB / 374.7 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.3106, allocations: 5.812 kB / 374.7 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00227/0.3129, allocations: 1.049 MB / 375.8 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/0.3131, allocations: 128.5 kB / 375.9 MB, free: 18.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.134e-05/0.3131, allocations: 14.31 kB / 375.9 MB, free: 18.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004631/0.3136, allocations: 64.59 kB / 376 MB, free: 18.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.3137, allocations: 40 kB / 376 MB, free: 18.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-05/0.3138, allocations: 18.44 kB / 376 MB, free: 18.01 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001489/0.3139, allocations: 153.6 kB / 376.2 MB, free: 17.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3139, allocations: 0 / 376.2 MB, free: 17.93 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004979/0.3145, allocations: 81.12 kB / 376.3 MB, free: 17.93 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.0001427/0.3146, allocations: 109.1 kB / 376.4 MB, free: 17.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.3157, allocations: 403.5 kB / 376.8 MB, free: 17.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3157, allocations: 4.188 kB / 376.8 MB, free: 17.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000758/0.3165, allocations: 279.1 kB / 377 MB, free: 17.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007828/0.3173, allocations: 74.31 kB / 377.1 MB, free: 17.79 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005239/0.3226, allocations: 1.796 MB / 378.9 MB, free: 17.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.3228, allocations: 0.772 MB / 379.7 MB, free: 16.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.323, allocations: 33.11 kB / 379.7 MB, free: 16.31 MB / 302.1 MB Notification: Performance of SimCode: time 8.52e-07/0.323, allocations: 0 / 379.7 MB, free: 16.31 MB / 302.1 MB Notification: Performance of Templates: time 0.008134/0.3311, allocations: 3.819 MB / 383.5 MB, free: 15.93 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 -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