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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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: translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel") translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001309/0.001309, allocations: 112.1 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001151/0.001152, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 55.91 kB / 359.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2058, allocations: 50.55 MB / 409.9 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002918/0.2088, allocations: 2.128 MB / 412 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008485/0.2096, allocations: 0.5726 MB / 412.6 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.516e-05/0.2097, allocations: 7.938 kB / 412.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001356/0.2099, allocations: 35.66 kB / 412.7 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.21, allocations: 51.5 kB / 412.7 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.2102, allocations: 55.92 kB / 412.8 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000211/0.2104, allocations: 203.1 kB / 413 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.2105, allocations: 69.66 kB / 413 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8e-05/0.2106, allocations: 79.7 kB / 413.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.2108, allocations: 83.62 kB / 413.2 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.2108, allocations: 16 kB / 413.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.856e-05/0.2108, allocations: 16 kB / 413.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.413e-05/0.2109, allocations: 35.92 kB / 413.3 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.824e-05/0.211, allocations: 95.47 kB / 413.4 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.2112, allocations: 212.4 kB / 413.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2112, allocations: 4 kB / 413.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2112, allocations: 4 kB / 413.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.2112, allocations: 0 / 413.6 MB, free: 13.96 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.0005846/0.2118, allocations: 466.8 kB / 414 MB, free: 13.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.2118, allocations: 8.031 kB / 414 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.313e-05/0.2119, allocations: 20.75 kB / 414.1 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.2121, allocations: 238.7 kB / 414.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.2122, allocations: 16.16 kB / 414.3 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.63e-05/0.2122, allocations: 24.36 kB / 414.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002975/0.2125, allocations: 145.9 kB / 414.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.2125, allocations: 0 / 414.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.2126, allocations: 8 kB / 414.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.2126, allocations: 4 kB / 414.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002185/0.2128, allocations: 111.6 kB / 414.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007927/0.2136, allocations: 0.5926 MB / 415.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.2138, allocations: 110.6 kB / 415.3 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.311e-05/0.2139, allocations: 44.84 kB / 415.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.2139, allocations: 0 / 415.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.214, allocations: 46.48 kB / 415.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.052e-06/0.214, allocations: 0 / 415.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001395/0.2154, allocations: 0.7937 MB / 416.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.2154, allocations: 55.41 kB / 416.2 MB, free: 11.03 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.2156, allocations: 162.2 kB / 416.4 MB, free: 10.86 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.2156, allocations: 29.7 kB / 416.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.707e-05/0.2156, allocations: 132.3 kB / 416.5 MB, free: 10.69 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.764e-05/0.2157, allocations: 59.11 kB / 416.6 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-05/0.2158, allocations: 37.7 kB / 416.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.755e-05/0.2159, allocations: 322.8 kB / 417 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.216, allocations: 51.92 kB / 417 MB, free: 10.21 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.2161, allocations: 78.77 kB / 417.1 MB, free: 10.13 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.2163, allocations: 123.4 kB / 417.2 MB, free: 9.996 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2163, allocations: 4 kB / 417.2 MB, free: 9.992 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003708/0.2167, allocations: 210 kB / 417.4 MB, free: 9.777 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.2167, allocations: 4 kB / 417.4 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2167, allocations: 4 kB / 417.4 MB, free: 9.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001504/0.2169, allocations: 36.84 kB / 417.5 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.2171, allocations: 39.91 kB / 417.5 MB, free: 9.691 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/0.2183, allocations: 1.535 MB / 419 MB, free: 8.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.291e-05/0.2184, allocations: 7.969 kB / 419 MB, free: 8.004 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.2184, allocations: 8 kB / 419 MB, free: 7.996 MB / 334.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 9.99e-05/0.2185, allocations: 133.7 kB / 419.2 MB, free: 7.855 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.826e-05/0.2185, allocations: 15.81 kB / 419.2 MB, free: 7.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.458e-05/0.2186, allocations: 25.17 kB / 419.2 MB, free: 7.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2186, allocations: 0 / 419.2 MB, free: 7.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2186, allocations: 3.938 kB / 419.2 MB, free: 7.816 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.233e-05/0.2186, allocations: 93.02 kB / 419.3 MB, free: 7.707 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.2187, allocations: 4 kB / 419.3 MB, free: 7.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.2188, allocations: 7.984 kB / 419.3 MB, free: 7.695 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.2188, allocations: 11.92 kB / 419.3 MB, free: 7.684 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005213/0.2194, allocations: 284.7 kB / 419.6 MB, free: 7.398 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000431/0.2198, allocations: 410.3 kB / 420 MB, free: 6.98 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001036/0.2199, allocations: 55.88 kB / 420.1 MB, free: 6.926 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.051e-05/0.22, allocations: 116.1 kB / 420.2 MB, free: 6.812 MB / 334.1 MB Notification: Performance of Backend: time 1.71e-07/0.22, allocations: 0 / 420.2 MB, free: 6.812 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006005/0.2206, allocations: 290 kB / 420.5 MB, free: 6.512 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008985/0.2215, allocations: 0.9498 MB / 421.4 MB, free: 5.512 MB / 334.1 MB Notification: Performance of Templates: time 0.004579/0.2261, allocations: 1.978 MB / 423.4 MB, free: 3.539 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (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 & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches