Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002547/0.002552, allocations: 173.7 kB / 8.149 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.859/1.859, allocations: 205.2 MB / 213.7 MB, free: 13.94 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001769/0.001769, allocations: 90.98 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.009e-05/1.024e-05, allocations: 4 kB / 314.3 MB, free: 9.043 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2462, allocations: 47.55 MB / 361.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1192/0.3655, allocations: 76.76 MB / 438.6 MB, free: 9.297 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.3658, allocations: 63.97 kB / 438.7 MB, free: 9.234 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01325/0.3791, allocations: 2.784 MB / 441.4 MB, free: 6.496 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.656e-05/0.3792, allocations: 7.391 kB / 441.4 MB, free: 6.492 MB / 330.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.0008815/0.3801, allocations: 440 kB / 441.9 MB, free: 6.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.3802, allocations: 12.03 kB / 441.9 MB, free: 6.008 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.427e-05/0.3802, allocations: 15.81 kB / 441.9 MB, free: 5.992 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.3806, allocations: 210.8 kB / 442.1 MB, free: 5.746 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.3806, allocations: 11.97 kB / 442.1 MB, free: 5.734 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.121e-05/0.3807, allocations: 15.91 kB / 442.1 MB, free: 5.719 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003434/0.3811, allocations: 79.98 kB / 442.2 MB, free: 5.641 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000402/0.3815, allocations: 113.7 kB / 442.3 MB, free: 5.523 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/0.3815, allocations: 1.031 kB / 442.3 MB, free: 5.523 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.3816, allocations: 0 / 442.3 MB, free: 5.523 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.3816, allocations: 8 kB / 442.3 MB, free: 5.516 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/0.3831, allocations: 0.5532 MB / 442.9 MB, free: 4.918 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002587/0.3835, allocations: 89.73 kB / 443 MB, free: 4.824 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.3836, allocations: 32.86 kB / 443 MB, free: 4.789 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.3836, allocations: 0 / 443 MB, free: 4.789 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.3837, allocations: 34.56 kB / 443 MB, free: 4.746 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.753e-06/0.3837, allocations: 0 / 443 MB, free: 4.746 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.002042/0.3857, allocations: 0.6911 MB / 443.7 MB, free: 3.961 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.3858, allocations: 51.41 kB / 443.8 MB, free: 3.898 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.386, allocations: 124.9 kB / 443.9 MB, free: 3.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.386, allocations: 25.7 kB / 443.9 MB, free: 3.738 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.3861, allocations: 190.7 kB / 444.1 MB, free: 3.551 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.712e-05/0.3862, allocations: 67.03 kB / 444.2 MB, free: 3.484 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.057e-05/0.3862, allocations: 4 kB / 444.2 MB, free: 3.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.3864, allocations: 314.8 kB / 444.5 MB, free: 3.164 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.3865, allocations: 32.38 kB / 444.5 MB, free: 3.129 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.3867, allocations: 67.92 kB / 444.6 MB, free: 3.051 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.3868, allocations: 39.98 kB / 444.6 MB, free: 3.012 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.3869, allocations: 6.656 kB / 444.6 MB, free: 3.008 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005718/0.3874, allocations: 170.2 kB / 444.8 MB, free: 2.832 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.3875, allocations: 11.94 kB / 444.8 MB, free: 2.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.3875, allocations: 0 / 444.8 MB, free: 2.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002441/0.3878, allocations: 32.84 kB / 444.8 MB, free: 2.785 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003684/0.3881, allocations: 39.91 kB / 444.9 MB, free: 2.746 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/0.39, allocations: 1.421 MB / 446.3 MB, free: 1.211 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.3902, allocations: 11.97 kB / 446.3 MB, free: 1.199 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.3903, allocations: 4.062 kB / 446.3 MB, free: 1.195 MB / 330.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 () * 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 9.245e-05/0.3904, allocations: 41.58 kB / 446.4 MB, free: 1.148 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.557e-05/0.3904, allocations: 11.81 kB / 446.4 MB, free: 1.137 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.716e-05/0.3905, allocations: 20.67 kB / 446.4 MB, free: 1.113 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.3905, allocations: 4 kB / 446.4 MB, free: 1.109 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3906, allocations: 0 / 446.4 MB, free: 1.109 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.3906, allocations: 6.75 kB / 446.4 MB, free: 1.105 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.3917, allocations: 0.5142 MB / 446.9 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.3917, allocations: 0 / 446.9 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003744/0.3921, allocations: 31.92 kB / 446.9 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002195/0.3924, allocations: 32.84 kB / 447 MB, free: 484 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.3924, allocations: 3.984 kB / 447 MB, free: 480 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/0.394, allocations: 1.306 MB / 448.3 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.3941, allocations: 1.328 kB / 448.3 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006915/0.3948, allocations: 307.4 kB / 448.6 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.643e-05/0.3949, allocations: 89.06 kB / 448.7 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/0.3949, allocations: 4.656 kB / 448.7 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.3951, allocations: 4.125 kB / 448.7 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/0.3952, allocations: 7.984 kB / 448.7 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.3952, allocations: 4 kB / 448.7 MB, free: 14.61 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001039/0.3953, allocations: 105.7 kB / 448.8 MB, free: 14.51 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004562/0.3958, allocations: 32 kB / 448.8 MB, free: 14.48 MB / 346.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 () * 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.000202/0.396, allocations: 99.03 kB / 448.9 MB, free: 14.37 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006362/0.3966, allocations: 222 kB / 449.1 MB, free: 14.15 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3967, allocations: 0 / 449.1 MB, free: 14.15 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003607/0.397, allocations: 169.6 kB / 449.3 MB, free: 13.97 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.3974, allocations: 15.98 kB / 449.3 MB, free: 13.96 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.3986, allocations: 373.2 kB / 449.7 MB, free: 13.57 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004398/0.3991, allocations: 0.7499 MB / 450.4 MB, free: 12.79 MB / 346.7 MB Notification: Performance of SimCode: time 1.934e-06/0.3991, allocations: 4 kB / 450.4 MB, free: 12.79 MB / 346.7 MB Notification: Performance of Templates: time 0.006737/0.4058, allocations: 2.798 MB / 453.2 MB, free: 10.02 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches