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.001528/0.001528, allocations: 120 kB / 18.5 MB, free: 4.539 MB / 14.72 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.001826/0.001826, allocations: 209.7 kB / 21.46 MB, free: 1.59 MB / 14.72 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.503/1.503, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001873/0.001873, allocations: 63.89 kB / 373.8 MB, free: 9.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1103, allocations: 53.32 MB / 427.1 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003371/0.1136, allocations: 2.138 MB / 429.3 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.1147, allocations: 0.5804 MB / 429.9 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.1148, allocations: 4 kB / 429.9 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001435/0.1149, allocations: 31.66 kB / 429.9 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.115, allocations: 55.5 kB / 429.9 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001679/0.1152, allocations: 47.94 kB / 430 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002622/0.1154, allocations: 211 kB / 430.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.1156, allocations: 49.66 kB / 430.2 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.47e-05/0.1157, allocations: 79.77 kB / 430.3 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.1158, allocations: 75.64 kB / 430.4 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.174e-05/0.1158, allocations: 16 kB / 430.4 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.356e-05/0.1159, allocations: 19.94 kB / 430.4 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.532e-05/0.1159, allocations: 43.78 kB / 430.5 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.719e-05/0.116, allocations: 95.55 kB / 430.6 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002808/0.1163, allocations: 215.1 kB / 430.8 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1163, allocations: 0 / 430.8 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1163, allocations: 0 / 430.8 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.1163, allocations: 0 / 430.8 MB, free: 0.8438 MB / 350.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.0008057/0.1171, allocations: 482.6 kB / 431.3 MB, free: 332 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.1172, allocations: 8.031 kB / 431.3 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.953e-05/0.1172, allocations: 24.84 kB / 431.3 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004307/0.1177, allocations: 220.1 kB / 431.5 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.1177, allocations: 16.16 kB / 431.5 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.655e-05/0.1178, allocations: 24.44 kB / 431.5 MB, free: 16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003849/0.1182, allocations: 153.9 kB / 431.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.1182, allocations: 3.938 kB / 431.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/0.1182, allocations: 8 kB / 431.7 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.1182, allocations: 4 kB / 431.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000265/0.1185, allocations: 111.5 kB / 431.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.1195, allocations: 0.5889 MB / 432.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.1198, allocations: 110.6 kB / 432.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.1199, allocations: 40.84 kB / 432.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.1199, allocations: 4 kB / 432.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.12, allocations: 34.5 kB / 432.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.12, allocations: 0 / 432.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.001714/0.1217, allocations: 0.8045 MB / 433.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.1217, allocations: 51.41 kB / 433.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.1219, allocations: 162.2 kB / 433.6 MB, free: 13.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.1219, allocations: 29.7 kB / 433.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.372e-05/0.122, allocations: 132.4 kB / 433.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.06e-05/0.1221, allocations: 63.44 kB / 433.8 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.252e-05/0.1221, allocations: 41.7 kB / 433.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1223, allocations: 330.8 kB / 434.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.1224, allocations: 39.98 kB / 434.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.1225, allocations: 75.34 kB / 434.3 MB, free: 13 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/0.1228, allocations: 131.3 kB / 434.4 MB, free: 12.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1228, allocations: 0 / 434.4 MB, free: 12.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004173/0.1232, allocations: 207.6 kB / 434.6 MB, free: 12.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.1232, allocations: 4 kB / 434.6 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.1232, allocations: 7.938 kB / 434.6 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001911/0.1234, allocations: 44.83 kB / 434.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.1236, allocations: 31.98 kB / 434.7 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/0.1251, allocations: 1.536 MB / 436.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.207e-05/0.1252, allocations: 11.97 kB / 436.3 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.1252, allocations: 4 kB / 436.3 MB, free: 10.87 MB / 366.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.000145/0.1253, allocations: 133.7 kB / 436.4 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.923e-05/0.1254, allocations: 15.91 kB / 436.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.637e-05/0.1254, allocations: 25.23 kB / 436.4 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1254, allocations: 4 kB / 436.4 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1254, allocations: 4 kB / 436.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.944e-06/0.1254, allocations: 3.938 kB / 436.5 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008889/0.1263, allocations: 0.5723 MB / 437 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1263, allocations: 0 / 437 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.1265, allocations: 31.92 kB / 437.1 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000125/0.1266, allocations: 40.83 kB / 437.1 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.1266, allocations: 0 / 437.1 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001323/0.1279, allocations: 1.485 MB / 438.6 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1279, allocations: 0 / 438.6 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005414/0.1285, allocations: 344.8 kB / 438.9 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.859e-05/0.1286, allocations: 97.17 kB / 439 MB, free: 7.871 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.1286, allocations: 3.938 kB / 439 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.1287, allocations: 8 kB / 439 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/0.1287, allocations: 7.984 kB / 439 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.1287, allocations: 8 kB / 439 MB, free: 7.844 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001031/0.1288, allocations: 124.1 kB / 439.2 MB, free: 7.723 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1288, allocations: 0 / 439.2 MB, free: 7.723 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003272/0.1292, allocations: 44 kB / 439.2 MB, free: 7.68 MB / 366.1 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.0001455/0.1293, allocations: 107.2 kB / 439.3 MB, free: 7.566 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005203/0.1298, allocations: 246.4 kB / 439.5 MB, free: 7.312 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1298, allocations: 0 / 439.5 MB, free: 7.312 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002896/0.1301, allocations: 186.6 kB / 439.7 MB, free: 7.117 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.1305, allocations: 20.12 kB / 439.7 MB, free: 7.098 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000935/0.1314, allocations: 0.5005 MB / 440.2 MB, free: 6.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.1318, allocations: 0.7281 MB / 441 MB, free: 5.816 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.529e-05/0.1319, allocations: 13.55 kB / 441 MB, free: 5.801 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.883e-05/0.1319, allocations: 23.38 kB / 441 MB, free: 5.777 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1319, allocations: 0 / 441 MB, free: 5.777 MB / 366.1 MB Notification: Performance of Templates: time 0.005604/0.1375, allocations: 1.885 MB / 442.9 MB, free: 3.906 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.486576442606747]