Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 109.7 kB / 18.4 MB, free: 4.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 183 kB / 19.34 MB, free: 3.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.285/1.285, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 47.94 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0711/0.07234, allocations: 46.62 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003166/0.07554, allocations: 2.116 MB / 377.9 MB, free: 2.445 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.0766, allocations: 0.585 MB / 378.5 MB, free: 1.852 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.07678, allocations: 8 kB / 378.5 MB, free: 1.844 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001625/0.07697, allocations: 35.66 kB / 378.6 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001468/0.07713, allocations: 51.5 kB / 378.6 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001807/0.07732, allocations: 47.94 kB / 378.7 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.07757, allocations: 207 kB / 378.9 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.07774, allocations: 77.62 kB / 378.9 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.624e-05/0.07785, allocations: 71.78 kB / 379 MB, free: 1.363 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.07799, allocations: 83.62 kB / 379.1 MB, free: 1.281 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.367e-05/0.07803, allocations: 16 kB / 379.1 MB, free: 1.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.662e-05/0.07807, allocations: 20 kB / 379.1 MB, free: 1.246 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.872e-05/0.07811, allocations: 39.84 kB / 379.2 MB, free: 1.207 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.93e-05/0.07821, allocations: 91.53 kB / 379.3 MB, free: 1.117 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.07847, allocations: 215.1 kB / 379.5 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.07848, allocations: 0 / 379.5 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.07849, allocations: 0 / 379.5 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.0785, allocations: 0 / 379.5 MB, free: 0.9062 MB / 318.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.0006407/0.07915, allocations: 478.6 kB / 379.9 MB, free: 400 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.07919, allocations: 12.03 kB / 379.9 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.604e-05/0.07925, allocations: 20.8 kB / 380 MB, free: 368 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.07953, allocations: 224.1 kB / 380.2 MB, free: 104 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.07956, allocations: 8.375 kB / 380.2 MB, free: 96 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.449e-05/0.07961, allocations: 28.27 kB / 380.2 MB, free: 68 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1427/0.2223, allocations: 155.9 kB / 380.4 MB, free: 13.79 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.2223, allocations: 1.25 kB / 380.4 MB, free: 13.79 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.2224, allocations: 9.531 kB / 380.4 MB, free: 13.79 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.2224, allocations: 3.594 kB / 380.4 MB, free: 13.79 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000247/0.2226, allocations: 104.2 kB / 380.5 MB, free: 13.79 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007668/0.2234, allocations: 0.5862 MB / 381.1 MB, free: 13.46 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.2236, allocations: 117.3 kB / 381.2 MB, free: 13.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.412e-05/0.2237, allocations: 42.7 kB / 381.2 MB, free: 13.39 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.2238, allocations: 1.375 kB / 381.2 MB, free: 13.39 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.194e-05/0.2238, allocations: 36.36 kB / 381.3 MB, free: 13.35 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.2238, allocations: 1.375 kB / 381.3 MB, free: 13.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.00133/0.2251, allocations: 0.8019 MB / 382.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.394e-05/0.2251, allocations: 53.25 kB / 382.1 MB, free: 12.69 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.2253, allocations: 157.6 kB / 382.3 MB, free: 12.57 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.2253, allocations: 31.08 kB / 382.3 MB, free: 12.54 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.441e-05/0.2253, allocations: 135.4 kB / 382.4 MB, free: 12.42 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.2254, allocations: 69.36 kB / 382.5 MB, free: 12.36 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.399e-05/0.2254, allocations: 34.97 kB / 382.5 MB, free: 12.34 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.168e-05/0.2255, allocations: 330.5 kB / 382.9 MB, free: 12.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.2256, allocations: 45.03 kB / 382.9 MB, free: 12 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.2257, allocations: 77.12 kB / 383 MB, free: 11.95 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.2259, allocations: 127.3 kB / 383.1 MB, free: 11.88 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.2259, allocations: 1.734 kB / 383.1 MB, free: 11.88 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003925/0.2263, allocations: 214.7 kB / 383.3 MB, free: 11.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.2263, allocations: 8.781 kB / 383.3 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2263, allocations: 0 / 383.3 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001693/0.2265, allocations: 42 kB / 383.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.2267, allocations: 33.62 kB / 383.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009503/0.2277, allocations: 1.539 MB / 384.9 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.865e-05/0.2278, allocations: 3.594 kB / 384.9 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.2278, allocations: 9.688 kB / 384.9 MB, free: 10.26 MB / 318.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 8.01e-05/0.2279, allocations: 130.6 kB / 385.1 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/0.2279, allocations: 16.84 kB / 385.1 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.108e-05/0.228, allocations: 22.17 kB / 385.1 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.228, allocations: 8.188 kB / 385.1 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.228, allocations: 3.531 kB / 385.1 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.697e-05/0.228, allocations: 90.31 kB / 385.2 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.228, allocations: 6.344 kB / 385.2 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.2281, allocations: 4.078 kB / 385.2 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.2282, allocations: 16.16 kB / 385.2 MB, free: 9.996 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005174/0.2287, allocations: 284.5 kB / 385.5 MB, free: 9.836 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003791/0.2291, allocations: 400.2 kB / 385.9 MB, free: 9.551 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001068/0.2292, allocations: 55.94 kB / 386 MB, free: 9.535 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.394e-05/0.2293, allocations: 119.2 kB / 386.1 MB, free: 9.449 MB / 318.1 MB Notification: Performance of Backend: time 4.61e-07/0.2293, allocations: 3.438 kB / 386.1 MB, free: 9.449 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005753/0.2299, allocations: 289.3 kB / 386.4 MB, free: 9.234 MB / 318.1 MB Notification: Performance of SimCode: time 0.0007633/0.2307, allocations: 0.9558 MB / 387.3 MB, free: 8.426 MB / 318.1 MB Notification: Performance of Templates: time 0.004783/0.2355, allocations: 1.983 MB / 389.3 MB, free: 8.266 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches