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.001273/0.001273, allocations: 121.4 kB / 17.79 MB, free: 5.121 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.001345/0.001345, allocations: 190.9 kB / 20.73 MB, free: 2.184 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.338/1.338, allocations: 225.6 MB / 249.1 MB, free: 3.617 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 47.92 kB / 365.6 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09135/0.09279, allocations: 52.16 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003384/0.09617, allocations: 2.13 MB / 419.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009146/0.09709, allocations: 0.5415 MB / 420.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.0972, allocations: 4 kB / 420.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001582/0.09736, allocations: 35.66 kB / 420.5 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.09747, allocations: 51.5 kB / 420.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.09765, allocations: 51.94 kB / 420.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002597/0.09791, allocations: 207 kB / 420.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.09808, allocations: 57.62 kB / 420.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.152e-05/0.09817, allocations: 75.78 kB / 420.9 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.0983, allocations: 79.64 kB / 421 MB, free: 9.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.121e-05/0.09833, allocations: 16 kB / 421 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.999e-05/0.09836, allocations: 16 kB / 421 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.867e-05/0.09841, allocations: 47.78 kB / 421.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.01e-05/0.0985, allocations: 91.58 kB / 421.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002676/0.09877, allocations: 215.1 kB / 421.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.09877, allocations: 0 / 421.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.09877, allocations: 0 / 421.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.09878, allocations: 0 / 421.4 MB, free: 9.008 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.0006987/0.09948, allocations: 474.6 kB / 421.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.09952, allocations: 12.03 kB / 421.8 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.07e-05/0.09958, allocations: 50.73 kB / 421.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.09962, allocations: 24.8 kB / 421.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003153/0.09994, allocations: 224 kB / 422.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.09995, allocations: 12.38 kB / 422.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.829e-05/0.09999, allocations: 20.38 kB / 422.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003115/0.1003, allocations: 161.5 kB / 422.3 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.1003, allocations: 0 / 422.3 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.1003, allocations: 8 kB / 422.3 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.1003, allocations: 8 kB / 422.3 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002254/0.1006, allocations: 103.7 kB / 422.4 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008894/0.1015, allocations: 0.5967 MB / 423 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002377/0.1017, allocations: 106.6 kB / 423.1 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.092e-05/0.1018, allocations: 40.78 kB / 423.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.1018, allocations: 3.984 kB / 423.2 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.1018, allocations: 38.56 kB / 423.2 MB, free: 6.973 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.1018, allocations: 4 kB / 423.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.00154/0.1034, allocations: 0.7912 MB / 424 MB, free: 6.086 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.1034, allocations: 55.41 kB / 424.1 MB, free: 6.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.1036, allocations: 166.8 kB / 424.2 MB, free: 5.848 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.1036, allocations: 25.7 kB / 424.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.433e-05/0.1037, allocations: 128.5 kB / 424.4 MB, free: 5.688 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.952e-05/0.1037, allocations: 63.44 kB / 424.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.801e-05/0.1038, allocations: 37.7 kB / 424.5 MB, free: 5.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.104, allocations: 330.8 kB / 424.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.956e-05/0.1041, allocations: 39.98 kB / 424.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.1042, allocations: 79.34 kB / 424.9 MB, free: 5.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/0.1044, allocations: 135.3 kB / 425.1 MB, free: 4.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1044, allocations: 0 / 425.1 MB, free: 4.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003862/0.1048, allocations: 209.2 kB / 425.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.1048, allocations: 7.984 kB / 425.3 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1048, allocations: 0 / 425.3 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001703/0.105, allocations: 40.78 kB / 425.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.1051, allocations: 31.98 kB / 425.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/0.1066, allocations: 1.543 MB / 426.9 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.662e-05/0.1066, allocations: 8 kB / 426.9 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.1067, allocations: 8.062 kB / 426.9 MB, free: 2.98 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.0001347/0.1068, allocations: 133.7 kB / 427 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.015e-05/0.1068, allocations: 15.91 kB / 427 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.766e-05/0.1069, allocations: 25.17 kB / 427.1 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1069, allocations: 0 / 427.1 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.1069, allocations: 3.938 kB / 427.1 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1069, allocations: 48 / 427.1 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008512/0.1077, allocations: 0.5878 MB / 427.7 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1077, allocations: 3.938 kB / 427.7 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.1079, allocations: 27.98 kB / 427.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001208/0.108, allocations: 32.83 kB / 427.7 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.108, allocations: 8 kB / 427.7 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001262/0.1093, allocations: 1.473 MB / 429.2 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.1093, allocations: 4.031 kB / 429.2 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005049/0.1098, allocations: 342.3 kB / 429.5 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.821e-05/0.1099, allocations: 92.98 kB / 429.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.1099, allocations: 4 kB / 429.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.948e-05/0.11, allocations: 4 kB / 429.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.11, allocations: 11.98 kB / 429.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.11, allocations: 12.05 kB / 429.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001003/0.1101, allocations: 115.3 kB / 429.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1101, allocations: 0 / 429.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003088/0.1105, allocations: 51.92 kB / 429.8 MB, free: 15.79 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.0008483/0.1113, allocations: 0.8654 MB / 430.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005107/0.1118, allocations: 250.5 kB / 430.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1118, allocations: 3.938 kB / 430.9 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002686/0.1121, allocations: 193.1 kB / 431.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.1124, allocations: 33.47 kB / 431.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002735/0.1152, allocations: 2.13 MB / 433.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.1155, allocations: 0.7281 MB / 434 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.391e-05/0.1156, allocations: 17.55 kB / 434 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.204e-05/0.1157, allocations: 51.41 kB / 434.1 MB, free: 11.36 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1157, allocations: 0 / 434.1 MB, free: 11.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03335/0.149, allocations: 3.801 MB / 437.9 MB, free: 7.676 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.965/10.11, allocations: 4.562 kB / 437.9 MB, free: 7.672 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.877853029873222]