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.001312/0.001312, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001379/0.001379, allocations: 206 kB / 23.73 MB, free: 4.379 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.377/1.377, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.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: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 43.92 kB / 377.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2497, allocations: 53.36 MB / 431.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003447/0.2531, allocations: 2.036 MB / 433.1 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.2542, allocations: 0.5493 MB / 433.6 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.2544, allocations: 11.94 kB / 433.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001689/0.2545, allocations: 31.72 kB / 433.7 MB, free: 4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.2547, allocations: 55.48 kB / 433.7 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.2548, allocations: 43.95 kB / 433.8 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002675/0.2551, allocations: 211 kB / 434 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.2553, allocations: 55.39 kB / 434 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.2554, allocations: 75.67 kB / 434.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.2555, allocations: 83.62 kB / 434.2 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.258e-05/0.2555, allocations: 16 kB / 434.2 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.262e-05/0.2556, allocations: 16 kB / 434.2 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.465e-05/0.2556, allocations: 39.89 kB / 434.3 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.643e-05/0.2557, allocations: 75.67 kB / 434.3 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.256, allocations: 216.8 kB / 434.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.256, allocations: 0 / 434.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.256, allocations: 0 / 434.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.256, allocations: 0 / 434.6 MB, free: 3.129 MB / 334.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.0006659/0.2567, allocations: 401.5 kB / 435 MB, free: 2.707 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.2567, allocations: 8.031 kB / 435 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.992e-05/0.2568, allocations: 58.67 kB / 435 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.2568, allocations: 20.84 kB / 435 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.2571, allocations: 166.1 kB / 435.2 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.409e-05/0.2571, allocations: 20.09 kB / 435.2 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.967e-05/0.2572, allocations: 20.38 kB / 435.2 MB, free: 2.387 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000323/0.2575, allocations: 153.7 kB / 435.4 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.2575, allocations: 4 kB / 435.4 MB, free: 2.227 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.2575, allocations: 4 kB / 435.4 MB, free: 2.223 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.2576, allocations: 4 kB / 435.4 MB, free: 2.219 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002355/0.2578, allocations: 107.7 kB / 435.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000869/0.2587, allocations: 0.5139 MB / 436 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.2589, allocations: 114.5 kB / 436.1 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.392e-05/0.259, allocations: 36.84 kB / 436.2 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.259, allocations: 7.938 kB / 436.2 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.2591, allocations: 34.56 kB / 436.2 MB, free: 1.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.2591, allocations: 0 / 436.2 MB, free: 1.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001522/0.2606, allocations: 0.6501 MB / 436.9 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.2606, allocations: 55.41 kB / 436.9 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.2608, allocations: 162.2 kB / 437.1 MB, free: 412 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.2608, allocations: 25.7 kB / 437.1 MB, free: 380 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.754e-05/0.2609, allocations: 128.4 kB / 437.2 MB, free: 248 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.9e-05/0.261, allocations: 75.34 kB / 437.3 MB, free: 172 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.239e-05/0.261, allocations: 37.72 kB / 437.3 MB, free: 128 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.2612, allocations: 334.8 kB / 437.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.2613, allocations: 39.98 kB / 437.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.2614, allocations: 77.47 kB / 437.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.2617, allocations: 131.3 kB / 437.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.2617, allocations: 0 / 437.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003973/0.262, allocations: 206.2 kB / 438.1 MB, free: 15.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.2621, allocations: 10.66 kB / 438.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.2621, allocations: 3.984 kB / 438.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001925/0.2623, allocations: 44.83 kB / 438.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.2624, allocations: 27.98 kB / 438.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/0.2638, allocations: 1.428 MB / 439.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.886e-05/0.2639, allocations: 4.031 kB / 439.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.2639, allocations: 15.92 kB / 439.6 MB, free: 13.66 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.0001504/0.2641, allocations: 133.8 kB / 439.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.2641, allocations: 11.91 kB / 439.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.462e-05/0.2641, allocations: 21.12 kB / 439.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/0.2641, allocations: 4 kB / 439.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.2642, allocations: 3.938 kB / 439.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.2642, allocations: 3.984 kB / 439.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008684/0.265, allocations: 0.5365 MB / 440.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.265, allocations: 0 / 440.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.2652, allocations: 27.98 kB / 440.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001285/0.2653, allocations: 32.83 kB / 440.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.2653, allocations: 4 kB / 440.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/0.2666, allocations: 1.377 MB / 441.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2666, allocations: 0 / 441.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005115/0.2671, allocations: 336 kB / 442.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.046e-05/0.2671, allocations: 19.92 kB / 442.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.2671, allocations: 0 / 442.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.2672, allocations: 8 kB / 442.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.2673, allocations: 15.97 kB / 442.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.2673, allocations: 8.125 kB / 442.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001008/0.2674, allocations: 124 kB / 442.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2674, allocations: 0 / 442.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000309/0.2677, allocations: 47.94 kB / 442.3 MB, free: 10.75 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.0008487/0.2686, allocations: 0.8684 MB / 443.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005305/0.2691, allocations: 250.7 kB / 443.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2691, allocations: 0 / 443.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002694/0.2694, allocations: 186.5 kB / 443.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.2697, allocations: 34.84 kB / 443.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002739/0.2725, allocations: 2.138 MB / 445.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/0.2726, allocations: 124.2 kB / 445.9 MB, free: 6.996 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.078e-05/0.2727, allocations: 13.48 kB / 445.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.53e-05/0.2728, allocations: 47.42 kB / 446 MB, free: 6.938 MB / 350.1 MB Notification: Performance of SimCode: time 9.01e-07/0.2728, allocations: 7.938 kB / 446 MB, free: 6.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03389/0.3066, allocations: 4.421 MB / 450.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.06, allocations: 12.05 kB / 450.4 MB, free: 2.645 MB / 350.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_RollingWheel_fmu --startTime=0 --stopTime=5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 52.5] 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: 13.36838906101184]