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.001548/0.001548, allocations: 112.8 kB / 19.17 MB, free: 3.871 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.001884/0.001884, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.475/1.475, allocations: 230.2 MB / 255.2 MB, free: 15.24 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.001907/0.001907, allocations: 64.12 kB / 374.5 MB, free: 9.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1174, allocations: 53.33 MB / 427.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003832/0.1213, allocations: 2.146 MB / 430 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.1224, allocations: 0.5726 MB / 430.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.1226, allocations: 4 kB / 430.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001763/0.1227, allocations: 35.66 kB / 430.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.1228, allocations: 47.5 kB / 430.6 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.123, allocations: 55.86 kB / 430.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002881/0.1233, allocations: 219 kB / 430.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.1235, allocations: 49.66 kB / 431 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.1236, allocations: 71.78 kB / 431 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.1238, allocations: 79.62 kB / 431.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.389e-05/0.1238, allocations: 16 kB / 431.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.66e-05/0.1238, allocations: 16 kB / 431.1 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.879e-05/0.1239, allocations: 43.84 kB / 431.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.124, allocations: 95.47 kB / 431.3 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003101/0.1243, allocations: 211.1 kB / 431.5 MB, free: 0.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.1243, allocations: 4 kB / 431.5 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1243, allocations: 0 / 431.5 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.1243, allocations: 4 kB / 431.5 MB, free: 0.8242 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.0008202/0.1251, allocations: 474.6 kB / 431.9 MB, free: 320 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.1252, allocations: 12.03 kB / 432 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.423e-05/0.1253, allocations: 16.84 kB / 432 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003997/0.1257, allocations: 220.1 kB / 432.2 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.1257, allocations: 20.16 kB / 432.2 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.361e-05/0.1258, allocations: 20.45 kB / 432.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003665/0.1261, allocations: 149.9 kB / 432.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.1261, allocations: 4 kB / 432.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.1262, allocations: 8 kB / 432.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.1262, allocations: 4 kB / 432.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002587/0.1264, allocations: 111.4 kB / 432.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009887/0.1274, allocations: 0.5888 MB / 433.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.1277, allocations: 110.6 kB / 433.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.855e-05/0.1278, allocations: 40.84 kB / 433.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.1278, allocations: 0 / 433.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.1278, allocations: 38.5 kB / 433.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.1278, allocations: 4 kB / 433.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.001734/0.1296, allocations: 0.7927 MB / 434.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.1296, allocations: 59.39 kB / 434.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.1298, allocations: 158.2 kB / 434.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.1298, allocations: 33.62 kB / 434.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.1299, allocations: 128.4 kB / 434.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.152e-05/0.13, allocations: 71.41 kB / 434.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.762e-05/0.13, allocations: 33.72 kB / 434.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.1302, allocations: 330.8 kB / 434.9 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.1303, allocations: 47.91 kB / 434.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.1305, allocations: 86.16 kB / 435 MB, free: 12.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/0.1307, allocations: 128.8 kB / 435.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1307, allocations: 7.984 kB / 435.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004233/0.1312, allocations: 203.9 kB / 435.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.1312, allocations: 8 kB / 435.3 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.1312, allocations: 0 / 435.3 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001974/0.1314, allocations: 40.83 kB / 435.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.1316, allocations: 31.92 kB / 435.4 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001593/0.1332, allocations: 1.528 MB / 436.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.1333, allocations: 12.03 kB / 436.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.1333, allocations: 11.98 kB / 437 MB, free: 10.86 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.0001527/0.1334, allocations: 133.7 kB / 437.1 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/0.1335, allocations: 15.91 kB / 437.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.58e-05/0.1335, allocations: 21.19 kB / 437.1 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.1335, allocations: 4 kB / 437.1 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1335, allocations: 0 / 437.1 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.902e-06/0.1335, allocations: 7.922 kB / 437.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009438/0.1345, allocations: 0.5819 MB / 437.7 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1345, allocations: 0 / 437.7 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.1346, allocations: 31.92 kB / 437.8 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001284/0.1348, allocations: 32.83 kB / 437.8 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.1348, allocations: 4 kB / 437.8 MB, free: 9.961 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001404/0.1362, allocations: 1.477 MB / 439.3 MB, free: 8.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1362, allocations: 4.062 kB / 439.3 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005781/0.1368, allocations: 342.3 kB / 439.6 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.316e-05/0.1368, allocations: 89.05 kB / 439.7 MB, free: 7.879 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.1368, allocations: 11.98 kB / 439.7 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.1369, allocations: 3.938 kB / 439.7 MB, free: 7.863 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.137, allocations: 20.05 kB / 439.7 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.137, allocations: 4 kB / 439.7 MB, free: 7.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001321/0.1371, allocations: 120.1 kB / 439.8 MB, free: 7.723 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1371, allocations: 0 / 439.8 MB, free: 7.723 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003226/0.1375, allocations: 48 kB / 439.9 MB, free: 7.676 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.0001543/0.1376, allocations: 99.19 kB / 440 MB, free: 7.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005727/0.1382, allocations: 246.6 kB / 440.2 MB, free: 7.316 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1382, allocations: 0 / 440.2 MB, free: 7.316 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002916/0.1385, allocations: 186.6 kB / 440.4 MB, free: 7.121 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.1389, allocations: 31.92 kB / 440.4 MB, free: 7.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.1399, allocations: 0.5199 MB / 441 MB, free: 6.535 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.1403, allocations: 0.732 MB / 441.7 MB, free: 5.777 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.124e-05/0.1404, allocations: 15.44 kB / 441.7 MB, free: 5.762 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1404, allocations: 0 / 441.7 MB, free: 5.762 MB / 366.1 MB Notification: Performance of Templates: time 0.005634/0.146, allocations: 2.899 MB / 444.6 MB, free: 2.859 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.38812258397229]