Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001079/0.001084, allocations: 196.6 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008087/0.0008087, allocations: 98.95 kB / 299.8 MB, free: 5.359 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002092/0.0002093, allocations: 8 kB / 360.6 MB, free: 8.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2092, allocations: 51.42 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.001637/0.2108, allocations: 1.77 MB / 413.8 MB, free: 24.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006932/0.2116, allocations: 0.6864 MB / 414.5 MB, free: 23.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.674e-05/0.2117, allocations: 4 kB / 414.5 MB, free: 23.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.2118, allocations: 23.78 kB / 414.5 MB, free: 23.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.648e-05/0.2119, allocations: 46.95 kB / 414.6 MB, free: 23.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001318/0.212, allocations: 43.97 kB / 414.6 MB, free: 23.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.2122, allocations: 199 kB / 414.8 MB, free: 23.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.2123, allocations: 57.62 kB / 414.9 MB, free: 23.04 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.725e-05/0.2124, allocations: 70.19 kB / 414.9 MB, free: 22.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.368e-05/0.2125, allocations: 75.62 kB / 415 MB, free: 22.9 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.2125, allocations: 8 kB / 415 MB, free: 22.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.52e-05/0.2125, allocations: 11.94 kB / 415 MB, free: 22.88 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.724e-05/0.2126, allocations: 35.84 kB / 415.1 MB, free: 22.85 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.601e-05/0.2126, allocations: 101.3 kB / 415.2 MB, free: 22.74 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.2128, allocations: 196.8 kB / 415.4 MB, free: 22.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2128, allocations: 0 / 415.4 MB, free: 22.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2128, allocations: 3.938 kB / 415.4 MB, free: 22.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.2128, allocations: 0 / 415.4 MB, free: 22.55 MB / 298.7 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.000479/0.2133, allocations: 443 kB / 415.8 MB, free: 22.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.2133, allocations: 8.031 kB / 415.8 MB, free: 22.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/0.2134, allocations: 32.64 kB / 415.8 MB, free: 22.03 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.2136, allocations: 212.1 kB / 416 MB, free: 21.78 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.2136, allocations: 12.38 kB / 416.1 MB, free: 21.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.604e-05/0.2136, allocations: 24.28 kB / 416.1 MB, free: 21.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002755/0.2139, allocations: 153.7 kB / 416.2 MB, free: 21.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.2139, allocations: 7.938 kB / 416.2 MB, free: 21.58 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.214, allocations: 4 kB / 416.2 MB, free: 21.58 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.214, allocations: 4 kB / 416.2 MB, free: 21.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002021/0.2142, allocations: 107.9 kB / 416.4 MB, free: 21.47 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006917/0.2149, allocations: 0.6002 MB / 417 MB, free: 20.81 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.2151, allocations: 122.5 kB / 417.1 MB, free: 20.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.035e-05/0.2152, allocations: 40.84 kB / 417.1 MB, free: 20.64 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.2152, allocations: 3.938 kB / 417.1 MB, free: 20.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.2153, allocations: 42.55 kB / 417.2 MB, free: 20.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.2153, allocations: 0 / 417.2 MB, free: 20.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.001208/0.2165, allocations: 0.8083 MB / 418 MB, free: 19.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.613e-05/0.2165, allocations: 51.41 kB / 418 MB, free: 19.62 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.723e-05/0.2166, allocations: 159.3 kB / 418.2 MB, free: 19.46 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.2166, allocations: 25.7 kB / 418.2 MB, free: 19.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.106e-05/0.2167, allocations: 128.3 kB / 418.3 MB, free: 19.3 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.2167, allocations: 67 kB / 418.4 MB, free: 19.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.2167, allocations: 8 kB / 418.4 MB, free: 19.22 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.565e-05/0.2168, allocations: 326.8 kB / 418.7 MB, free: 18.89 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.95e-05/0.2169, allocations: 47.91 kB / 418.8 MB, free: 18.85 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.824e-05/0.217, allocations: 86.16 kB / 418.8 MB, free: 18.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.2172, allocations: 135.4 kB / 419 MB, free: 18.61 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.2172, allocations: 3.938 kB / 419 MB, free: 18.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003116/0.2175, allocations: 210.2 kB / 419.2 MB, free: 18.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.2175, allocations: 8.062 kB / 419.2 MB, free: 18.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2175, allocations: 4 kB / 419.2 MB, free: 18.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001488/0.2177, allocations: 40.77 kB / 419.2 MB, free: 18.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.2178, allocations: 31.98 kB / 419.3 MB, free: 18.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008339/0.2187, allocations: 1.417 MB / 420.7 MB, free: 16.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.182e-05/0.2188, allocations: 12.03 kB / 420.7 MB, free: 16.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.2188, allocations: 7.938 kB / 420.7 MB, free: 16.73 MB / 298.7 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 8.055e-05/0.2189, allocations: 145.7 kB / 420.8 MB, free: 16.58 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.2189, allocations: 19.8 kB / 420.9 MB, free: 16.56 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.477e-05/0.2189, allocations: 21.17 kB / 420.9 MB, free: 16.54 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.219, allocations: 4 kB / 420.9 MB, free: 16.54 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.696e-06/0.219, allocations: 0 / 420.9 MB, free: 16.54 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.219, allocations: 0 / 420.9 MB, free: 16.54 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006003/0.2196, allocations: 0.5878 MB / 421.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2196, allocations: 0 / 421.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.2197, allocations: 43.84 kB / 421.5 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.761e-05/0.2198, allocations: 24.84 kB / 421.5 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.2199, allocations: 4 kB / 421.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006557/0.2205, allocations: 1.37 MB / 422.9 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2205, allocations: 0 / 422.9 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003935/0.2209, allocations: 344 kB / 423.3 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.423e-05/0.221, allocations: 92.94 kB / 423.3 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.221, allocations: 7.938 kB / 423.4 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.892e-05/0.2211, allocations: 8.141 kB / 423.4 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.2212, allocations: 16.03 kB / 423.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.2212, allocations: 4 kB / 423.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.695e-05/0.2212, allocations: 122.1 kB / 423.5 MB, free: 13.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2212, allocations: 0 / 423.5 MB, free: 13.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00025/0.2215, allocations: 44 kB / 423.5 MB, free: 13.64 MB / 298.7 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 7.836e-05/0.2216, allocations: 111.2 kB / 423.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003834/0.222, allocations: 250.5 kB / 423.9 MB, free: 13.26 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.222, allocations: 0 / 423.9 MB, free: 13.26 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.2222, allocations: 186.6 kB / 424.1 MB, free: 13.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.2225, allocations: 24.11 kB / 424.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006666/0.2232, allocations: 0.6253 MB / 424.7 MB, free: 12.39 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.2233, allocations: 0.7322 MB / 425.5 MB, free: 11.63 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.327e-05/0.2234, allocations: 13.55 kB / 425.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.2234, allocations: 19.44 kB / 425.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of SimCode: time 3e-07/0.2235, allocations: 0 / 425.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of Templates: time 0.003679/0.2271, allocations: 1.707 MB / 427.2 MB, free: 9.898 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches