Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,fileNamePrefix="Modelica_3_2_3_cpp_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_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001327/0.001327, allocations: 176 kB / 16.72 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.18/1.18, allocations: 205.4 MB / 222.9 MB, free: 9.004 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008324/0.0008325, allocations: 90.3 kB / 271.2 MB, free: 8.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00029/0.0002902, allocations: 8 kB / 327.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1825, allocations: 47.57 MB / 375.2 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.01973/0.2023, allocations: 31.46 MB / 406.6 MB, free: 17.17 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01175/0.2141, allocations: 7.45 MB / 414.1 MB, free: 9.699 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00444/0.2186, allocations: 147.6 kB / 414.2 MB, free: 9.555 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003497/0.2221, allocations: 1.582 MB / 415.8 MB, free: 7.965 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009545/0.2317, allocations: 4.864 MB / 420.7 MB, free: 3.086 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002183/0.2339, allocations: 0.624 MB / 421.3 MB, free: 2.461 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004029/0.2379, allocations: 3.864 MB / 425.2 MB, free: 14.58 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004786/0.2427, allocations: 3.607 MB / 428.8 MB, free: 10.91 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001637/0.2444, allocations: 1.055 MB / 429.8 MB, free: 9.848 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002145/0.2465, allocations: 1.659 MB / 431.5 MB, free: 8.184 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000522/0.2471, allocations: 120 kB / 431.6 MB, free: 8.066 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001903/0.249, allocations: 1.041 MB / 432.6 MB, free: 7.023 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001237/0.2502, allocations: 1.399 MB / 434 MB, free: 5.621 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001434/0.2517, allocations: 1.621 MB / 435.7 MB, free: 3.984 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003838/0.2555, allocations: 4.502 MB / 440.2 MB, free: 15.47 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.2555, allocations: 0 / 440.2 MB, free: 15.47 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2555, allocations: 0 / 440.2 MB, free: 15.47 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.318e-05/0.2556, allocations: 4 kB / 440.2 MB, free: 15.47 MB / 330.7 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.005338/0.261, allocations: 3.392 MB / 443.6 MB, free: 12.01 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.261, allocations: 8.031 kB / 443.6 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007185/0.2617, allocations: 0.6413 MB / 444.2 MB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006115/0.2679, allocations: 1.914 MB / 446.1 MB, free: 9.426 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003535/0.2714, allocations: 2.334 MB / 448.5 MB, free: 7.043 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.2716, allocations: 205.2 kB / 448.7 MB, free: 6.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004428/0.272, allocations: 271.8 kB / 448.9 MB, free: 6.574 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01565/0.2877, allocations: 9.97 MB / 458.9 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-05/0.2878, allocations: 39.59 kB / 458.9 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003271/0.2881, allocations: 139.9 kB / 459.1 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002864/0.291, allocations: 1.848 MB / 460.9 MB, free: 9.902 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0157/0.3067, allocations: 8.513 MB / 469.4 MB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1854/0.4921, allocations: 36.86 MB / 0.4944 GB, free: 85.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008844/0.501, allocations: 3.875 MB / 0.4982 GB, free: 84.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002436/0.5035, allocations: 1.81 MB / 0.5 GB, free: 84.85 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01002/0.5135, allocations: 7.53 MB / 0.5073 GB, free: 81.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/0.5136, allocations: 52.47 kB / 0.5074 GB, free: 81.33 MB / 378.7 MB Notification: Performance of pre-optimization done (n=150): time 5.1e-06/0.5137, allocations: 0 / 0.5074 GB, free: 81.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=166): time 0.0457/0.5594, allocations: 17.43 MB / 0.5244 GB, free: 69.24 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.5594, allocations: 154.8 kB / 0.5245 GB, free: 69.06 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003619/0.5631, allocations: 3.474 MB / 0.5279 GB, free: 65.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002064/0.5633, allocations: 50.41 kB / 0.528 GB, free: 65.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001083/0.5644, allocations: 2.739 MB / 0.5307 GB, free: 62.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00043/0.5648, allocations: 0.6483 MB / 0.5313 GB, free: 62.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/0.565, allocations: 108 kB / 0.5314 GB, free: 62.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000209/0.5652, allocations: 0.5414 MB / 0.5319 GB, free: 61.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002201/0.5675, allocations: 1.92 MB / 0.5338 GB, free: 59.58 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003283/0.5707, allocations: 5.344 MB / 0.539 GB, free: 52.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006439/0.5772, allocations: 7.884 MB / 0.5467 GB, free: 43.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.526e-05/0.5773, allocations: 36 kB / 0.5468 GB, free: 43.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=724) (initialization): time 0.01256/0.5899, allocations: 8.123 MB / 0.5547 GB, free: 35.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.469e-05/0.59, allocations: 56 kB / 0.5547 GB, free: 35.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.074e-05/0.5901, allocations: 120 kB / 0.5549 GB, free: 34.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003589/0.5937, allocations: 1.307 MB / 0.5561 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003228/0.5969, allocations: 1.255 MB / 0.5574 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006875/0.6038, allocations: 6.087 MB / 0.5633 GB, free: 26.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00348/0.6073, allocations: 299.5 kB / 0.5636 GB, free: 25.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005337/0.6078, allocations: 345.3 kB / 0.5639 GB, free: 25.5 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002579/0.6104, allocations: 1.811 MB / 0.5657 GB, free: 23.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005356/0.611, allocations: 306.4 kB / 0.566 GB, free: 23.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006417/0.6174, allocations: 3.369 MB / 0.5693 GB, free: 19.99 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-05/0.6175, allocations: 17.41 kB / 0.5693 GB, free: 19.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-05/0.6175, allocations: 12 kB / 0.5693 GB, free: 19.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.762e-05/0.6175, allocations: 3.984 kB / 0.5693 GB, free: 19.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01322/0.6307, allocations: 7.595 MB / 0.5767 GB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.431e-05/0.6308, allocations: 0 / 0.5767 GB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.6318, allocations: 243.6 kB / 0.5769 GB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003417/0.6352, allocations: 1.12 MB / 0.578 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001553/0.6354, allocations: 31.98 kB / 0.5781 GB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006848/0.6423, allocations: 5.72 MB / 0.5837 GB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.6423, allocations: 4.5 kB / 0.5837 GB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008367/0.6507, allocations: 5.69 MB / 0.5892 GB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001312/0.652, allocations: 0.5828 MB / 0.5898 GB, free: 14.74 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006652/0.6527, allocations: 24.72 kB / 0.5898 GB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001515/0.6542, allocations: 95.88 kB / 0.5899 GB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003718/0.6546, allocations: 89.59 kB / 0.59 GB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001266/0.6547, allocations: 53.39 kB / 0.59 GB, free: 14.49 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003939/0.6587, allocations: 2.139 MB / 0.5921 GB, free: 12.36 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6587, allocations: 0 / 0.5921 GB, free: 12.36 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0045/0.6632, allocations: 0.9127 MB / 0.593 GB, free: 11.45 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01011/0.6733, allocations: 6.346 MB / 0.5992 GB, free: 5.074 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007833/0.6812, allocations: 4.743 MB / 0.6039 GB, free: 356 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.6812, allocations: 0 / 0.6039 GB, free: 356 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002405/0.6836, allocations: 1.535 MB / 0.6053 GB, free: 14.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003028/0.6867, allocations: 338.8 kB / 0.6057 GB, free: 14.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.053/0.7397, allocations: 30.55 MB / 0.6355 GB, free: 12.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003929/0.7437, allocations: 2.863 MB / 0.6383 GB, free: 9.871 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0024/0.7461, allocations: 1.632 MB / 0.6399 GB, free: 8.238 MB / 442.7 MB Notification: Performance of SimCode: time 1.223e-06/0.7461, allocations: 3.938 kB / 0.6399 GB, free: 8.234 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.62/7.366, allocations: 78.78 MB / 0.7168 GB, free: 133.9 MB / 458.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper.fmu > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches