Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.001378/0.001378, 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.001537/0.001537, 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.412/1.412, 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.MultiBody.Examples.Elementary.PendulumWithSpringDamper,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",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.001938/0.001938, allocations: 51.92 kB / 347.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2949, allocations: 49.16 MB / 396.4 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.01058/0.3055, allocations: 10.39 MB / 406.8 MB, free: 1.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008353/0.3139, allocations: 3.932 MB / 410.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001605/0.3155, allocations: 65.06 kB / 410.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004261/0.3197, allocations: 2.108 MB / 412.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004497/0.3242, allocations: 1.687 MB / 414.5 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.3259, allocations: 0.6889 MB / 415.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005609/0.3316, allocations: 3.395 MB / 418.6 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003102/0.3347, allocations: 2.234 MB / 420.9 MB, free: 9.129 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002465/0.3371, allocations: 1.294 MB / 422.2 MB, free: 8.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003155/0.3403, allocations: 1.907 MB / 424.1 MB, free: 7.246 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006463/0.3409, allocations: 262.9 kB / 424.3 MB, free: 7.246 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002405/0.3433, allocations: 1.146 MB / 425.5 MB, free: 6.121 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001635/0.345, allocations: 1.624 MB / 427.1 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002083/0.347, allocations: 1.875 MB / 429 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007259/0.3543, allocations: 5.984 MB / 434.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3543, allocations: 0 / 434.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3543, allocations: 0 / 434.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001352/0.3544, allocations: 0 / 434.9 MB, free: 12.6 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: 1349 * Number of variables: 1349 Notification: Performance of Generate backend data structure: time 0.007598/0.362, allocations: 4.184 MB / 439.1 MB, free: 8.363 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.3621, allocations: 11.98 kB / 439.1 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008441/0.3629, allocations: 0.6413 MB / 439.8 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006377/0.3693, allocations: 1.89 MB / 441.7 MB, free: 5.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005063/0.3744, allocations: 2.31 MB / 444 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001825/0.3746, allocations: 205.2 kB / 444.2 MB, free: 3.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006931/0.3752, allocations: 267.9 kB / 444.4 MB, free: 2.988 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01807/0.3933, allocations: 9.985 MB / 454.4 MB, free: 8.328 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001008/0.3934, allocations: 39.69 kB / 454.5 MB, free: 8.289 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003453/0.3938, allocations: 135.9 kB / 454.6 MB, free: 8.156 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002899/0.3967, allocations: 1.848 MB / 456.4 MB, free: 6.305 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01692/0.4136, allocations: 8.54 MB / 465 MB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0465/0.4601, allocations: 36.67 MB / 0.4899 GB, free: 8.035 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009429/0.4695, allocations: 3.063 MB / 0.4929 GB, free: 4.934 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002676/0.4722, allocations: 1.697 MB / 0.4946 GB, free: 3.227 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01236/0.4845, allocations: 6.632 MB / 0.501 GB, free: 12.54 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.565e-05/0.4846, allocations: 55.56 kB / 0.5011 GB, free: 12.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=150): time 4.729e-06/0.4846, allocations: 0 / 0.5011 GB, free: 12.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=166): time 0.05174/0.5364, allocations: 17.45 MB / 0.5181 GB, free: 10.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.5365, allocations: 149.5 kB / 0.5183 GB, free: 10.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0057/0.5422, allocations: 3.51 MB / 0.5217 GB, free: 7.285 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002879/0.5425, allocations: 53.61 kB / 0.5217 GB, free: 7.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002218/0.5447, allocations: 2.846 MB / 0.5245 GB, free: 4.359 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009064/0.5456, allocations: 0.6706 MB / 0.5252 GB, free: 3.684 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001788/0.5474, allocations: 1.116 MB / 0.5263 GB, free: 2.559 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.5475, allocations: 309.1 kB / 0.5266 GB, free: 2.254 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002932/0.5504, allocations: 1.943 MB / 0.5285 GB, free: 312 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005737/0.5562, allocations: 5.369 MB / 0.5337 GB, free: 9.219 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009841/0.566, allocations: 7.908 MB / 0.5414 GB, free: 15.61 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.026e-05/0.5661, allocations: 40.28 kB / 0.5415 GB, free: 15.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=724) (initialization): time 0.01589/0.582, allocations: 8.156 MB / 0.5494 GB, free: 7.402 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.5821, allocations: 56.09 kB / 0.5495 GB, free: 7.348 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002075/0.5823, allocations: 127.9 kB / 0.5496 GB, free: 7.223 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004068/0.5864, allocations: 1.293 MB / 0.5509 GB, free: 5.926 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004163/0.5905, allocations: 1.259 MB / 0.5521 GB, free: 4.664 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2404/0.8309, allocations: 6.439 MB / 0.5584 GB, free: 140.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00435/0.8353, allocations: 302.6 kB / 0.5587 GB, free: 140.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006994/0.836, allocations: 339.5 kB / 0.559 GB, free: 140.3 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 36 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (681): * Single equations (assignments): 677 * Array equations: 3 * 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 {(3,17,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003077/0.839, allocations: 1.812 MB / 0.5608 GB, free: 140.1 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006077/0.8396, allocations: 322.2 kB / 0.5611 GB, free: 140.1 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007145/0.8468, allocations: 3.358 MB / 0.5644 GB, free: 139.1 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-05/0.8468, allocations: 19.95 kB / 0.5644 GB, free: 139.1 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/0.8468, allocations: 8.062 kB / 0.5644 GB, free: 139.1 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.342e-05/0.8469, allocations: 8.031 kB / 0.5644 GB, free: 139.1 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.014/0.8609, allocations: 7.526 MB / 0.5717 GB, free: 136.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/0.8609, allocations: 8.453 kB / 0.5717 GB, free: 136.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.8619, allocations: 237.1 kB / 0.572 GB, free: 136.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003278/0.8652, allocations: 1.125 MB / 0.5731 GB, free: 136.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/0.8653, allocations: 31.22 kB / 0.5731 GB, free: 136.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006938/0.8723, allocations: 6.06 MB / 0.579 GB, free: 133.5 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.8723, allocations: 4.406 kB / 0.579 GB, free: 133.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007877/0.8802, allocations: 5.707 MB / 0.5846 GB, free: 131.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/0.8815, allocations: 0.5152 MB / 0.5851 GB, free: 131.3 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003885/0.8819, allocations: 27.72 kB / 0.5851 GB, free: 131.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/0.883, allocations: 95.55 kB / 0.5852 GB, free: 131.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000223/0.8832, allocations: 91.17 kB / 0.5853 GB, free: 131.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.8833, allocations: 48.89 kB / 0.5853 GB, free: 131.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00262/0.886, allocations: 2.163 MB / 0.5875 GB, free: 130.1 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.886, allocations: 0 / 0.5875 GB, free: 130.1 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003723/0.8897, allocations: 0.9141 MB / 0.5884 GB, free: 130 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * 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 (129): * Single equations (assignments): 125 * Array equations: 3 * 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 {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007474/0.8971, allocations: 6.353 MB / 0.5946 GB, free: 125.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005384/0.9025, allocations: 4.599 MB / 0.599 GB, free: 120.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.9025, allocations: 0 / 0.599 GB, free: 120.7 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001621/0.9042, allocations: 1.429 MB / 0.6004 GB, free: 119.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/0.9059, allocations: 350.9 kB / 0.6008 GB, free: 119 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04301/0.949, allocations: 41.37 MB / 0.6412 GB, free: 72.39 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002085/0.951, allocations: 2.863 MB / 0.644 GB, free: 69.49 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002865/0.9539, allocations: 1.703 MB / 0.6456 GB, free: 67.78 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00142/0.9553, allocations: 1.585 MB / 0.6472 GB, free: 66.2 MB / 478.1 MB Notification: Performance of SimCode: time 8.41e-07/0.9553, allocations: 0 / 0.6472 GB, free: 66.2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6914/1.647, allocations: 65.44 MB / 0.7111 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 22.09/23.74, allocations: 15.84 kB / 0.7111 GB, free: 0.6719 MB / 478.1 MB " [Timeout remaining time 636] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/PendulumWithSpringDamper/PendulumWithSpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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: 26.756663407897577]