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.001831/0.001831, allocations: 127.4 kB / 17.79 MB, free: 5.246 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.002277/0.002277, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.559/1.559, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001501/0.001501, allocations: 43.94 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1044, allocations: 53.33 MB / 426.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003959/0.1084, allocations: 2.472 MB / 428.8 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.11, allocations: 0.76 MB / 429.5 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.1101, allocations: 4 kB / 429.5 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001716/0.1103, allocations: 47.52 kB / 429.6 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002267/0.1105, allocations: 111.1 kB / 429.7 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.1109, allocations: 123.8 kB / 429.8 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004682/0.1113, allocations: 462.2 kB / 430.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.1115, allocations: 64.94 kB / 430.3 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002375/0.1117, allocations: 183.5 kB / 430.5 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.112, allocations: 215.2 kB / 430.7 MB, free: 340 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.901e-05/0.112, allocations: 36 kB / 430.8 MB, free: 304 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.871e-05/0.1121, allocations: 36 kB / 430.8 MB, free: 268 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.743e-05/0.1122, allocations: 91.78 kB / 430.9 MB, free: 176 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.1124, allocations: 175.2 kB / 431.1 MB, free: 0 / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2064/0.3188, allocations: 410.6 kB / 431.5 MB, free: 8.133 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.902e-06/0.3188, allocations: 0 / 431.5 MB, free: 8.133 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3188, allocations: 0.8125 kB / 431.5 MB, free: 8.133 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.3188, allocations: 0 / 431.5 MB, free: 8.133 MB / 350.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.001549/0.3203, allocations: 0.6876 MB / 432.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.3204, allocations: 12.59 kB / 432.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.612e-05/0.3204, allocations: 66.05 kB / 432.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.711e-05/0.3205, allocations: 34.91 kB / 432.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004018/0.3209, allocations: 267.7 kB / 432.5 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.72e-05/0.321, allocations: 86.69 kB / 432.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.327e-05/0.3211, allocations: 30.47 kB / 432.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008695/0.322, allocations: 378.6 kB / 433 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.322, allocations: 8.531 kB / 433 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.815e-05/0.322, allocations: 13.97 kB / 433 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.322, allocations: 9.172 kB / 433 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.3232, allocations: 391 kB / 433.4 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.3244, allocations: 0.9685 MB / 434.4 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.3255, allocations: 393.6 kB / 434.8 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006256/0.3261, allocations: 210 kB / 435 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.375e-05/0.3261, allocations: 6.344 kB / 435 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.3262, allocations: 37.25 kB / 435 MB, free: 6.652 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.854e-06/0.3262, allocations: 5.484 kB / 435 MB, free: 6.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.004866/0.331, allocations: 2.328 MB / 437.3 MB, free: 5.312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/0.3311, allocations: 110.4 kB / 437.5 MB, free: 5.188 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.3313, allocations: 202.3 kB / 437.6 MB, free: 5.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.3313, allocations: 33.2 kB / 437.7 MB, free: 5.051 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.439e-05/0.3314, allocations: 147.9 kB / 437.8 MB, free: 4.945 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.3315, allocations: 139 kB / 438 MB, free: 4.855 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.3317, allocations: 79.08 kB / 438 MB, free: 4.836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.88e-05/0.3318, allocations: 343.4 kB / 438.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003333/0.3321, allocations: 105.2 kB / 438.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003623/0.3325, allocations: 166.2 kB / 438.6 MB, free: 4.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006482/0.3331, allocations: 302.7 kB / 438.9 MB, free: 4.398 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3331, allocations: 1.062 kB / 438.9 MB, free: 4.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008476/0.334, allocations: 362.7 kB / 439.3 MB, free: 4.344 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.334, allocations: 9.656 kB / 439.3 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.334, allocations: 2.125 kB / 439.3 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.334, allocations: 5.406 kB / 439.3 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008427/0.3349, allocations: 149.3 kB / 439.5 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.3349, allocations: 4.297 kB / 439.5 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.3351, allocations: 29.08 kB / 439.5 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.3352, allocations: 13.45 kB / 439.5 MB, free: 4.332 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.0001332/0.3353, allocations: 147.6 kB / 439.6 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.515e-05/0.3354, allocations: 33.73 kB / 439.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.159e-05/0.3355, allocations: 36.27 kB / 439.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.3355, allocations: 4.031 kB / 439.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.3355, allocations: 1.281 kB / 439.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.3355, allocations: 3.219 kB / 439.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/0.3378, allocations: 1.334 MB / 441.1 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.3378, allocations: 7.172 kB / 441.1 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009011/0.3387, allocations: 166.7 kB / 441.2 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/0.3387, allocations: 8.141 kB / 441.2 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.754e-05/0.3388, allocations: 13.08 kB / 441.2 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.3388, allocations: 7.438 kB / 441.3 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.3388, allocations: 3.156 kB / 441.3 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0021/0.3409, allocations: 0.9524 MB / 442.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/0.341, allocations: 130.6 kB / 442.3 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.529e-05/0.3411, allocations: 13.25 kB / 442.3 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004598/0.3416, allocations: 48.48 kB / 442.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.3417, allocations: 36.72 kB / 442.4 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/0.3417, allocations: 15.75 kB / 442.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.3419, allocations: 150.6 kB / 442.6 MB, free: 2.551 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3419, allocations: 1.188 kB / 442.6 MB, free: 2.551 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005374/0.3424, allocations: 83.31 kB / 442.7 MB, free: 2.539 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.00215/0.3445, allocations: 1.508 MB / 444.2 MB, free: 1.484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001143/0.3457, allocations: 356.3 kB / 444.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3457, allocations: 0 / 444.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007047/0.3464, allocations: 246.5 kB / 444.8 MB, free: 1.352 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007855/0.3472, allocations: 61.06 kB / 444.8 MB, free: 1.332 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008591/0.3558, allocations: 3.874 MB / 448.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.3562, allocations: 0.7661 MB / 449.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002186/0.3564, allocations: 47.08 kB / 449.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/0.3566, allocations: 99.97 kB / 449.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of SimCode: time 1.223e-06/0.3566, allocations: 0 / 449.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04803/0.4046, allocations: 7.186 MB / 456.8 MB, free: 12.01 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.618/9.023, allocations: 7.641 kB / 456.8 MB, free: 12.01 MB / 366.1 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.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_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.csv","/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] "Error: Could not read variable springDamper.w_rel in file Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash_res.csv. Warning: Get data of variable springDamper.w_rel from file Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.616601269008243]