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.001754/0.001754, allocations: 121.3 kB / 18.5 MB, free: 4.578 MB / 14.72 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.002066/0.002066, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 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 1.473/1.473, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001776/0.001776, allocations: 67.88 kB / 373.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1106, allocations: 53.31 MB / 426.6 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003791/0.1143, allocations: 2.477 MB / 429.1 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.1158, allocations: 0.76 MB / 429.9 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.1159, allocations: 4 kB / 429.9 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001763/0.1161, allocations: 47.52 kB / 429.9 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002062/0.1163, allocations: 107.1 kB / 430 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003433/0.1166, allocations: 123.8 kB / 430.2 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004746/0.1171, allocations: 466.2 kB / 430.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.1173, allocations: 64.94 kB / 430.7 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002329/0.1175, allocations: 187.4 kB / 430.9 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002538/0.1178, allocations: 211.2 kB / 431.1 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.02e-05/0.1178, allocations: 36 kB / 431.1 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.095e-05/0.1179, allocations: 40 kB / 431.1 MB, free: 496 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.498e-05/0.118, allocations: 79.78 kB / 431.2 MB, free: 416 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.1181, allocations: 179.2 kB / 431.4 MB, free: 236 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1855/0.3036, allocations: 416.2 kB / 431.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3036, allocations: 0.7812 kB / 431.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3036, allocations: 0 / 431.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.3036, allocations: 0.5938 kB / 431.8 MB, free: 8.598 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.001382/0.305, allocations: 0.6868 MB / 432.5 MB, free: 8.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.305, allocations: 9.969 kB / 432.5 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.5e-05/0.3051, allocations: 62.27 kB / 432.6 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.846e-05/0.3052, allocations: 36.75 kB / 432.6 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003834/0.3056, allocations: 272.1 kB / 432.9 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.914e-05/0.3057, allocations: 82.39 kB / 432.9 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.74e-05/0.3057, allocations: 30.47 kB / 433 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008108/0.3066, allocations: 383.5 kB / 433.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.3066, allocations: 1.812 kB / 433.4 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/0.3066, allocations: 13.75 kB / 433.4 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.3066, allocations: 6.344 kB / 433.4 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.3076, allocations: 393.4 kB / 433.8 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.3086, allocations: 0.9665 MB / 434.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009149/0.3096, allocations: 394.4 kB / 435.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005404/0.3101, allocations: 211.8 kB / 435.3 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.3101, allocations: 4.109 kB / 435.3 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.3101, allocations: 38.38 kB / 435.4 MB, free: 7.121 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.352e-06/0.3101, allocations: 2.719 kB / 435.4 MB, free: 7.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.004044/0.3142, allocations: 2.324 MB / 437.7 MB, free: 5.785 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.3142, allocations: 114.9 kB / 437.8 MB, free: 5.656 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.3144, allocations: 201.6 kB / 438 MB, free: 5.551 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.3144, allocations: 31.92 kB / 438 MB, free: 5.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.287e-05/0.3145, allocations: 149.9 kB / 438.2 MB, free: 5.414 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.464e-05/0.3146, allocations: 142.4 kB / 438.3 MB, free: 5.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.3147, allocations: 73.73 kB / 438.4 MB, free: 5.305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.57e-05/0.3147, allocations: 339.4 kB / 438.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002906/0.315, allocations: 111.9 kB / 438.8 MB, free: 4.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/0.3153, allocations: 167.7 kB / 439 MB, free: 4.934 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005722/0.3159, allocations: 293.7 kB / 439.3 MB, free: 4.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.3159, allocations: 1.188 kB / 439.3 MB, free: 4.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007152/0.3166, allocations: 368.2 kB / 439.6 MB, free: 4.816 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3166, allocations: 9.531 kB / 439.6 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.3166, allocations: 3.453 kB / 439.6 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.3166, allocations: 3.141 kB / 439.6 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006547/0.3173, allocations: 148.2 kB / 439.8 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3173, allocations: 3.859 kB / 439.8 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.3175, allocations: 29.77 kB / 439.8 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.3175, allocations: 14.22 kB / 439.8 MB, free: 4.805 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.000103/0.3176, allocations: 149.9 kB / 440 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.948e-05/0.3177, allocations: 34.41 kB / 440 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.759e-05/0.3178, allocations: 31.48 kB / 440 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.3178, allocations: 4.219 kB / 440.1 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.3178, allocations: 2.547 kB / 440.1 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3178, allocations: 3.797 kB / 440.1 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001979/0.3198, allocations: 1.338 MB / 441.4 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.3198, allocations: 3.25 kB / 441.4 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007662/0.3206, allocations: 169.8 kB / 441.6 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.3206, allocations: 9.188 kB / 441.6 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.3206, allocations: 12.3 kB / 441.6 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.3206, allocations: 12.11 kB / 441.6 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3206, allocations: 2.125 kB / 441.6 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/0.3223, allocations: 0.9463 MB / 442.5 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.3224, allocations: 130.6 kB / 442.7 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.116e-05/0.3225, allocations: 13.77 kB / 442.7 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004036/0.3229, allocations: 51.77 kB / 442.7 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.323, allocations: 40.17 kB / 442.8 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.158e-05/0.323, allocations: 13.02 kB / 442.8 MB, free: 3.137 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001184/0.3231, allocations: 151.5 kB / 442.9 MB, free: 3.039 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3231, allocations: 4 kB / 442.9 MB, free: 3.035 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004348/0.3236, allocations: 83.66 kB / 443 MB, free: 3.023 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.001826/0.3254, allocations: 1.498 MB / 444.5 MB, free: 1.973 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008775/0.3263, allocations: 360.3 kB / 444.9 MB, free: 1.895 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3263, allocations: 1 kB / 444.9 MB, free: 1.895 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000587/0.3269, allocations: 247.1 kB / 445.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006615/0.3275, allocations: 66.94 kB / 445.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00705/0.3346, allocations: 3.871 MB / 449.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/0.335, allocations: 0.7672 MB / 449.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001814/0.3352, allocations: 39.94 kB / 449.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/0.3354, allocations: 100.3 kB / 450 MB, free: 14.68 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3354, allocations: 4 kB / 450 MB, free: 14.67 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0312/0.3666, allocations: 7.173 MB / 457.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.376/8.742, allocations: 11.42 kB / 457.1 MB, free: 12.54 MB / 366.1 MB " [Timeout remaining time 651] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.366850221063942]