Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001325, allocations: 109.7 kB / 17.06 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 200 kB / 18.01 MB, free: 4.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 51.92 kB / 350.8 MB, free: 3.746 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2602, allocations: 49.43 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.00395/0.2642, allocations: 2.44 MB / 402.7 MB, free: 6.355 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.2657, allocations: 0.7362 MB / 403.4 MB, free: 5.621 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.2659, allocations: 7.938 kB / 403.4 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001605/0.266, allocations: 43.58 kB / 403.5 MB, free: 5.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002483/0.2663, allocations: 107.1 kB / 403.6 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003766/0.2667, allocations: 130 kB / 403.7 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000505/0.2672, allocations: 466.2 kB / 404.1 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/0.2674, allocations: 84.89 kB / 404.2 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002635/0.2677, allocations: 183.5 kB / 404.4 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002793/0.268, allocations: 211.2 kB / 404.6 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.475e-05/0.2681, allocations: 36 kB / 404.6 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.125e-05/0.2681, allocations: 40 kB / 404.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.029e-05/0.2682, allocations: 87.78 kB / 404.8 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001958/0.2684, allocations: 171.2 kB / 404.9 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005017/0.269, allocations: 417.4 kB / 405.3 MB, free: 3.672 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.269, allocations: 0 / 405.3 MB, free: 3.672 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.269, allocations: 4 kB / 405.3 MB, free: 3.668 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.269, allocations: 0 / 405.3 MB, free: 3.668 MB / 318.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.001689/0.2707, allocations: 0.6859 MB / 406 MB, free: 2.934 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.2707, allocations: 12.03 kB / 406 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.732e-05/0.2708, allocations: 62.73 kB / 406.1 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.551e-05/0.2709, allocations: 36.73 kB / 406.1 MB, free: 2.816 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004631/0.2714, allocations: 279.6 kB / 406.4 MB, free: 2.504 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.2715, allocations: 88.02 kB / 406.5 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.371e-05/0.2716, allocations: 28 kB / 406.5 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009597/0.2726, allocations: 379.2 kB / 406.9 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.2726, allocations: 3.953 kB / 406.9 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.419e-05/0.2726, allocations: 12 kB / 406.9 MB, free: 1.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.2727, allocations: 11.98 kB / 406.9 MB, free: 1.969 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.2739, allocations: 395.5 kB / 407.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001437/0.2754, allocations: 0.9547 MB / 408.3 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.2766, allocations: 419.5 kB / 408.7 MB, free: 136 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006982/0.2773, allocations: 210.4 kB / 408.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.2773, allocations: 4 kB / 408.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.2774, allocations: 46.5 kB / 408.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 2.124e-06/0.2774, allocations: 0 / 408.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=38): time 0.005308/0.2827, allocations: 2.321 MB / 411.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.293e-05/0.2828, allocations: 115 kB / 411.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.2831, allocations: 203.2 kB / 411.6 MB, free: 12.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.963e-05/0.2831, allocations: 37.58 kB / 411.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.2833, allocations: 152.8 kB / 411.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.2834, allocations: 146.7 kB / 411.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.2835, allocations: 70.12 kB / 412 MB, free: 12.52 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.2837, allocations: 338.8 kB / 412.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003356/0.2841, allocations: 108.8 kB / 412.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003676/0.2845, allocations: 169.5 kB / 412.6 MB, free: 11.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000712/0.2852, allocations: 281 kB / 412.8 MB, free: 11.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2852, allocations: 0 / 412.8 MB, free: 11.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009107/0.2861, allocations: 376.3 kB / 413.2 MB, free: 11.22 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.2861, allocations: 8 kB / 413.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.2862, allocations: 0 / 413.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.2862, allocations: 4 kB / 413.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007315/0.2869, allocations: 151.8 kB / 413.4 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.2869, allocations: 0 / 413.4 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.2872, allocations: 27.98 kB / 413.4 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.2872, allocations: 12 kB / 413.4 MB, free: 11.02 MB / 334.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.0001755/0.2874, allocations: 149.7 kB / 413.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.2875, allocations: 35.78 kB / 413.6 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.363e-05/0.2876, allocations: 33.53 kB / 413.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.2876, allocations: 4 kB / 413.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.2876, allocations: 0 / 413.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.2876, allocations: 7.984 kB / 413.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002591/0.2902, allocations: 1.335 MB / 415 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.2903, allocations: 0 / 415 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008881/0.2912, allocations: 172 kB / 415.1 MB, free: 9.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.244e-05/0.2912, allocations: 7.984 kB / 415.1 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.585e-05/0.2912, allocations: 11.94 kB / 415.2 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.2913, allocations: 4 kB / 415.2 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.2913, allocations: 4 kB / 415.2 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002206/0.2935, allocations: 0.9606 MB / 416.1 MB, free: 8.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/0.2937, allocations: 133 kB / 416.2 MB, free: 8.012 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.289e-05/0.2938, allocations: 11.94 kB / 416.3 MB, free: 8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004145/0.2942, allocations: 39.95 kB / 416.3 MB, free: 7.961 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.2943, allocations: 47.97 kB / 416.3 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.04e-05/0.2944, allocations: 19.94 kB / 416.4 MB, free: 7.895 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001721/0.2945, allocations: 152.6 kB / 416.5 MB, free: 7.746 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2945, allocations: 0 / 416.5 MB, free: 7.746 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004621/0.295, allocations: 80 kB / 416.6 MB, free: 7.668 MB / 334.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.002653/0.2977, allocations: 1.508 MB / 418.1 MB, free: 6.109 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.2988, allocations: 363.8 kB / 418.5 MB, free: 5.754 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.2988, allocations: 4 kB / 418.5 MB, free: 5.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000721/0.2996, allocations: 243.7 kB / 418.7 MB, free: 5.512 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007803/0.3004, allocations: 70.78 kB / 418.8 MB, free: 5.449 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009125/0.3095, allocations: 3.876 MB / 422.6 MB, free: 1.418 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004568/0.31, allocations: 0.7721 MB / 423.4 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002214/0.3102, allocations: 34.97 kB / 423.4 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/0.3105, allocations: 95.58 kB / 423.5 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of SimCode: time 1.442e-06/0.3105, allocations: 0 / 423.5 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03384/0.3443, allocations: 7.125 MB / 430.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.553/8.897, allocations: 8.391 kB / 430.7 MB, free: 9.484 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Mechanics_Rotational_Examples_Backlash.fmu > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash_res.csv","/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_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches