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.001758/0.001758, allocations: 122.7 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.002105/0.002105, 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.454/1.454, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.001803/0.001803, allocations: 59.89 kB / 373.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09717/0.09897, allocations: 53.33 MB / 426.7 MB, free: 5.035 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003414/0.1024, allocations: 2.138 MB / 428.8 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.1034, allocations: 0.5804 MB / 429.4 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.1035, allocations: 11.94 kB / 429.4 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.1037, allocations: 31.72 kB / 429.4 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.1038, allocations: 47.5 kB / 429.5 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.104, allocations: 55.92 kB / 429.5 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002691/0.1042, allocations: 203.1 kB / 429.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.1044, allocations: 53.59 kB / 429.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.1045, allocations: 79.7 kB / 429.8 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.1046, allocations: 87.62 kB / 429.9 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.25e-05/0.1047, allocations: 16 kB / 429.9 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.071e-05/0.1047, allocations: 16 kB / 430 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.692e-05/0.1047, allocations: 31.86 kB / 430 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.1048, allocations: 99.53 kB / 430.1 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002782/0.1051, allocations: 207.1 kB / 430.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1051, allocations: 0 / 430.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1051, allocations: 0 / 430.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1051, allocations: 0 / 430.3 MB, free: 1.375 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.0007353/0.1059, allocations: 482.6 kB / 430.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.1059, allocations: 8.031 kB / 430.8 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.121e-05/0.106, allocations: 54.73 kB / 430.8 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.227e-05/0.106, allocations: 16.84 kB / 430.8 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/0.1063, allocations: 228 kB / 431.1 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.1064, allocations: 12.16 kB / 431.1 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.271e-05/0.1064, allocations: 24.31 kB / 431.1 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003185/0.1067, allocations: 149.8 kB / 431.2 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.1067, allocations: 4 kB / 431.2 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.1068, allocations: 11.98 kB / 431.3 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.1068, allocations: 4 kB / 431.3 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002594/0.107, allocations: 107.5 kB / 431.4 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.108, allocations: 0.5889 MB / 432 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002481/0.1083, allocations: 114.6 kB / 432.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.437e-05/0.1084, allocations: 40.84 kB / 432.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.1084, allocations: 3.984 kB / 432.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.1084, allocations: 30.56 kB / 432.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.1084, allocations: 4 kB / 432.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.00165/0.1101, allocations: 0.7958 MB / 432.9 MB, free: 14.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.1101, allocations: 59.34 kB / 433 MB, free: 14.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.1103, allocations: 158.2 kB / 433.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.1103, allocations: 37.64 kB / 433.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.1104, allocations: 132.4 kB / 433.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.187e-05/0.1104, allocations: 59.44 kB / 433.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.316e-05/0.1105, allocations: 37.7 kB / 433.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1107, allocations: 330.8 kB / 433.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.1108, allocations: 43.97 kB / 433.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.1109, allocations: 83.34 kB / 433.9 MB, free: 13.47 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.1111, allocations: 132.7 kB / 434 MB, free: 13.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1111, allocations: 0 / 434 MB, free: 13.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003927/0.1115, allocations: 207.9 kB / 434.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.1115, allocations: 8 kB / 434.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1115, allocations: 0 / 434.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001683/0.1117, allocations: 40.83 kB / 434.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.1119, allocations: 27.98 kB / 434.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001538/0.1134, allocations: 1.532 MB / 435.8 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.094e-05/0.1135, allocations: 8.031 kB / 435.8 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.1135, allocations: 8 kB / 435.8 MB, free: 11.35 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.0001528/0.1137, allocations: 138.7 kB / 436 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-05/0.1137, allocations: 19.92 kB / 436 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.045e-05/0.1137, allocations: 21.19 kB / 436 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1137, allocations: 4 kB / 436 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1138, allocations: 3.938 kB / 436 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1138, allocations: 0 / 436 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008893/0.1146, allocations: 0.58 MB / 436.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.1146, allocations: 3.984 kB / 436.6 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.1148, allocations: 31.98 kB / 436.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000113/0.1149, allocations: 28.84 kB / 436.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.1149, allocations: 0 / 436.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001296/0.1162, allocations: 1.481 MB / 438.1 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1162, allocations: 0 / 438.1 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005451/0.1168, allocations: 348.8 kB / 438.5 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.803e-05/0.1168, allocations: 92.98 kB / 438.6 MB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.1169, allocations: 4 kB / 438.6 MB, free: 8.355 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.117, allocations: 7.984 kB / 438.6 MB, free: 8.348 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.058e-05/0.117, allocations: 12.12 kB / 438.6 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.117, allocations: 12 kB / 438.6 MB, free: 8.324 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001092/0.1171, allocations: 123.2 kB / 438.7 MB, free: 8.203 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1171, allocations: 0 / 438.7 MB, free: 8.203 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000297/0.1174, allocations: 47.94 kB / 438.8 MB, free: 8.156 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.0008648/0.1183, allocations: 0.8715 MB / 439.6 MB, free: 7.258 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005127/0.1188, allocations: 250.4 kB / 439.9 MB, free: 7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1188, allocations: 0 / 439.9 MB, free: 7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002696/0.1191, allocations: 186.6 kB / 440.1 MB, free: 6.805 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.1194, allocations: 32.09 kB / 440.1 MB, free: 6.773 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002725/0.1222, allocations: 2.131 MB / 442.2 MB, free: 4.543 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.1225, allocations: 0.7359 MB / 443 MB, free: 3.781 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.565e-05/0.1226, allocations: 13.55 kB / 443 MB, free: 3.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.637e-05/0.1227, allocations: 47.42 kB / 443 MB, free: 3.723 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1227, allocations: 4 kB / 443 MB, free: 3.719 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03117/0.1538, allocations: 3.784 MB / 446.8 MB, free: 48 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.81, allocations: 11.36 kB / 446.8 MB, free: 40 kB / 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel_fmu --startTime=0 --stopTime=5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.798203755635768]