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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009088/0.0009088, allocations: 88.33 kB / 20.67 MB, free: 3.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008968/0.0008968, allocations: 160.9 kB / 23.95 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9019/0.9019, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.876e-05, allocations: 3.125 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002219/0.002238, allocations: 2.306 MB / 326.8 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.003246, allocations: 0.7365 MB / 327.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.003352, allocations: 7.938 kB / 327.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.003474, allocations: 43.58 kB / 327.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001613/0.003636, allocations: 115 kB / 327.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.003922, allocations: 131.7 kB / 327.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003023/0.004224, allocations: 485.9 kB / 328.3 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.00436, allocations: 61.08 kB / 328.4 MB, free: 12.01 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002243/0.004585, allocations: 271.4 kB / 328.6 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.004723, allocations: 163.6 kB / 328.8 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.654e-05/0.00477, allocations: 40 kB / 328.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.835e-05/0.004808, allocations: 40 kB / 328.9 MB, free: 11.51 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.067e-05/0.004859, allocations: 83.72 kB / 329 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.207e-05/0.004941, allocations: 135.7 kB / 329.1 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002956/0.005236, allocations: 446.7 kB / 329.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.005239, allocations: 0 / 329.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.00524, allocations: 0 / 329.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.005245, allocations: 0 / 329.5 MB, free: 10.86 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.0008992/0.006144, allocations: 0.6105 MB / 330.1 MB, free: 10.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.006181, allocations: 11.98 kB / 330.1 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.918e-05/0.00623, allocations: 58.73 kB / 330.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.419e-05/0.006284, allocations: 40.75 kB / 330.2 MB, free: 10.1 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.006551, allocations: 213.7 kB / 330.4 MB, free: 9.863 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.966e-05/0.006651, allocations: 135.9 kB / 330.6 MB, free: 9.707 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.515e-05/0.006696, allocations: 24.38 kB / 330.6 MB, free: 9.684 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005236/0.00722, allocations: 394.3 kB / 331 MB, free: 9.285 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.007234, allocations: 0 / 331 MB, free: 9.285 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.007257, allocations: 12 kB / 331 MB, free: 9.273 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.007264, allocations: 4 kB / 331 MB, free: 9.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006227/0.007886, allocations: 391.6 kB / 331.4 MB, free: 8.887 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008651/0.008751, allocations: 0.8524 MB / 332.2 MB, free: 7.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005852/0.009337, allocations: 383.5 kB / 332.6 MB, free: 7.578 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003195/0.009656, allocations: 210.4 kB / 332.8 MB, free: 7.363 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.009676, allocations: 7.984 kB / 332.8 MB, free: 7.355 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.009701, allocations: 42.56 kB / 332.9 MB, free: 7.305 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.383e-06/0.009702, allocations: 0 / 332.9 MB, free: 7.305 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.002517/0.01222, allocations: 1.885 MB / 334.8 MB, free: 5.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.01227, allocations: 110.8 kB / 334.9 MB, free: 5.137 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.01241, allocations: 203.3 kB / 335.1 MB, free: 4.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.01243, allocations: 29.7 kB / 335.1 MB, free: 4.895 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.403e-05/0.01251, allocations: 148.8 kB / 335.2 MB, free: 4.742 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.531e-05/0.01258, allocations: 150.7 kB / 335.4 MB, free: 4.594 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.354e-05/0.01267, allocations: 74.19 kB / 335.5 MB, free: 4.516 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.163e-05/0.01276, allocations: 339.7 kB / 335.8 MB, free: 4.176 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.01293, allocations: 108.9 kB / 335.9 MB, free: 4.066 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001899/0.01312, allocations: 166.1 kB / 336.1 MB, free: 3.883 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003574/0.01348, allocations: 295.9 kB / 336.3 MB, free: 3.578 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.01348, allocations: 0 / 336.3 MB, free: 3.578 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000474/0.01395, allocations: 371.2 kB / 336.7 MB, free: 3.215 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.01397, allocations: 4 kB / 336.7 MB, free: 3.211 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.01398, allocations: 7.938 kB / 336.7 MB, free: 3.203 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.014, allocations: 8.031 kB / 336.7 MB, free: 3.195 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/0.01435, allocations: 147.8 kB / 336.9 MB, free: 3.051 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.01436, allocations: 11.94 kB / 336.9 MB, free: 3.039 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.01447, allocations: 19.98 kB / 336.9 MB, free: 3.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.01448, allocations: 16 kB / 336.9 MB, free: 3.004 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.0146, allocations: 145.8 kB / 337.1 MB, free: 2.852 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.542e-05/0.01466, allocations: 23.86 kB / 337.1 MB, free: 2.828 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.763e-05/0.01471, allocations: 41.41 kB / 337.1 MB, free: 2.789 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.01471, allocations: 4 kB / 337.1 MB, free: 2.785 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.01472, allocations: 0 / 337.1 MB, free: 2.785 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.01473, allocations: 3.984 kB / 337.1 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.01612, allocations: 1.241 MB / 338.4 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.01612, allocations: 0 / 338.4 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003881/0.01651, allocations: 168 kB / 338.5 MB, free: 1.289 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.01651, allocations: 4 kB / 338.5 MB, free: 1.285 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.01653, allocations: 11.98 kB / 338.6 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.01654, allocations: 8 kB / 338.6 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/0.01655, allocations: 7.938 kB / 338.6 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.01763, allocations: 0.9533 MB / 339.5 MB, free: 272 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.855e-05/0.0177, allocations: 55.83 kB / 339.6 MB, free: 216 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.01773, allocations: 16 kB / 339.6 MB, free: 200 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.01793, allocations: 43.94 kB / 339.6 MB, free: 156 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.37e-05/0.01801, allocations: 47.81 kB / 339.7 MB, free: 108 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.01803, allocations: 11.98 kB / 339.7 MB, free: 96 kB / 298.7 MB Notification: Performance of sorting global known variables: time 9.981e-05/0.01813, allocations: 147.2 kB / 339.8 MB, free: 15.95 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01813, allocations: 4 kB / 339.8 MB, free: 15.95 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002808/0.01841, allocations: 80 kB / 339.9 MB, free: 15.87 MB / 314.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 (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.001272/0.01968, allocations: 1.497 MB / 341.4 MB, free: 14.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005263/0.02021, allocations: 355.8 kB / 341.8 MB, free: 13.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.02021, allocations: 0 / 341.8 MB, free: 13.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003472/0.02056, allocations: 235.8 kB / 342 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.021, allocations: 92.55 kB / 342.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004229/0.02522, allocations: 3.738 MB / 345.8 MB, free: 9.762 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.02533, allocations: 164.3 kB / 346 MB, free: 9.586 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001077/0.02544, allocations: 38.95 kB / 346 MB, free: 9.551 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.02557, allocations: 96.45 kB / 346.1 MB, free: 9.453 MB / 314.7 MB Notification: Performance of SimCode: time 4.01e-07/0.02557, allocations: 0 / 346.1 MB, free: 9.453 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02007/0.04563, allocations: 8.256 MB / 354.4 MB, free: 1.332 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.031/7.077, allocations: 7.938 kB / 354.4 MB, free: 1.324 MB / 314.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Backlash_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Backlash.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.735041736625135]