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.001537/0.001537, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001706/0.001706, allocations: 207.4 kB / 24.53 MB, free: 4.07 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.38/1.38, allocations: 230.5 MB / 258.2 MB, free: 8.023 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 63.89 kB / 378.6 MB, free: 3.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2846, allocations: 53.41 MB / 432 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.00377/0.2884, allocations: 2.148 MB / 434.1 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.2895, allocations: 0.5844 MB / 434.7 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.2896, allocations: 11.94 kB / 434.7 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.2898, allocations: 31.66 kB / 434.7 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.2899, allocations: 51.55 kB / 434.8 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001982/0.2901, allocations: 51.88 kB / 434.8 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002703/0.2904, allocations: 203.1 kB / 435 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.2905, allocations: 56.83 kB / 435.1 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.582e-05/0.2906, allocations: 75.72 kB / 435.2 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.2908, allocations: 83.61 kB / 435.2 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.143e-05/0.2908, allocations: 20 kB / 435.3 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.107e-05/0.2908, allocations: 20 kB / 435.3 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.21e-05/0.2909, allocations: 35.86 kB / 435.3 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.41e-05/0.291, allocations: 91.59 kB / 435.4 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.2913, allocations: 212 kB / 435.6 MB, free: 3.035 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2913, allocations: 0 / 435.6 MB, free: 3.035 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2913, allocations: 0 / 435.6 MB, free: 3.035 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.2913, allocations: 3.938 kB / 435.6 MB, free: 3.031 MB / 334.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.0007405/0.292, allocations: 405.5 kB / 436 MB, free: 2.605 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.292, allocations: 8.031 kB / 436 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.786e-05/0.2921, allocations: 7.969 kB / 436 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.562e-05/0.2921, allocations: 54.73 kB / 436.1 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.2922, allocations: 20.78 kB / 436.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.2925, allocations: 170.1 kB / 436.3 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.2925, allocations: 16.38 kB / 436.3 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.245e-05/0.2925, allocations: 20.38 kB / 436.3 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003302/0.2929, allocations: 153.5 kB / 436.5 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.2929, allocations: 4 kB / 436.5 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.2929, allocations: 8 kB / 436.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.2929, allocations: 4 kB / 436.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002396/0.2931, allocations: 103.7 kB / 436.6 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000952/0.2941, allocations: 0.5451 MB / 437.1 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.2943, allocations: 114.6 kB / 437.2 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.162e-05/0.2944, allocations: 36.84 kB / 437.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.2945, allocations: 0 / 437.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.2945, allocations: 34.56 kB / 437.3 MB, free: 1.211 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.022e-06/0.2945, allocations: 4 kB / 437.3 MB, free: 1.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001555/0.296, allocations: 0.6579 MB / 438 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.2961, allocations: 55.41 kB / 438 MB, free: 440 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.2962, allocations: 166.8 kB / 438.2 MB, free: 264 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.2963, allocations: 29.7 kB / 438.2 MB, free: 228 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.227e-05/0.2964, allocations: 124.4 kB / 438.3 MB, free: 100 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.838e-05/0.2964, allocations: 71.42 kB / 438.4 MB, free: 28 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-05/0.2965, allocations: 29.72 kB / 438.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.2967, allocations: 334.8 kB / 438.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.2968, allocations: 35.98 kB / 438.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.2969, allocations: 90.91 kB / 438.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002411/0.2972, allocations: 130.2 kB / 439 MB, free: 15.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.2972, allocations: 0 / 439 MB, free: 15.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004097/0.2976, allocations: 210.2 kB / 439.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.2976, allocations: 4 kB / 439.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.2976, allocations: 3.984 kB / 439.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001926/0.2978, allocations: 44.77 kB / 439.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.2979, allocations: 35.92 kB / 439.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001408/0.2994, allocations: 1.428 MB / 440.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.416e-05/0.2994, allocations: 12.02 kB / 440.7 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.2995, allocations: 4.062 kB / 440.7 MB, free: 13.52 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.0001269/0.2996, allocations: 133.8 kB / 440.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.934e-05/0.2996, allocations: 15.91 kB / 440.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.508e-05/0.2997, allocations: 17.12 kB / 440.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2997, allocations: 3.938 kB / 440.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2997, allocations: 3.938 kB / 440.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.2997, allocations: 7.984 kB / 440.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008458/0.3005, allocations: 0.5518 MB / 441.5 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3005, allocations: 0 / 441.5 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.3007, allocations: 27.92 kB / 441.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001103/0.3008, allocations: 32.83 kB / 441.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.3008, allocations: 8 kB / 441.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001233/0.302, allocations: 1.377 MB / 442.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.302, allocations: 0 / 442.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005091/0.3025, allocations: 342.3 kB / 443.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.02e-05/0.3026, allocations: 11.92 kB / 443.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.3026, allocations: 8 kB / 443.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.516e-05/0.3027, allocations: 4 kB / 443.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.361e-05/0.3027, allocations: 11.97 kB / 443.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.3028, allocations: 8.062 kB / 443.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.3029, allocations: 127.2 kB / 443.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3029, allocations: 0 / 443.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002907/0.3031, allocations: 40 kB / 443.5 MB, free: 10.6 MB / 350.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.0009634/0.3041, allocations: 0.8797 MB / 444.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005086/0.3046, allocations: 246.5 kB / 444.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3046, allocations: 0 / 444.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002759/0.3049, allocations: 189.5 kB / 444.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.3053, allocations: 32.08 kB / 444.8 MB, free: 9.211 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002758/0.308, allocations: 2.135 MB / 446.9 MB, free: 6.973 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.3084, allocations: 0.7359 MB / 447.7 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.317e-05/0.3084, allocations: 17.48 kB / 447.7 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.118e-05/0.3085, allocations: 51.42 kB / 447.7 MB, free: 6.145 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3085, allocations: 0 / 447.7 MB, free: 6.145 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03097/0.3395, allocations: 3.96 MB / 451.7 MB, free: 2.305 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.35, allocations: 8.812 kB / 451.7 MB, free: 2.301 MB / 350.1 MB " [Timeout remaining time 648] (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/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.809803634008858]