Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 116.6 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 189 kB / 21.43 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 225.6 MB / 249.8 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] 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.RollingWheel,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 51.91 kB / 366.3 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1142, allocations: 52.13 MB / 418.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003631/0.1179, allocations: 2.143 MB / 420.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009602/0.1188, allocations: 0.5376 MB / 421.1 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.1189, allocations: 7.938 kB / 421.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.1191, allocations: 31.66 kB / 421.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.1192, allocations: 55.55 kB / 421.2 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001915/0.1194, allocations: 51.89 kB / 421.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002658/0.1197, allocations: 207.1 kB / 421.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.1198, allocations: 61.58 kB / 421.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.1199, allocations: 71.78 kB / 421.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.1201, allocations: 83.61 kB / 421.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.459e-05/0.1201, allocations: 16 kB / 421.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.152e-05/0.1202, allocations: 16 kB / 421.7 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.326e-05/0.1202, allocations: 43.86 kB / 421.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001821/0.1204, allocations: 87.59 kB / 421.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000362/0.1207, allocations: 219.1 kB / 422.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1207, allocations: 3.938 kB / 422.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1207, allocations: 0 / 422.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.1208, allocations: 0 / 422.1 MB, free: 8.984 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007852/0.1215, allocations: 474.6 kB / 422.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.1216, allocations: 12.03 kB / 422.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.671e-05/0.1216, allocations: 12.12 kB / 422.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.319e-05/0.1217, allocations: 50.73 kB / 422.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.062e-05/0.1217, allocations: 24.8 kB / 422.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.122, allocations: 230.3 kB / 422.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.122, allocations: 12.38 kB / 422.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.259e-05/0.1221, allocations: 20.38 kB / 422.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003281/0.1224, allocations: 153.1 kB / 423 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.1224, allocations: 4 kB / 423 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.1224, allocations: 8 kB / 423.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.1224, allocations: 4 kB / 423.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002328/0.1227, allocations: 103.9 kB / 423.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008876/0.1236, allocations: 0.5889 MB / 423.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.1238, allocations: 110.6 kB / 423.9 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.066e-05/0.1239, allocations: 40.83 kB / 423.9 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.1239, allocations: 7.984 kB / 423.9 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.124, allocations: 38.48 kB / 423.9 MB, free: 6.941 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.124, allocations: 0 / 423.9 MB, free: 6.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001541/0.1255, allocations: 0.7947 MB / 424.7 MB, free: 6.051 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.1255, allocations: 51.41 kB / 424.8 MB, free: 5.988 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.1257, allocations: 158.8 kB / 424.9 MB, free: 5.824 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.1257, allocations: 29.7 kB / 425 MB, free: 5.789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.782e-05/0.1258, allocations: 132.5 kB / 425.1 MB, free: 5.656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.214e-05/0.1259, allocations: 63.44 kB / 425.2 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.112e-05/0.1259, allocations: 37.7 kB / 425.2 MB, free: 5.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1261, allocations: 326.8 kB / 425.5 MB, free: 5.223 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.1262, allocations: 47.97 kB / 425.6 MB, free: 5.176 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.1263, allocations: 79.28 kB / 425.6 MB, free: 5.086 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000233/0.1266, allocations: 130.2 kB / 425.8 MB, free: 4.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1266, allocations: 0 / 425.8 MB, free: 4.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004012/0.127, allocations: 210.2 kB / 426 MB, free: 4.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.127, allocations: 8.062 kB / 426 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.127, allocations: 4 kB / 426 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001769/0.1272, allocations: 28.84 kB / 426 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.1273, allocations: 43.91 kB / 426.1 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/0.1288, allocations: 1.535 MB / 427.6 MB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.223e-05/0.1289, allocations: 4.031 kB / 427.6 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.1289, allocations: 8 kB / 427.6 MB, free: 2.957 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.1291, allocations: 137.8 kB / 427.7 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.917e-05/0.1291, allocations: 19.84 kB / 427.8 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.076e-05/0.1292, allocations: 25.17 kB / 427.8 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.1292, allocations: 48 / 427.8 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.984e-06/0.1292, allocations: 7.922 kB / 427.8 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.1292, allocations: 4 kB / 427.8 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000922/0.1301, allocations: 0.5822 MB / 428.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1301, allocations: 0 / 428.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.1303, allocations: 31.91 kB / 428.4 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001139/0.1304, allocations: 32.84 kB / 428.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.1304, allocations: 4 kB / 428.4 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001287/0.1317, allocations: 1.473 MB / 429.9 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1317, allocations: 0 / 429.9 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000513/0.1322, allocations: 342 kB / 430.3 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.649e-05/0.1323, allocations: 93.05 kB / 430.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.1323, allocations: 0 / 430.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.1324, allocations: 8 kB / 430.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/0.1324, allocations: 11.97 kB / 430.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.1325, allocations: 8 kB / 430.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001138/0.1326, allocations: 127.2 kB / 430.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1326, allocations: 4.062 kB / 430.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002971/0.1329, allocations: 40 kB / 430.5 MB, free: 15.77 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001051/0.1339, allocations: 0.883 MB / 431.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005546/0.1345, allocations: 250.5 kB / 431.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1345, allocations: 0 / 431.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002883/0.1348, allocations: 190.5 kB / 431.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.1351, allocations: 22.33 kB / 431.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002913/0.138, allocations: 2.135 MB / 434 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.1384, allocations: 0.7359 MB / 434.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.889e-05/0.1385, allocations: 13.55 kB / 434.8 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.561e-05/0.1386, allocations: 51.42 kB / 434.8 MB, free: 11.32 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1386, allocations: 0 / 434.8 MB, free: 11.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02642/0.165, allocations: 3.83 MB / 438.6 MB, free: 7.633 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.653/9.818, allocations: 3.938 kB / 438.6 MB, free: 7.629 MB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel_fmu --startTime=0 --stopTime=5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.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: 12.378436523023993]