Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_cpp_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_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009294/0.0009295, allocations: 196.9 kB / 17.05 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.227/1.227, allocations: 226.6 MB / 244.3 MB, free: 6.578 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007591/0.0007591, allocations: 108.4 kB / 296.4 MB, free: 6.793 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002037/0.0002037, allocations: 11.97 kB / 356.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.1992, allocations: 51.29 MB / 407.5 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.001631/0.2009, allocations: 1.762 MB / 409.2 MB, free: 26.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007158/0.2016, allocations: 0.5426 MB / 409.8 MB, free: 25.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.928e-05/0.2017, allocations: 4 kB / 409.8 MB, free: 25.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.2019, allocations: 29.66 kB / 409.8 MB, free: 25.47 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.448e-05/0.2019, allocations: 35.64 kB / 409.9 MB, free: 25.44 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.2021, allocations: 43.94 kB / 409.9 MB, free: 25.39 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.2023, allocations: 183.8 kB / 410.1 MB, free: 25.21 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.2024, allocations: 50.94 kB / 410.1 MB, free: 25.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.514e-05/0.2025, allocations: 67.77 kB / 410.2 MB, free: 25.1 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.524e-05/0.2026, allocations: 68.48 kB / 410.3 MB, free: 25.03 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.2026, allocations: 8 kB / 410.3 MB, free: 25.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.459e-05/0.2026, allocations: 9.75 kB / 410.3 MB, free: 25.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.2027, allocations: 31.84 kB / 410.3 MB, free: 24.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.864e-05/0.2027, allocations: 53.64 kB / 410.4 MB, free: 24.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.2028, allocations: 156.6 kB / 410.5 MB, free: 24.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2028, allocations: 0.7812 kB / 410.5 MB, free: 24.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2028, allocations: 0 / 410.5 MB, free: 24.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.2028, allocations: 1.25 kB / 410.5 MB, free: 24.77 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.0004771/0.2033, allocations: 454.8 kB / 411 MB, free: 24.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.2034, allocations: 8.031 kB / 411 MB, free: 24.28 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.2034, allocations: 23.72 kB / 411 MB, free: 24.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.2036, allocations: 210.8 kB / 411.2 MB, free: 24.01 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.2036, allocations: 12 kB / 411.2 MB, free: 24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.313e-05/0.2036, allocations: 19.95 kB / 411.2 MB, free: 23.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.2039, allocations: 153.4 kB / 411.4 MB, free: 23.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.2039, allocations: 6.062 kB / 411.4 MB, free: 23.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.2039, allocations: 4 kB / 411.4 MB, free: 23.81 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.204, allocations: 8 kB / 411.4 MB, free: 23.8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001905/0.2042, allocations: 107.9 kB / 411.5 MB, free: 23.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006371/0.2048, allocations: 0.5924 MB / 412.1 MB, free: 23.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.205, allocations: 134.4 kB / 412.2 MB, free: 22.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.565e-05/0.2051, allocations: 40.84 kB / 412.3 MB, free: 22.87 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.2051, allocations: 0 / 412.3 MB, free: 22.87 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/0.2051, allocations: 34.56 kB / 412.3 MB, free: 22.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.001e-06/0.2051, allocations: 4 kB / 412.3 MB, free: 22.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.001196/0.2063, allocations: 0.8176 MB / 413.1 MB, free: 21.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.002e-05/0.2064, allocations: 51.41 kB / 413.2 MB, free: 21.85 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.231e-05/0.2065, allocations: 162.2 kB / 413.3 MB, free: 21.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.2065, allocations: 25.7 kB / 413.4 MB, free: 21.65 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.23e-05/0.2065, allocations: 128.2 kB / 413.5 MB, free: 21.52 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.2066, allocations: 63.09 kB / 413.5 MB, free: 21.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/0.2066, allocations: 4 kB / 413.5 MB, free: 21.46 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.989e-05/0.2066, allocations: 330.8 kB / 413.9 MB, free: 21.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.814e-05/0.2067, allocations: 44.34 kB / 413.9 MB, free: 21.08 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.705e-05/0.2068, allocations: 78.97 kB / 414 MB, free: 21 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.591e-05/0.2069, allocations: 55.94 kB / 414 MB, free: 20.94 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.2069, allocations: 0 / 414 MB, free: 20.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003124/0.2073, allocations: 214.7 kB / 414.3 MB, free: 20.72 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.2073, allocations: 4 kB / 414.3 MB, free: 20.72 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.2073, allocations: 0 / 414.3 MB, free: 20.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001558/0.2075, allocations: 36.91 kB / 414.3 MB, free: 20.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.2076, allocations: 39.91 kB / 414.3 MB, free: 20.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008386/0.2085, allocations: 1.429 MB / 415.8 MB, free: 19.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.013e-05/0.2086, allocations: 11.98 kB / 415.8 MB, free: 19.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.2086, allocations: 4 kB / 415.8 MB, free: 19.06 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.912e-05/0.2087, allocations: 133.6 kB / 415.9 MB, free: 18.92 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.2087, allocations: 15.81 kB / 415.9 MB, free: 18.9 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.652e-05/0.2087, allocations: 25.17 kB / 416 MB, free: 18.88 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2088, allocations: 4.062 kB / 416 MB, free: 18.88 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2088, allocations: 4 kB / 416 MB, free: 18.87 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.2088, allocations: 0 / 416 MB, free: 18.87 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00061/0.2094, allocations: 0.5917 MB / 416.6 MB, free: 18.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2094, allocations: 3.938 kB / 416.6 MB, free: 18.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.2095, allocations: 35.92 kB / 416.6 MB, free: 18.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.452e-05/0.2096, allocations: 32.83 kB / 416.6 MB, free: 18.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.2097, allocations: 0 / 416.6 MB, free: 18.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006761/0.2103, allocations: 1.37 MB / 418 MB, free: 16.63 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2104, allocations: 4 kB / 418 MB, free: 16.62 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000402/0.2108, allocations: 352.7 kB / 418.3 MB, free: 16.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.18e-05/0.2108, allocations: 88.95 kB / 418.4 MB, free: 16.16 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.2108, allocations: 11.98 kB / 418.4 MB, free: 16.15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.28e-05/0.2109, allocations: 0 / 418.4 MB, free: 16.15 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/0.211, allocations: 19.94 kB / 418.5 MB, free: 16.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.211, allocations: 4 kB / 418.5 MB, free: 16.12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.778e-05/0.2111, allocations: 116.2 kB / 418.6 MB, free: 16.01 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2111, allocations: 4 kB / 418.6 MB, free: 16.01 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002418/0.2113, allocations: 48 kB / 418.6 MB, free: 15.96 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000102/0.2114, allocations: 99.25 kB / 418.7 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003926/0.2118, allocations: 251.5 kB / 419 MB, free: 15.6 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2118, allocations: 4 kB / 419 MB, free: 15.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.212, allocations: 186.6 kB / 419.2 MB, free: 15.4 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.2124, allocations: 23.16 kB / 419.2 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007252/0.2131, allocations: 0.6333 MB / 419.8 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.2133, allocations: 0.7284 MB / 420.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.345e-05/0.2133, allocations: 19.44 kB / 420.6 MB, free: 13.94 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2133, allocations: 0 / 420.6 MB, free: 13.94 MB / 298.7 MB Notification: Performance of Templates: time 0.003439/0.2168, allocations: 2.837 MB / 423.4 MB, free: 11.11 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches