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.001328/0.001328, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.001452/0.001452, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.421/1.421, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",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.001945/0.001945, allocations: 55.92 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2607, allocations: 49.16 MB / 396.3 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003295/0.264, allocations: 2.129 MB / 398.5 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.2651, allocations: 0.601 MB / 399.1 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002054/0.2653, allocations: 8.281 kB / 399.1 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.2655, allocations: 28.34 kB / 399.1 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001442/0.2656, allocations: 53.8 kB / 399.2 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.2658, allocations: 52.8 kB / 399.2 MB, free: 7 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002453/0.2661, allocations: 205.9 kB / 399.4 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.2662, allocations: 51.94 kB / 399.5 MB, free: 6.871 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.2664, allocations: 83.5 kB / 399.5 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.2665, allocations: 79.3 kB / 399.6 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.915e-05/0.2666, allocations: 17.38 kB / 399.6 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.923e-05/0.2666, allocations: 16.62 kB / 399.7 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.51e-05/0.2667, allocations: 38.78 kB / 399.7 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.006e-05/0.2667, allocations: 94.56 kB / 399.8 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002674/0.267, allocations: 209.6 kB / 400 MB, free: 6.629 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.267, allocations: 1.219 kB / 400 MB, free: 6.629 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.267, allocations: 4 kB / 400 MB, free: 6.625 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.477e-05/0.267, allocations: 0 / 400 MB, free: 6.625 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.0006508/0.2677, allocations: 410.4 kB / 400.4 MB, free: 6.277 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.2677, allocations: 14.08 kB / 400.4 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.129e-05/0.2678, allocations: 56.28 kB / 400.5 MB, free: 6.219 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.901e-05/0.2678, allocations: 27.19 kB / 400.5 MB, free: 6.203 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.2681, allocations: 156.8 kB / 400.6 MB, free: 6.051 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.2681, allocations: 15.31 kB / 400.7 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.211e-05/0.2682, allocations: 23.36 kB / 400.7 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003127/0.2685, allocations: 158 kB / 400.8 MB, free: 5.949 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.2685, allocations: 1.891 kB / 400.8 MB, free: 5.949 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.2685, allocations: 5 kB / 400.8 MB, free: 5.945 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.2685, allocations: 3.781 kB / 400.8 MB, free: 5.945 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002276/0.2688, allocations: 102.2 kB / 400.9 MB, free: 5.914 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008009/0.2696, allocations: 0.5555 MB / 401.5 MB, free: 5.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.2698, allocations: 109.2 kB / 401.6 MB, free: 5.445 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.782e-05/0.2698, allocations: 37.81 kB / 401.6 MB, free: 5.426 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.2699, allocations: 3.578 kB / 401.6 MB, free: 5.426 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.436e-05/0.2699, allocations: 34.56 kB / 401.7 MB, free: 5.383 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.2699, allocations: 1.469 kB / 401.7 MB, free: 5.383 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001274/0.2711, allocations: 0.6495 MB / 402.3 MB, free: 4.945 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.311e-05/0.2712, allocations: 57.62 kB / 402.4 MB, free: 4.879 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.2713, allocations: 158.4 kB / 402.5 MB, free: 4.762 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.2713, allocations: 27.05 kB / 402.6 MB, free: 4.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.234e-05/0.2713, allocations: 130.8 kB / 402.7 MB, free: 4.613 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.2714, allocations: 68.56 kB / 402.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.093e-05/0.2714, allocations: 35.94 kB / 402.8 MB, free: 4.531 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.64e-05/0.2715, allocations: 335.8 kB / 403.1 MB, free: 4.203 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.494e-05/0.2716, allocations: 44.58 kB / 403.2 MB, free: 4.188 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.2717, allocations: 72.73 kB / 403.2 MB, free: 4.141 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.2719, allocations: 126.2 kB / 403.4 MB, free: 4.066 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.2719, allocations: 5.344 kB / 403.4 MB, free: 4.062 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003417/0.2722, allocations: 214.8 kB / 403.6 MB, free: 3.949 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.2722, allocations: 9.125 kB / 403.6 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2722, allocations: 1.125 kB / 403.6 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000161/0.2724, allocations: 39.78 kB / 403.6 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.2725, allocations: 37.88 kB / 403.7 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008761/0.2734, allocations: 1.431 MB / 405.1 MB, free: 2.551 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.881e-05/0.2735, allocations: 10.86 kB / 405.1 MB, free: 2.547 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.2735, allocations: 8.359 kB / 405.1 MB, free: 2.543 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.742e-05/0.2736, allocations: 134.3 kB / 405.2 MB, free: 2.41 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/0.2736, allocations: 14.88 kB / 405.3 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.805e-05/0.2737, allocations: 24.23 kB / 405.3 MB, free: 2.391 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.2737, allocations: 2.125 kB / 405.3 MB, free: 2.391 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2737, allocations: 9.5 kB / 405.3 MB, free: 2.383 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2737, allocations: 0 / 405.3 MB, free: 2.383 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007111/0.2744, allocations: 0.542 MB / 405.8 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2744, allocations: 0 / 405.8 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.2746, allocations: 31.12 kB / 405.9 MB, free: 1.965 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001105/0.2747, allocations: 34.59 kB / 405.9 MB, free: 1.949 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.2747, allocations: 5.812 kB / 405.9 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007599/0.2754, allocations: 1.382 MB / 407.3 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.2754, allocations: 0 / 407.3 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004104/0.2759, allocations: 337.4 kB / 407.6 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.374e-05/0.2759, allocations: 12.41 kB / 407.6 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.2759, allocations: 5.281 kB / 407.6 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.276, allocations: 6.312 kB / 407.6 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.2761, allocations: 16.34 kB / 407.7 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.2761, allocations: 3.875 kB / 407.7 MB, free: 376 kB / 318.1 MB Notification: Performance of sorting global known variables: time 6.494e-05/0.2761, allocations: 122.9 kB / 407.8 MB, free: 284 kB / 318.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2761, allocations: 0 / 407.8 MB, free: 284 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004694/0.2766, allocations: 53.53 kB / 407.8 MB, free: 268 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.0007308/0.2773, allocations: 0.863 MB / 408.7 MB, free: 15.51 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000485/0.2778, allocations: 252.6 kB / 408.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2778, allocations: 192 / 408.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002652/0.2781, allocations: 195.2 kB / 409.1 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.000344/0.2784, allocations: 21.7 kB / 409.2 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002725/0.2811, allocations: 2.145 MB / 411.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.2816, allocations: 0.7302 MB / 412 MB, free: 12.82 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.001e-05/0.2816, allocations: 16.78 kB / 412 MB, free: 12.82 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.044e-05/0.2817, allocations: 56.3 kB / 412.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2817, allocations: 0 / 412.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03489/0.3166, allocations: 3.927 MB / 416 MB, free: 11.3 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/11.94, allocations: 5.797 kB / 416 MB, free: 11.29 MB / 334.1 MB " [Timeout remaining time 648] (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: 14.357625175034627]