Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 73.8 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002325/0.002325, allocations: 158.6 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.519/1.519, allocations: 177.2 MB / 204.9 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 59.17 kB / 325.6 MB, free: 268 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08882/0.0905, allocations: 53.33 MB / 378.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003509/0.09401, allocations: 2.038 MB / 380.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.09514, allocations: 0.5532 MB / 381.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.09529, allocations: 4 kB / 381.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001546/0.09545, allocations: 35.66 kB / 381.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001269/0.09557, allocations: 51.5 kB / 381.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.09575, allocations: 51.92 kB / 381.6 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.09602, allocations: 203.1 kB / 381.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.09616, allocations: 49.78 kB / 381.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.09627, allocations: 75.77 kB / 381.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.09641, allocations: 75.62 kB / 382 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.228e-05/0.09644, allocations: 23.88 kB / 382 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.536e-05/0.09648, allocations: 16 kB / 382 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.396e-05/0.09652, allocations: 35.86 kB / 382.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.198e-05/0.09661, allocations: 79.66 kB / 382.2 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002848/0.0969, allocations: 211.1 kB / 382.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.0969, allocations: 4 kB / 382.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.0969, allocations: 0 / 382.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.09691, allocations: 0 / 382.4 MB, free: 12.16 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.0006916/0.09761, allocations: 405.5 kB / 382.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.09764, allocations: 8.031 kB / 382.8 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.346e-05/0.0977, allocations: 20.84 kB / 382.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.098, allocations: 173.1 kB / 383 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.09802, allocations: 12.16 kB / 383 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.202e-05/0.09806, allocations: 16.38 kB / 383 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000321/0.09838, allocations: 165.9 kB / 383.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.0984, allocations: 0 / 383.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.09841, allocations: 4 kB / 383.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.09842, allocations: 4 kB / 383.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002607/0.09868, allocations: 111.7 kB / 383.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008315/0.09951, allocations: 491 kB / 383.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.09974, allocations: 102.6 kB / 383.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.753e-05/0.09984, allocations: 40.78 kB / 383.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.09986, allocations: 4 kB / 383.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.09989, allocations: 34.56 kB / 383.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.09989, allocations: 0 / 383.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001486/0.1014, allocations: 0.6401 MB / 384.6 MB, free: 9.789 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.1014, allocations: 55.41 kB / 384.6 MB, free: 9.723 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.1015, allocations: 145 kB / 384.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.1016, allocations: 29.7 kB / 384.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.661e-05/0.1017, allocations: 132.5 kB / 384.9 MB, free: 9.406 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.205e-05/0.1017, allocations: 67.38 kB / 385 MB, free: 9.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.387e-05/0.1018, allocations: 37.7 kB / 385 MB, free: 9.297 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1019, allocations: 322.8 kB / 385.3 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.102, allocations: 51.91 kB / 385.4 MB, free: 8.922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.1021, allocations: 78.53 kB / 385.5 MB, free: 8.836 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002521/0.1024, allocations: 135.3 kB / 385.6 MB, free: 8.691 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1024, allocations: 0 / 385.6 MB, free: 8.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003979/0.1028, allocations: 198.3 kB / 385.8 MB, free: 8.488 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.1028, allocations: 15.88 kB / 385.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.1028, allocations: 0 / 385.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000166/0.103, allocations: 40.77 kB / 385.8 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.1031, allocations: 36.05 kB / 385.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/0.1045, allocations: 1.406 MB / 387.3 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.683e-05/0.1046, allocations: 8.031 kB / 387.3 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.1046, allocations: 4 kB / 387.3 MB, free: 6.875 MB / 350.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.0001228/0.1047, allocations: 133.7 kB / 387.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.694e-05/0.1047, allocations: 16.02 kB / 387.4 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.593e-05/0.1048, allocations: 25.11 kB / 387.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1048, allocations: 0 / 387.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.155e-06/0.1048, allocations: 0 / 387.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1048, allocations: 0 / 387.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007933/0.1056, allocations: 0.5017 MB / 388 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1056, allocations: 3.938 kB / 388 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.1057, allocations: 27.98 kB / 388 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001178/0.1058, allocations: 36.83 kB / 388 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.1059, allocations: 8 kB / 388 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/0.107, allocations: 1.343 MB / 389.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.107, allocations: 8.078 kB / 389.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005286/0.1076, allocations: 342.9 kB / 389.7 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.071e-05/0.1076, allocations: 20 kB / 389.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.1076, allocations: 4 kB / 389.8 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.1077, allocations: 4 kB / 389.8 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.1078, allocations: 15.97 kB / 389.8 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.1078, allocations: 7.938 kB / 389.8 MB, free: 4.203 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.475e-05/0.1078, allocations: 103.3 kB / 389.9 MB, free: 4.102 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1078, allocations: 0 / 389.9 MB, free: 4.102 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003041/0.1081, allocations: 44 kB / 389.9 MB, free: 4.059 MB / 350.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.0001145/0.1083, allocations: 107.2 kB / 390 MB, free: 3.945 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004767/0.1087, allocations: 238.6 kB / 390.3 MB, free: 3.699 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1087, allocations: 0 / 390.3 MB, free: 3.699 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002817/0.109, allocations: 194.4 kB / 390.5 MB, free: 3.496 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.1093, allocations: 23.09 kB / 390.5 MB, free: 3.477 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008964/0.1102, allocations: 0.4962 MB / 391 MB, free: 2.957 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.1104, allocations: 112.2 kB / 391.1 MB, free: 2.828 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.703e-05/0.1104, allocations: 25.41 kB / 391.1 MB, free: 2.801 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.886e-05/0.1105, allocations: 16.5 kB / 391.1 MB, free: 2.785 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1105, allocations: 0 / 391.1 MB, free: 2.785 MB / 350.1 MB Notification: Performance of Templates: time 0.005332/0.1158, allocations: 1.796 MB / 392.9 MB, free: 1.012 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.315809583989903]