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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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: translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 114.2 kB / 17.75 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 185.4 kB / 18.68 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009515/0.0009515, allocations: 55.91 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2057, allocations: 49.43 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002849/0.2086, allocations: 2.124 MB / 403.5 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007397/0.2094, allocations: 0.5376 MB / 404.1 MB, free: 6.211 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.699e-05/0.2095, allocations: 4 kB / 404.1 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001428/0.2096, allocations: 35.66 kB / 404.1 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.694e-05/0.2097, allocations: 55.55 kB / 404.2 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001588/0.2099, allocations: 47.89 kB / 404.2 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.2101, allocations: 215.1 kB / 404.4 MB, free: 5.859 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.2103, allocations: 73.62 kB / 404.5 MB, free: 5.789 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.01e-05/0.2104, allocations: 79.66 kB / 404.6 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.2105, allocations: 83.69 kB / 404.6 MB, free: 5.629 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.089e-05/0.2105, allocations: 16 kB / 404.7 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.228e-05/0.2106, allocations: 19.94 kB / 404.7 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.454e-05/0.2106, allocations: 31.91 kB / 404.7 MB, free: 5.562 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.156e-05/0.2107, allocations: 95.55 kB / 404.8 MB, free: 5.469 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.2109, allocations: 208.4 kB / 405 MB, free: 5.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2109, allocations: 0 / 405 MB, free: 5.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2109, allocations: 0 / 405 MB, free: 5.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.91e-06/0.2109, allocations: 4 kB / 405 MB, free: 5.266 MB / 318.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.0005931/0.2115, allocations: 482.7 kB / 405.5 MB, free: 4.746 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.2116, allocations: 8.031 kB / 405.5 MB, free: 4.738 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.449e-05/0.2116, allocations: 20.75 kB / 405.5 MB, free: 4.719 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.2119, allocations: 224 kB / 405.7 MB, free: 4.461 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.2119, allocations: 12.38 kB / 405.7 MB, free: 4.449 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.2119, allocations: 16.38 kB / 405.8 MB, free: 4.434 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002957/0.2122, allocations: 157.7 kB / 405.9 MB, free: 4.273 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.2123, allocations: 4 kB / 405.9 MB, free: 4.27 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.2123, allocations: 8 kB / 405.9 MB, free: 4.262 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2123, allocations: 4 kB / 405.9 MB, free: 4.258 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002228/0.2125, allocations: 103.7 kB / 406 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007802/0.2133, allocations: 0.5809 MB / 406.6 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.2135, allocations: 118.6 kB / 406.7 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.761e-05/0.2136, allocations: 42.72 kB / 406.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.2137, allocations: 3.938 kB / 406.8 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.2137, allocations: 38.56 kB / 406.8 MB, free: 3.301 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 3.617e-06/0.2137, allocations: 3.984 kB / 406.8 MB, free: 3.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001416/0.2151, allocations: 0.7964 MB / 407.6 MB, free: 2.406 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.2152, allocations: 59.31 kB / 407.7 MB, free: 2.336 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.2153, allocations: 162.2 kB / 407.8 MB, free: 2.168 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.2153, allocations: 33.7 kB / 407.9 MB, free: 2.129 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.285e-05/0.2154, allocations: 128.3 kB / 408 MB, free: 2 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.531e-05/0.2154, allocations: 67.09 kB / 408 MB, free: 1.934 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.704e-05/0.2155, allocations: 37.7 kB / 408.1 MB, free: 1.891 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.04e-05/0.2156, allocations: 322.8 kB / 408.4 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.2157, allocations: 39.92 kB / 408.4 MB, free: 1.527 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.2158, allocations: 84.91 kB / 408.5 MB, free: 1.434 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002199/0.2161, allocations: 134.7 kB / 408.6 MB, free: 1.293 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2161, allocations: 0 / 408.6 MB, free: 1.293 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003777/0.2165, allocations: 206.1 kB / 408.9 MB, free: 1.082 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.2165, allocations: 8 kB / 408.9 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.2165, allocations: 4 kB / 408.9 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001568/0.2167, allocations: 40.83 kB / 408.9 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.2168, allocations: 31.92 kB / 408.9 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/0.218, allocations: 1.535 MB / 410.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.159e-05/0.2181, allocations: 11.97 kB / 410.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.2181, allocations: 8 kB / 410.5 MB, free: 15.3 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 0.0001023/0.2182, allocations: 129.9 kB / 410.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.2183, allocations: 11.91 kB / 410.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.758e-05/0.2183, allocations: 25.17 kB / 410.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.2183, allocations: 0 / 410.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.2183, allocations: 0 / 410.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.337e-05/0.2184, allocations: 92.86 kB / 410.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.2184, allocations: 0 / 410.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.2185, allocations: 8 kB / 410.8 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.2186, allocations: 16 kB / 410.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005424/0.2191, allocations: 292 kB / 411.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004414/0.2196, allocations: 390.4 kB / 411.4 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001156/0.2197, allocations: 66.92 kB / 411.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.875e-05/0.2198, allocations: 115.2 kB / 411.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of Backend: time 1.443e-06/0.2198, allocations: 0 / 411.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006629/0.2205, allocations: 296.8 kB / 411.9 MB, free: 13.81 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008885/0.2214, allocations: 0.9498 MB / 412.8 MB, free: 12.81 MB / 334.1 MB Notification: Performance of Templates: time 0.004608/0.226, allocations: 1.992 MB / 414.8 MB, free: 10.83 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (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 & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches