Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.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.001332/0.001332, allocations: 132.4 kB / 17.8 MB, free: 5.219 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.001545/0.001545, allocations: 210.5 kB / 20.75 MB, free: 2.27 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.455/1.455, allocations: 230.4 MB / 254 MB, free: 15.18 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.RollingWheel,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 67.89 kB / 373 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09709/0.0991, allocations: 53.38 MB / 426.3 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003502/0.1026, allocations: 2.139 MB / 428.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.1037, allocations: 0.5882 MB / 429.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.1039, allocations: 7.938 kB / 429.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000149/0.104, allocations: 31.66 kB / 429.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.1041, allocations: 47.56 kB / 429.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.1043, allocations: 55.86 kB / 429.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002546/0.1046, allocations: 203.1 kB / 429.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.1047, allocations: 49.66 kB / 429.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.1048, allocations: 83.72 kB / 429.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.1049, allocations: 79.62 kB / 429.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.108e-05/0.105, allocations: 16 kB / 429.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.489e-05/0.105, allocations: 20 kB / 429.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.102e-05/0.105, allocations: 39.84 kB / 429.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.1052, allocations: 91.53 kB / 429.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002876/0.1054, allocations: 215.1 kB / 430 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1054, allocations: 0 / 430 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1054, allocations: 0 / 430 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.1055, allocations: 0 / 430 MB, free: 0.9805 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.0007026/0.1062, allocations: 486.6 kB / 430.5 MB, free: 468 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.1062, allocations: 8.031 kB / 430.5 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.598e-05/0.1063, allocations: 46.73 kB / 430.5 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.618e-05/0.1063, allocations: 20.84 kB / 430.5 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.1066, allocations: 220.1 kB / 430.8 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.1066, allocations: 20.16 kB / 430.8 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.182e-05/0.1067, allocations: 16.38 kB / 430.8 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003616/0.107, allocations: 157.7 kB / 430.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.107, allocations: 0 / 430.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.1071, allocations: 8 kB / 431 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.1071, allocations: 4 kB / 431 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000281/0.1073, allocations: 111.4 kB / 431.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009509/0.1083, allocations: 0.5889 MB / 431.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.1086, allocations: 110.6 kB / 431.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.238e-05/0.1086, allocations: 32.84 kB / 431.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.1087, allocations: 4 kB / 431.8 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.1087, allocations: 34.56 kB / 431.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.1087, allocations: 0 / 431.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.001599/0.1103, allocations: 0.8117 MB / 432.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.1103, allocations: 51.41 kB / 432.7 MB, free: 14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.1105, allocations: 166.2 kB / 432.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.1105, allocations: 33.64 kB / 432.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.284e-05/0.1106, allocations: 124.4 kB / 433 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.753e-05/0.1107, allocations: 75.41 kB / 433.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-05/0.1107, allocations: 33.72 kB / 433.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.1109, allocations: 330.8 kB / 433.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.111, allocations: 39.98 kB / 433.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.1111, allocations: 79.41 kB / 433.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.1114, allocations: 133 kB / 433.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1114, allocations: 0 / 433.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000416/0.1118, allocations: 207.8 kB / 433.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1118, allocations: 4 kB / 433.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1118, allocations: 4 kB / 433.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001771/0.112, allocations: 40.83 kB / 433.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.1122, allocations: 31.92 kB / 434 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/0.1136, allocations: 1.532 MB / 435.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.945e-05/0.1137, allocations: 12.02 kB / 435.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.1137, allocations: 4 kB / 435.5 MB, free: 10.96 MB / 366.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.000131/0.1138, allocations: 138.7 kB / 435.7 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/0.1139, allocations: 15.91 kB / 435.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.364e-05/0.1139, allocations: 17.19 kB / 435.7 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1139, allocations: 0 / 435.7 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.1139, allocations: 3.938 kB / 435.7 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.1139, allocations: 7.984 kB / 435.7 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009566/0.1149, allocations: 0.5859 MB / 436.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1149, allocations: 0 / 436.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.1151, allocations: 31.92 kB / 436.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001273/0.1152, allocations: 32.86 kB / 436.3 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.1152, allocations: 8.188 kB / 436.4 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001282/0.1165, allocations: 1.477 MB / 437.8 MB, free: 8.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.1165, allocations: 3.984 kB / 437.8 MB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005533/0.117, allocations: 340 kB / 438.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.91e-05/0.1171, allocations: 96.97 kB / 438.3 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.1171, allocations: 4 kB / 438.3 MB, free: 7.957 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.1172, allocations: 4 kB / 438.3 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.909e-05/0.1173, allocations: 11.98 kB / 438.3 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.1173, allocations: 8.062 kB / 438.3 MB, free: 7.934 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000111/0.1174, allocations: 123.2 kB / 438.4 MB, free: 7.812 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1174, allocations: 0 / 438.4 MB, free: 7.812 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003216/0.1177, allocations: 47.94 kB / 438.5 MB, free: 7.766 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.0009176/0.1187, allocations: 0.8672 MB / 439.3 MB, free: 6.871 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000553/0.1192, allocations: 250.3 kB / 439.6 MB, free: 6.613 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1192, allocations: 0 / 439.6 MB, free: 6.613 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000289/0.1195, allocations: 186.6 kB / 439.8 MB, free: 6.418 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.1199, allocations: 33.06 kB / 439.8 MB, free: 6.391 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002848/0.1227, allocations: 2.139 MB / 441.9 MB, free: 4.152 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.1231, allocations: 0.7281 MB / 442.6 MB, free: 3.398 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.039e-05/0.1232, allocations: 17.55 kB / 442.7 MB, free: 3.383 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.078e-05/0.1233, allocations: 47.42 kB / 442.7 MB, free: 3.336 MB / 366.1 MB Notification: Performance of SimCode: time 8.92e-07/0.1233, allocations: 0 / 442.7 MB, free: 3.336 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2138/0.337, allocations: 3.772 MB / 446.5 MB, free: 23.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/10.63, allocations: 9.375 kB / 446.5 MB, free: 23.95 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 13.2104829759337]