Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001665/0.001665, allocations: 109.1 kB / 21.22 MB, free: 0.7344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001953/0.001953, allocations: 207.5 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 230.5 MB / 258.2 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 55.91 kB / 378.6 MB, free: 3.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2082, allocations: 53.41 MB / 432 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.01194/0.2201, allocations: 10.33 MB / 442.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007471/0.2276, allocations: 3.936 MB / 446.2 MB, free: 8.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009183/0.2285, allocations: 63.69 kB / 446.3 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003709/0.2322, allocations: 2.11 MB / 448.4 MB, free: 6.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003334/0.2356, allocations: 1.646 MB / 450.1 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.2369, allocations: 0.694 MB / 450.8 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004047/0.241, allocations: 3.4 MB / 454.2 MB, free: 440 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002523/0.2435, allocations: 2.216 MB / 456.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/0.2451, allocations: 1.269 MB / 457.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002389/0.2474, allocations: 1.9 MB / 459.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004606/0.2479, allocations: 264 kB / 459.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.2497, allocations: 1.143 MB / 460.9 MB, free: 9.582 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001438/0.2512, allocations: 1.601 MB / 462.5 MB, free: 7.977 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001737/0.2529, allocations: 1.848 MB / 464.4 MB, free: 6.117 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006329/0.2592, allocations: 5.917 MB / 470.3 MB, free: 180 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2592, allocations: 0 / 470.3 MB, free: 180 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2592, allocations: 0 / 470.3 MB, free: 180 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001024/0.2593, allocations: 11.94 kB / 470.3 MB, free: 168 kB / 366.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.007481/0.2668, allocations: 4.145 MB / 474.5 MB, free: 11.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.2669, allocations: 8.031 kB / 474.5 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.797e-05/0.267, allocations: 93.52 kB / 474.6 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007542/0.2677, allocations: 0.6452 MB / 475.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006515/0.2742, allocations: 1.89 MB / 477.1 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003634/0.2779, allocations: 2.04 MB / 479.1 MB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001673/0.278, allocations: 213.2 kB / 479.3 MB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000477/0.2785, allocations: 271.8 kB / 479.6 MB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01654/0.2951, allocations: 10 MB / 489.6 MB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.508e-05/0.2951, allocations: 39.67 kB / 489.7 MB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003388/0.2955, allocations: 135.9 kB / 489.8 MB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00309/0.2986, allocations: 1.852 MB / 491.6 MB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01681/0.3154, allocations: 8.563 MB / 0.4885 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04384/0.3592, allocations: 36.65 MB / 0.5243 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009115/0.3683, allocations: 3.102 MB / 0.5273 GB, free: 8.633 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002303/0.3706, allocations: 1.693 MB / 0.529 GB, free: 6.926 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01062/0.3813, allocations: 6.628 MB / 0.5354 GB, free: 260 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.881e-05/0.3813, allocations: 63.48 kB / 0.5355 GB, free: 188 kB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 3.687e-06/0.3813, allocations: 0 / 0.5355 GB, free: 188 kB / 446.1 MB Notification: Performance of matching and sorting (n=166): time 0.2149/0.5962, allocations: 17.5 MB / 0.5526 GB, free: 97.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.5962, allocations: 145.5 kB / 0.5527 GB, free: 97.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003038/0.5993, allocations: 3.477 MB / 0.5561 GB, free: 93.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001425/0.5994, allocations: 49.7 kB / 0.5562 GB, free: 93.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009284/0.6003, allocations: 2.848 MB / 0.5589 GB, free: 91.24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003672/0.6007, allocations: 0.6767 MB / 0.5596 GB, free: 90.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009743/0.6017, allocations: 1.112 MB / 0.5607 GB, free: 89.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.582e-05/0.6017, allocations: 305.1 kB / 0.561 GB, free: 89.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002108/0.6038, allocations: 1.955 MB / 0.5629 GB, free: 87.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002914/0.6067, allocations: 5.377 MB / 0.5681 GB, free: 80.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005545/0.6123, allocations: 7.949 MB / 0.5759 GB, free: 70.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.622e-05/0.6123, allocations: 32 kB / 0.5759 GB, free: 70.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=724) (initialization): time 0.01136/0.6237, allocations: 8.174 MB / 0.5839 GB, free: 62.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.546e-05/0.6237, allocations: 57 kB / 0.584 GB, free: 62.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.548e-05/0.6238, allocations: 127.4 kB / 0.5841 GB, free: 62.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003475/0.6273, allocations: 1.299 MB / 0.5854 GB, free: 60.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003092/0.6304, allocations: 1.263 MB / 0.5866 GB, free: 59.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006774/0.6372, allocations: 6.443 MB / 0.5929 GB, free: 52.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003359/0.6405, allocations: 311.6 kB / 0.5932 GB, free: 52.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000414/0.6409, allocations: 336 kB / 0.5935 GB, free: 52.32 MB / 446.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.001879/0.6428, allocations: 1.81 MB / 0.5953 GB, free: 50.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003961/0.6432, allocations: 321.8 kB / 0.5956 GB, free: 50.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005881/0.6491, allocations: 3.373 MB / 0.5989 GB, free: 46.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.048e-05/0.6491, allocations: 20.88 kB / 0.5989 GB, free: 46.78 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.6491, allocations: 4 kB / 0.5989 GB, free: 46.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.6491, allocations: 7.969 kB / 0.5989 GB, free: 46.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01074/0.6599, allocations: 7.554 MB / 0.6063 GB, free: 39.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.976e-06/0.6599, allocations: 3.938 kB / 0.6063 GB, free: 39.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.6609, allocations: 246.2 kB / 0.6065 GB, free: 38.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003309/0.6642, allocations: 1.117 MB / 0.6076 GB, free: 37.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/0.6643, allocations: 28 kB / 0.6076 GB, free: 37.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006673/0.671, allocations: 6.076 MB / 0.6136 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.671, allocations: 0 / 0.6136 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008025/0.679, allocations: 5.751 MB / 0.6192 GB, free: 25.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007858/0.6798, allocations: 289.7 kB / 0.6195 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003946/0.6802, allocations: 24 kB / 0.6195 GB, free: 25.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/0.6815, allocations: 99.86 kB / 0.6196 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002397/0.6817, allocations: 92.75 kB / 0.6197 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/0.6818, allocations: 44 kB / 0.6197 GB, free: 25.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002438/0.6843, allocations: 2.15 MB / 0.6218 GB, free: 23.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6843, allocations: 0 / 0.6218 GB, free: 23.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003741/0.688, allocations: 0.8906 MB / 0.6227 GB, free: 22.26 MB / 446.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.008226/0.6962, allocations: 6.398 MB / 0.6289 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006062/0.7023, allocations: 4.617 MB / 0.6334 GB, free: 11.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.7023, allocations: 4.938 kB / 0.6334 GB, free: 11.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001895/0.7042, allocations: 1.45 MB / 0.6349 GB, free: 9.777 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/0.706, allocations: 357.1 kB / 0.6352 GB, free: 9.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0618/0.7678, allocations: 41.33 MB / 0.6756 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003368/0.7712, allocations: 2.843 MB / 0.6783 GB, free: 7.926 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00397/0.7752, allocations: 1.695 MB / 0.68 GB, free: 6.227 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002273/0.7775, allocations: 1.585 MB / 0.6815 GB, free: 4.641 MB / 494.1 MB Notification: Performance of SimCode: time 1.052e-06/0.7775, allocations: 0 / 0.6815 GB, free: 4.641 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.605/1.383, allocations: 65.14 MB / 0.7452 GB, free: 184 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.44/22.82, allocations: 4.891 kB / 0.7452 GB, free: 184 MB / 0.5294 GB " [Timeout remaining time 637] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PendulumWithSpringDamper/PendulumWithSpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.603344316012226]