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.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.004846/0.004846, allocations: 111 kB / 21.97 MB, free: 5.25 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.001357/0.001357, allocations: 202.5 kB / 25.27 MB, free: 3.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.304/1.304, allocations: 207.6 MB / 236 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 179] 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.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_3_2_3_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 59.91 kB / 348 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2423, allocations: 49.16 MB / 397.1 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002762/0.245, allocations: 2.128 MB / 399.3 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007854/0.2458, allocations: 0.5986 MB / 399.9 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.2459, allocations: 12.28 kB / 399.9 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001356/0.2461, allocations: 31.8 kB / 399.9 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.875e-05/0.2462, allocations: 53.77 kB / 400 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.2463, allocations: 48.47 kB / 400 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.2466, allocations: 202.5 kB / 400.2 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.2467, allocations: 59.09 kB / 400.3 MB, free: 6.855 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.692e-05/0.2468, allocations: 77.59 kB / 400.3 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.2469, allocations: 86.84 kB / 400.4 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.097e-05/0.2469, allocations: 16.31 kB / 400.4 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.326e-05/0.247, allocations: 16.97 kB / 400.4 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.351e-05/0.247, allocations: 38.42 kB / 400.5 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.527e-05/0.2471, allocations: 92 kB / 400.6 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.2473, allocations: 212 kB / 400.8 MB, free: 6.613 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2473, allocations: 0 / 400.8 MB, free: 6.613 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2473, allocations: 0 / 400.8 MB, free: 6.613 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.2473, allocations: 1.031 kB / 400.8 MB, free: 6.613 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.0005532/0.2479, allocations: 410.5 kB / 401.2 MB, free: 6.266 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.2479, allocations: 13.14 kB / 401.2 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.82e-05/0.2479, allocations: 4.031 kB / 401.2 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.984e-05/0.248, allocations: 53.33 kB / 401.3 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.102e-05/0.248, allocations: 22.36 kB / 401.3 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.2482, allocations: 157.5 kB / 401.4 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.2483, allocations: 14.81 kB / 401.4 MB, free: 6.039 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.875e-05/0.2483, allocations: 27.97 kB / 401.5 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.2486, allocations: 157.1 kB / 401.6 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.2486, allocations: 1.922 kB / 401.6 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.2486, allocations: 9.438 kB / 401.6 MB, free: 5.934 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.351e-06/0.2486, allocations: 4.344 kB / 401.6 MB, free: 5.934 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002234/0.2488, allocations: 103.2 kB / 401.7 MB, free: 5.902 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000716/0.2496, allocations: 0.5535 MB / 402.3 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.2498, allocations: 104.6 kB / 402.4 MB, free: 5.438 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.13e-05/0.2498, allocations: 41.16 kB / 402.4 MB, free: 5.418 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.2498, allocations: 5.297 kB / 402.4 MB, free: 5.414 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.15e-05/0.2499, allocations: 35.88 kB / 402.5 MB, free: 5.371 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.2499, allocations: 4 kB / 402.5 MB, free: 5.367 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.00122/0.2511, allocations: 0.6526 MB / 403.1 MB, free: 4.926 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.934e-05/0.2511, allocations: 58.06 kB / 403.2 MB, free: 4.859 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.2512, allocations: 160.9 kB / 403.3 MB, free: 4.738 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.2512, allocations: 26.86 kB / 403.4 MB, free: 4.707 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.148e-05/0.2513, allocations: 130.5 kB / 403.5 MB, free: 4.59 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.2513, allocations: 72.75 kB / 403.6 MB, free: 4.531 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-05/0.2514, allocations: 32.5 kB / 403.6 MB, free: 4.508 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.616e-05/0.2514, allocations: 331.3 kB / 403.9 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.658e-05/0.2515, allocations: 40.48 kB / 404 MB, free: 4.172 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.2516, allocations: 81.56 kB / 404 MB, free: 4.117 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.2518, allocations: 129.1 kB / 404.2 MB, free: 4.039 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.2518, allocations: 1.062 kB / 404.2 MB, free: 4.039 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003392/0.2521, allocations: 210.9 kB / 404.4 MB, free: 3.93 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.2522, allocations: 6.812 kB / 404.4 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.2522, allocations: 0 / 404.4 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001571/0.2523, allocations: 39.39 kB / 404.4 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.2525, allocations: 34.53 kB / 404.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000834/0.2533, allocations: 1.431 MB / 405.9 MB, free: 2.539 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.881e-05/0.2534, allocations: 9.938 kB / 405.9 MB, free: 2.535 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.2534, allocations: 9.031 kB / 405.9 MB, free: 2.531 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 7.644e-05/0.2535, allocations: 130 kB / 406 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/0.2535, allocations: 15.81 kB / 406 MB, free: 2.395 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.394e-05/0.2535, allocations: 23.02 kB / 406.1 MB, free: 2.383 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2535, allocations: 2.25 kB / 406.1 MB, free: 2.383 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2536, allocations: 4.969 kB / 406.1 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2536, allocations: 3.938 kB / 406.1 MB, free: 2.375 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006419/0.2542, allocations: 0.5459 MB / 406.6 MB, free: 1.957 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2542, allocations: 4.641 kB / 406.6 MB, free: 1.953 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.2543, allocations: 31.52 kB / 406.7 MB, free: 1.949 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001008/0.2544, allocations: 30.31 kB / 406.7 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.2545, allocations: 5.062 kB / 406.7 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006965/0.2552, allocations: 1.373 MB / 408.1 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2552, allocations: 4 kB / 408.1 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003942/0.2555, allocations: 346.3 kB / 408.4 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.835e-05/0.2556, allocations: 12.88 kB / 408.4 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.2556, allocations: 5.125 kB / 408.4 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.48e-05/0.2557, allocations: 8.234 kB / 408.4 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.2557, allocations: 14.36 kB / 408.5 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.2557, allocations: 7.406 kB / 408.5 MB, free: 356 kB / 318.1 MB Notification: Performance of sorting global known variables: time 6.269e-05/0.2558, allocations: 126 kB / 408.6 MB, free: 260 kB / 318.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2558, allocations: 1 kB / 408.6 MB, free: 260 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.2561, allocations: 41.28 kB / 408.6 MB, free: 256 kB / 318.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.0007244/0.2568, allocations: 0.8713 MB / 409.5 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004637/0.2573, allocations: 249.2 kB / 409.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2573, allocations: 0 / 409.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002666/0.2575, allocations: 191.8 kB / 409.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.2578, allocations: 27.06 kB / 410 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002586/0.2604, allocations: 2.137 MB / 412.1 MB, free: 13.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/0.2608, allocations: 0.7341 MB / 412.8 MB, free: 12.81 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.466e-05/0.2609, allocations: 17.78 kB / 412.8 MB, free: 12.81 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.239e-05/0.261, allocations: 53.08 kB / 412.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.261, allocations: 0 / 412.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0284/0.2894, allocations: 3.953 MB / 416.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/10.96, allocations: 17.67 kB / 416.9 MB, free: 11.26 MB / 334.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_RollingWheel_fmu --startTime=0 --stopTime=5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.29603910096921]