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.0008464/0.0008464, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0008155/0.0008155, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.873/0.873, allocations: 177 MB / 204.1 MB, free: 5.762 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.593e-06/1.593e-06, allocations: 0 / 324.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.14e-05/1.3e-05, allocations: 6.984 kB / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003126/0.003139, allocations: 2.302 MB / 326.8 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.004425, allocations: 0.7366 MB / 327.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.004567, allocations: 7.938 kB / 327.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.004706, allocations: 39.58 kB / 327.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.004933, allocations: 115 kB / 327.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003642/0.005298, allocations: 135.7 kB / 327.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004303/0.005728, allocations: 489.9 kB / 328.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.005888, allocations: 53.09 kB / 328.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005132/0.006401, allocations: 271.5 kB / 328.6 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002141/0.006615, allocations: 167.5 kB / 328.8 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.315e-05/0.006678, allocations: 36 kB / 328.8 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.412e-05/0.006732, allocations: 40 kB / 328.9 MB, free: 11.53 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.072e-05/0.006803, allocations: 87.72 kB / 328.9 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.006925, allocations: 135.7 kB / 329.1 MB, free: 11.31 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004203/0.007345, allocations: 442.7 kB / 329.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.007347, allocations: 0 / 329.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.007348, allocations: 0 / 329.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.007354, allocations: 0 / 329.5 MB, free: 10.88 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.001258/0.008612, allocations: 0.6105 MB / 330.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.008655, allocations: 11.98 kB / 330.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.028e-05/0.008725, allocations: 70.66 kB / 330.2 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.157e-05/0.008797, allocations: 32.75 kB / 330.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003496/0.009146, allocations: 213.7 kB / 330.4 MB, free: 9.883 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.009276, allocations: 135.9 kB / 330.6 MB, free: 9.727 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.23e-05/0.009338, allocations: 32.38 kB / 330.6 MB, free: 9.695 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007828/0.01012, allocations: 382.3 kB / 331 MB, free: 9.309 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.01014, allocations: 3.984 kB / 331 MB, free: 9.305 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.595e-05/0.01018, allocations: 12 kB / 331 MB, free: 9.293 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.01019, allocations: 4 kB / 331 MB, free: 9.289 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.01119, allocations: 391.6 kB / 331.4 MB, free: 8.906 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.01239, allocations: 0.8484 MB / 332.2 MB, free: 8.004 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008929/0.01329, allocations: 391.5 kB / 332.6 MB, free: 7.594 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005049/0.01379, allocations: 210.4 kB / 332.8 MB, free: 7.379 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.01381, allocations: 4 kB / 332.8 MB, free: 7.375 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.01384, allocations: 34.56 kB / 332.9 MB, free: 7.332 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.773e-06/0.01384, allocations: 4 kB / 332.9 MB, free: 7.328 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.00303/0.01687, allocations: 1.877 MB / 334.7 MB, free: 5.301 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.01692, allocations: 118.8 kB / 334.9 MB, free: 5.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.01705, allocations: 195.3 kB / 335 MB, free: 4.961 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.01707, allocations: 33.7 kB / 335.1 MB, free: 4.922 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.494e-05/0.01714, allocations: 160.8 kB / 335.2 MB, free: 4.758 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.088e-05/0.01722, allocations: 138.7 kB / 335.4 MB, free: 4.621 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.635e-05/0.0173, allocations: 79.11 kB / 335.4 MB, free: 4.539 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.357e-05/0.01738, allocations: 338.8 kB / 335.8 MB, free: 4.199 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.01756, allocations: 112.9 kB / 335.9 MB, free: 4.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.01775, allocations: 166.1 kB / 336.1 MB, free: 3.906 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.01812, allocations: 292.7 kB / 336.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.01812, allocations: 0 / 336.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004555/0.01858, allocations: 374.1 kB / 336.7 MB, free: 3.238 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.01859, allocations: 8.094 kB / 336.7 MB, free: 3.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.0186, allocations: 7.938 kB / 336.7 MB, free: 3.223 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.01861, allocations: 4 kB / 336.7 MB, free: 3.219 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/0.01895, allocations: 147.7 kB / 336.9 MB, free: 3.074 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.01896, allocations: 4 kB / 336.9 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.01907, allocations: 27.98 kB / 336.9 MB, free: 3.043 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.01908, allocations: 15.98 kB / 336.9 MB, free: 3.027 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 9.517e-05/0.01918, allocations: 145.8 kB / 337.1 MB, free: 2.875 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.112e-05/0.01923, allocations: 27.86 kB / 337.1 MB, free: 2.848 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.037e-05/0.01927, allocations: 37.39 kB / 337.1 MB, free: 2.812 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.01927, allocations: 4 kB / 337.1 MB, free: 2.809 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.01928, allocations: 0 / 337.1 MB, free: 2.809 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.01928, allocations: 4 kB / 337.1 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.02063, allocations: 1.237 MB / 338.4 MB, free: 1.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.02063, allocations: 4.031 kB / 338.4 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004168/0.02105, allocations: 167.8 kB / 338.5 MB, free: 1.312 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.02105, allocations: 8 kB / 338.5 MB, free: 1.305 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/0.02107, allocations: 8 kB / 338.5 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.02107, allocations: 4 kB / 338.6 MB, free: 1.293 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.02108, allocations: 11.92 kB / 338.6 MB, free: 1.281 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.02219, allocations: 0.9611 MB / 339.5 MB, free: 288 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.807e-05/0.02227, allocations: 63.75 kB / 339.6 MB, free: 224 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.0223, allocations: 8 kB / 339.6 MB, free: 216 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.0225, allocations: 39.95 kB / 339.6 MB, free: 176 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/0.02257, allocations: 51.8 kB / 339.7 MB, free: 124 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.02259, allocations: 12 kB / 339.7 MB, free: 112 kB / 298.7 MB Notification: Performance of sorting global known variables: time 9.109e-05/0.02268, allocations: 151.2 kB / 339.8 MB, free: 15.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02268, allocations: 0 / 339.8 MB, free: 15.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002811/0.02296, allocations: 88 kB / 339.9 MB, free: 15.88 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.001287/0.02425, allocations: 1.485 MB / 341.4 MB, free: 14.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005405/0.02479, allocations: 355.8 kB / 341.8 MB, free: 14 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.02479, allocations: 0 / 341.8 MB, free: 14 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003574/0.02515, allocations: 248 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.0004322/0.02558, allocations: 73.58 kB / 342.1 MB, free: 13.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004271/0.02985, allocations: 3.737 MB / 345.8 MB, free: 9.785 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.02996, allocations: 160.3 kB / 346 MB, free: 9.613 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.03006, allocations: 38.95 kB / 346 MB, free: 9.578 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.0302, allocations: 104.5 kB / 346.1 MB, free: 9.473 MB / 314.7 MB Notification: Performance of SimCode: time 1.312e-06/0.0302, allocations: 0 / 346.1 MB, free: 9.473 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01804/0.04824, allocations: 8.251 MB / 354.4 MB, free: 1.359 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.864/6.913, allocations: 7.938 kB / 354.4 MB, free: 1.352 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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] "Error: Could not read variable springDamper.w_rel in file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash_res.csv. Warning: Get data of variable springDamper.w_rel from file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,elastoBacklash.phi_rel,elastoBacklash.w_rel,springDamper.phi_rel,springDamper.w_rel Variables in the result:time,elastoBacklash.phi_rel,elastoBacklash.w_rel,elastoBacklash2.phi_rel,elastoBacklash2.w_rel,springDamper.phi_rel [Calling sys.exit(0), Time elapsed: 8.662556005641818]