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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001212/0.001212, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001195/0.001195, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.155/1.155, allocations: 177 MB / 204.8 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] 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=5000,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=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 3.938 kB / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.823e-05/3.022e-05, allocations: 5.125 kB / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003838/0.003868, allocations: 2.156 MB / 275.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.004973, allocations: 0.5609 MB / 275.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.005114, allocations: 7.938 kB / 275.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.005288, allocations: 31.66 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.005412, allocations: 59.48 kB / 275.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.00564, allocations: 47.94 kB / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002734/0.005914, allocations: 214.9 kB / 276 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001791/0.006093, allocations: 49.7 kB / 276 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.00627, allocations: 119.7 kB / 276.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.006407, allocations: 59.88 kB / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.8e-05/0.006445, allocations: 16 kB / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.903e-05/0.006484, allocations: 16 kB / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.079e-05/0.006535, allocations: 43.83 kB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.944e-05/0.006614, allocations: 63.83 kB / 276.3 MB, free: 14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002745/0.006889, allocations: 135.5 kB / 276.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.006891, allocations: 0 / 276.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.006893, allocations: 0 / 276.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.0069, allocations: 0 / 276.5 MB, free: 13.87 MB / 266.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.0006779/0.007577, allocations: 0.492 MB / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.00762, allocations: 11.98 kB / 277 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.123e-05/0.007692, allocations: 32.84 kB / 277 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.007953, allocations: 171 kB / 277.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.007974, allocations: 16.31 kB / 277.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.896e-05/0.008023, allocations: 20.38 kB / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/0.008313, allocations: 126.9 kB / 277.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.008329, allocations: 192 / 277.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.00835, allocations: 8.375 kB / 277.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.008363, allocations: 11.94 kB / 277.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.008519, allocations: 63.52 kB / 277.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008154/0.009334, allocations: 0.5256 MB / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.009567, allocations: 87.06 kB / 278 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.837e-05/0.009626, allocations: 27.67 kB / 278 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.009649, allocations: 4 kB / 278 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.009674, allocations: 33.39 kB / 278.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.009675, allocations: 4 kB / 278.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.00121/0.01089, allocations: 0.5695 MB / 278.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.01092, allocations: 51.41 kB / 278.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.01106, allocations: 206 kB / 278.9 MB, free: 11.2 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.01108, allocations: 29.7 kB / 278.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.79e-05/0.01117, allocations: 179.2 kB / 279.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.794e-05/0.01121, allocations: 71.38 kB / 279.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.38e-05/0.01128, allocations: 39.38 kB / 279.2 MB, free: 10.87 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.01149, allocations: 0.4962 MB / 279.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.445e-05/0.01156, allocations: 23.98 kB / 279.7 MB, free: 10.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.199e-05/0.01165, allocations: 66.61 kB / 279.8 MB, free: 10.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.01181, allocations: 101.9 kB / 279.9 MB, free: 10.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.01181, allocations: 0 / 279.9 MB, free: 10.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003129/0.01212, allocations: 181 kB / 280.1 MB, free: 9.953 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.01214, allocations: 4 kB / 280.1 MB, free: 9.949 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.01214, allocations: 0 / 280.1 MB, free: 9.949 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001887/0.01233, allocations: 47.59 kB / 280.1 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.01247, allocations: 31.92 kB / 280.2 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/0.01371, allocations: 1.842 MB / 282 MB, free: 7.906 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.843e-05/0.01378, allocations: 4 kB / 282 MB, free: 7.902 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.01379, allocations: 4 kB / 282 MB, free: 7.898 MB / 266.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 0.0001064/0.0139, allocations: 168.5 kB / 282.2 MB, free: 7.723 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/0.01395, allocations: 19.94 kB / 282.2 MB, free: 7.703 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.01398, allocations: 17.12 kB / 282.2 MB, free: 7.684 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.01398, allocations: 4 kB / 282.2 MB, free: 7.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.01398, allocations: 0 / 282.2 MB, free: 7.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.01399, allocations: 192 / 282.2 MB, free: 7.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006583/0.01465, allocations: 0.5261 MB / 282.7 MB, free: 7.105 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.01465, allocations: 0 / 282.7 MB, free: 7.105 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.01478, allocations: 27.98 kB / 282.8 MB, free: 7.078 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001194/0.0149, allocations: 35.53 kB / 282.8 MB, free: 7.039 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.01491, allocations: 8 kB / 282.8 MB, free: 7.031 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/0.01609, allocations: 1.795 MB / 284.6 MB, free: 5.109 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.01609, allocations: 0 / 284.6 MB, free: 5.109 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003745/0.01646, allocations: 327.3 kB / 284.9 MB, free: 4.766 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.565e-05/0.01648, allocations: 15.84 kB / 284.9 MB, free: 4.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.01649, allocations: 4 kB / 284.9 MB, free: 4.746 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.696e-05/0.01658, allocations: 11.92 kB / 285 MB, free: 4.734 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.01663, allocations: 11.98 kB / 285 MB, free: 4.723 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.01664, allocations: 12 kB / 285 MB, free: 4.711 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.229e-05/0.01672, allocations: 143.2 kB / 285.1 MB, free: 4.57 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01672, allocations: 0 / 285.1 MB, free: 4.57 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003483/0.01707, allocations: 48 kB / 285.2 MB, free: 4.523 MB / 266.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 0.0001068/0.01717, allocations: 95.25 kB / 285.3 MB, free: 4.418 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004168/0.01759, allocations: 277.3 kB / 285.5 MB, free: 4.125 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.01759, allocations: 128 / 285.5 MB, free: 4.125 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002243/0.01782, allocations: 241.4 kB / 285.8 MB, free: 3.867 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.01817, allocations: 34.67 kB / 285.8 MB, free: 3.836 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.01921, allocations: 438.5 kB / 286.2 MB, free: 3.379 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.151e-05/0.01929, allocations: 83.91 kB / 286.3 MB, free: 3.277 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.211e-05/0.01935, allocations: 17.47 kB / 286.3 MB, free: 3.262 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.01939, allocations: 16.5 kB / 286.3 MB, free: 3.246 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01939, allocations: 4 kB / 286.3 MB, free: 3.242 MB / 266.7 MB Notification: Performance of Templates: time 0.005176/0.02457, allocations: 1.848 MB / 288.2 MB, free: 1.422 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.02969599282369]