Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 212 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.442/1.442, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 47.92 kB / 377.8 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2443, allocations: 53.36 MB / 431.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003945/0.2482, allocations: 2.468 MB / 433.6 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.2496, allocations: 0.7873 MB / 434.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.2498, allocations: 7.938 kB / 434.4 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001526/0.2499, allocations: 35.59 kB / 434.4 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002147/0.2501, allocations: 107.1 kB / 434.5 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000367/0.2505, allocations: 131.8 kB / 434.7 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005293/0.251, allocations: 466.2 kB / 435.1 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.2512, allocations: 61.09 kB / 435.2 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002751/0.2515, allocations: 195.4 kB / 435.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002899/0.2518, allocations: 207.3 kB / 435.6 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.234e-05/0.2519, allocations: 36 kB / 435.6 MB, free: 2.355 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.39e-05/0.2519, allocations: 36 kB / 435.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.892e-05/0.252, allocations: 95.67 kB / 435.7 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.2522, allocations: 175.3 kB / 435.9 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004908/0.2527, allocations: 418.8 kB / 436.3 MB, free: 1.648 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.2527, allocations: 0 / 436.3 MB, free: 1.648 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2527, allocations: 3.938 kB / 436.3 MB, free: 1.645 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.098e-06/0.2527, allocations: 0 / 436.3 MB, free: 1.645 MB / 334.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.001543/0.2542, allocations: 0.6183 MB / 436.9 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.2543, allocations: 8.031 kB / 436.9 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.098e-05/0.2544, allocations: 62.72 kB / 437 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.829e-05/0.2544, allocations: 36.75 kB / 437 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004041/0.2549, allocations: 210 kB / 437.2 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001713/0.255, allocations: 135.4 kB / 437.4 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.974e-05/0.2551, allocations: 31.94 kB / 437.4 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008858/0.256, allocations: 378.4 kB / 437.8 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.256, allocations: 4 kB / 437.8 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/0.256, allocations: 8 kB / 437.8 MB, free: 68 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.256, allocations: 11.98 kB / 437.8 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.2572, allocations: 395.5 kB / 438.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.2586, allocations: 0.9303 MB / 439.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.2596, allocations: 395.5 kB / 439.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005942/0.2602, allocations: 210.4 kB / 439.7 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.2603, allocations: 4 kB / 439.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.2603, allocations: 42.55 kB / 439.8 MB, free: 14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.663e-06/0.2603, allocations: 0 / 439.8 MB, free: 14 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.004575/0.2649, allocations: 1.883 MB / 441.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.537e-05/0.265, allocations: 106.8 kB / 441.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.2652, allocations: 203.2 kB / 441.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.2652, allocations: 33.7 kB / 442 MB, free: 11.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.2653, allocations: 148.8 kB / 442.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.2655, allocations: 146.7 kB / 442.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.2656, allocations: 78.06 kB / 442.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.2658, allocations: 338.8 kB / 442.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003216/0.2661, allocations: 108.8 kB / 442.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003415/0.2664, allocations: 173.4 kB / 442.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000654/0.2671, allocations: 289.9 kB / 443.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2671, allocations: 0 / 443.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008288/0.2679, allocations: 372.1 kB / 443.6 MB, free: 9.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.2679, allocations: 8 kB / 443.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2679, allocations: 0 / 443.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.268, allocations: 4 kB / 443.6 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000676/0.2686, allocations: 147.9 kB / 443.7 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.2686, allocations: 7.938 kB / 443.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.2689, allocations: 27.97 kB / 443.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.2689, allocations: 16 kB / 443.8 MB, free: 9.711 MB / 350.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.0001641/0.2691, allocations: 141.8 kB / 443.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.2692, allocations: 31.75 kB / 444 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.08e-05/0.2693, allocations: 37.45 kB / 444 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.068e-06/0.2693, allocations: 8 kB / 444 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.2693, allocations: 4 kB / 444 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.2693, allocations: 0 / 444 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/0.2717, allocations: 1.288 MB / 445.3 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.2717, allocations: 4 kB / 445.3 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000817/0.2725, allocations: 168 kB / 445.5 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/0.2725, allocations: 4 kB / 445.5 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.057e-05/0.2726, allocations: 27.86 kB / 445.5 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.2726, allocations: 0 / 445.5 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.2726, allocations: 4.094 kB / 445.5 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002045/0.2746, allocations: 0.9605 MB / 446.5 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.2748, allocations: 55.83 kB / 446.5 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.818e-05/0.2748, allocations: 11.94 kB / 446.5 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004217/0.2753, allocations: 55.92 kB / 446.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.72e-05/0.2754, allocations: 39.94 kB / 446.6 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.595e-05/0.2754, allocations: 11.94 kB / 446.6 MB, free: 6.734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001467/0.2755, allocations: 156.6 kB / 446.8 MB, free: 6.582 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2755, allocations: 3.938 kB / 446.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004841/0.276, allocations: 84 kB / 446.9 MB, free: 6.496 MB / 350.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.002444/0.2785, allocations: 1.492 MB / 448.4 MB, free: 4.957 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.2796, allocations: 355.4 kB / 448.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/0.2796, allocations: 8.188 kB / 448.7 MB, free: 4.602 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006837/0.2803, allocations: 235.6 kB / 449 MB, free: 4.371 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007869/0.2811, allocations: 65.02 kB / 449 MB, free: 4.309 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008272/0.2893, allocations: 3.881 MB / 452.9 MB, free: 284 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/0.2898, allocations: 0.7643 MB / 453.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001686/0.2899, allocations: 38.97 kB / 453.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/0.2901, allocations: 95.39 kB / 453.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of SimCode: time 8.51e-07/0.2901, allocations: 0 / 453.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03887/0.329, allocations: 7.54 MB / 461.3 MB, free: 7.988 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.56, allocations: 10.41 kB / 461.3 MB, free: 7.98 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_Backlash_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_Backlash.fmu > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 13.927984542911872]