Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008315/0.0008315, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.00353/0.00353, allocations: 165.8 kB / 24.7 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8068/0.8068, allocations: 158.6 MB / 186.5 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.178e-05/1.322e-05, allocations: 2.281 kB / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002184/0.002197, allocations: 2.273 MB / 300.7 MB, free: 1.227 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.003206, allocations: 0.7531 MB / 301.5 MB, free: 480 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.003312, allocations: 7.938 kB / 301.5 MB, free: 472 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.003432, allocations: 47.45 kB / 301.5 MB, free: 424 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001545/0.003586, allocations: 107.1 kB / 301.6 MB, free: 316 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.003868, allocations: 139.6 kB / 301.8 MB, free: 176 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.1224/0.1262, allocations: 472.2 kB / 302.2 MB, free: 13.23 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.1264, allocations: 61.28 kB / 302.3 MB, free: 13.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002652/0.1267, allocations: 264.4 kB / 302.5 MB, free: 13.23 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.1268, allocations: 165.4 kB / 302.7 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.244e-05/0.1269, allocations: 36.75 kB / 302.7 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.123e-05/0.1269, allocations: 38.69 kB / 302.8 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.915e-05/0.127, allocations: 89.72 kB / 302.9 MB, free: 13.2 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.885e-05/0.1271, allocations: 133.4 kB / 303 MB, free: 13.19 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003461/0.1274, allocations: 440.6 kB / 303.4 MB, free: 13.17 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.1274, allocations: 5.484 kB / 303.4 MB, free: 13.17 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1274, allocations: 0 / 303.4 MB, free: 13.17 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1274, allocations: 0 / 303.4 MB, free: 13.17 MB / 282.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.0008445/0.1283, allocations: 0.6092 MB / 304 MB, free: 12.82 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.1283, allocations: 14.14 kB / 304 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.377e-05/0.1283, allocations: 64.75 kB / 304.1 MB, free: 12.78 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.1284, allocations: 35.5 kB / 304.1 MB, free: 12.76 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.1287, allocations: 215.8 kB / 304.4 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.663e-05/0.1287, allocations: 139.7 kB / 304.5 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.045e-05/0.1288, allocations: 32.34 kB / 304.5 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005101/0.1293, allocations: 380 kB / 304.9 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.1293, allocations: 1.703 kB / 304.9 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.1293, allocations: 12.97 kB / 304.9 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.1293, allocations: 10.38 kB / 304.9 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006633/0.13, allocations: 386.3 kB / 305.3 MB, free: 12.37 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008112/0.1308, allocations: 0.8582 MB / 306.2 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006158/0.1314, allocations: 390.8 kB / 306.5 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003387/0.1318, allocations: 210.2 kB / 306.7 MB, free: 11.52 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.1318, allocations: 7.906 kB / 306.7 MB, free: 11.52 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.573e-05/0.1318, allocations: 42.52 kB / 306.8 MB, free: 11.48 MB / 282.7 MB Notification: Performance of pre-optimization done (n=32): time 1.573e-06/0.1318, allocations: 0 / 306.8 MB, free: 11.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=38): time 0.002474/0.1343, allocations: 1.873 MB / 308.7 MB, free: 10.4 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.1343, allocations: 116.7 kB / 308.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.1344, allocations: 206 kB / 309 MB, free: 10.14 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.1345, allocations: 30.64 kB / 309 MB, free: 10.1 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.98e-05/0.1345, allocations: 145.6 kB / 309.1 MB, free: 9.973 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.674e-05/0.1346, allocations: 148 kB / 309.3 MB, free: 9.855 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.194e-05/0.1346, allocations: 71.39 kB / 309.4 MB, free: 9.816 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.812e-05/0.1347, allocations: 338.1 kB / 309.7 MB, free: 9.492 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.1349, allocations: 114.7 kB / 309.8 MB, free: 9.457 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.135, allocations: 169.9 kB / 310 MB, free: 9.363 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003571/0.1354, allocations: 289.9 kB / 310.3 MB, free: 9.227 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1354, allocations: 1.719 kB / 310.3 MB, free: 9.227 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004659/0.1359, allocations: 370.7 kB / 310.6 MB, free: 9.086 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1359, allocations: 5.594 kB / 310.6 MB, free: 9.086 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.1359, allocations: 1.594 kB / 310.6 MB, free: 9.086 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.1359, allocations: 3.969 kB / 310.6 MB, free: 9.086 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003585/0.1363, allocations: 154.7 kB / 310.8 MB, free: 9.074 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.1363, allocations: 7.75 kB / 310.8 MB, free: 9.074 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.1364, allocations: 26.69 kB / 310.8 MB, free: 9.066 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.1364, allocations: 13.28 kB / 310.8 MB, free: 9.062 MB / 282.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 7.96e-05/0.1365, allocations: 144 kB / 311 MB, free: 8.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.988e-05/0.1365, allocations: 25.95 kB / 311 MB, free: 8.918 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.819e-05/0.1366, allocations: 33.25 kB / 311 MB, free: 8.895 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.1366, allocations: 8.859 kB / 311 MB, free: 8.895 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1366, allocations: 7.812 kB / 311 MB, free: 8.891 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1366, allocations: 2.016 kB / 311 MB, free: 8.891 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.1378, allocations: 1.23 MB / 312.3 MB, free: 8.105 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1378, allocations: 1.812 kB / 312.3 MB, free: 8.105 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003939/0.1382, allocations: 173.1 kB / 312.4 MB, free: 8.098 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.1382, allocations: 2.75 kB / 312.4 MB, free: 8.098 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.1382, allocations: 12.22 kB / 312.5 MB, free: 8.094 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1382, allocations: 4.594 kB / 312.5 MB, free: 8.094 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.1382, allocations: 3.266 kB / 312.5 MB, free: 8.094 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.1393, allocations: 0.9628 MB / 313.4 MB, free: 7.566 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.557e-05/0.1394, allocations: 56.84 kB / 313.5 MB, free: 7.539 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.1394, allocations: 14.03 kB / 313.5 MB, free: 7.531 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.1396, allocations: 44.05 kB / 313.5 MB, free: 7.527 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.288e-05/0.1397, allocations: 43.44 kB / 313.6 MB, free: 7.516 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.1397, allocations: 15.06 kB / 313.6 MB, free: 7.512 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.521e-05/0.1398, allocations: 149.5 kB / 313.7 MB, free: 7.414 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1398, allocations: 0 / 313.7 MB, free: 7.414 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000265/0.14, allocations: 82.81 kB / 313.8 MB, free: 7.402 MB / 282.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.001136/0.1412, allocations: 1.497 MB / 315.3 MB, free: 6.355 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000543/0.1417, allocations: 350 kB / 315.7 MB, free: 6.281 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1417, allocations: 1.125 kB / 315.7 MB, free: 6.281 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000355/0.1421, allocations: 246.1 kB / 315.9 MB, free: 6.227 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004359/0.1425, allocations: 71.16 kB / 316 MB, free: 6.199 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004315/0.1468, allocations: 3.742 MB / 319.7 MB, free: 3.938 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.1469, allocations: 160.4 kB / 319.9 MB, free: 3.859 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001079/0.147, allocations: 40.44 kB / 319.9 MB, free: 3.855 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.1471, allocations: 98.84 kB / 320 MB, free: 3.789 MB / 282.7 MB Notification: Performance of SimCode: time 4.51e-07/0.1471, allocations: 0 / 320 MB, free: 3.789 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01768/0.1648, allocations: 8.256 MB / 328.3 MB, free: 15.59 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.816/6.981, allocations: 9.328 kB / 328.3 MB, free: 15.58 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_Backlash_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_Backlash.fmu > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 8.468802721239626]