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.001265/0.001265, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.001279/0.001279, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.498/1.498, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 63.89 kB / 373.4 MB, free: 10.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1056, allocations: 53.33 MB / 426.7 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.1917/0.2973, allocations: 10.3 MB / 437 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006895/0.3042, allocations: 3.892 MB / 440.9 MB, free: 3.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.3052, allocations: 52.78 kB / 440.9 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003336/0.3085, allocations: 2.107 MB / 443 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004291/0.3128, allocations: 1.64 MB / 444.7 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.3147, allocations: 0.6914 MB / 445.4 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005197/0.3199, allocations: 3.393 MB / 448.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003223/0.3231, allocations: 2.306 MB / 451.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003638/0.3268, allocations: 1.253 MB / 452.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004105/0.3309, allocations: 1.895 MB / 454.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007363/0.3316, allocations: 263 kB / 454.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002528/0.3341, allocations: 1.142 MB / 455.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001981/0.3361, allocations: 1.604 MB / 457.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00289/0.339, allocations: 1.855 MB / 459.1 MB, free: 11.81 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008073/0.3471, allocations: 5.916 MB / 465 MB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3471, allocations: 0 / 465 MB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3471, allocations: 0 / 465 MB, free: 7.742 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001253/0.3472, allocations: 1.25 kB / 465 MB, free: 7.742 MB / 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.008994/0.3562, allocations: 4.228 MB / 469.2 MB, free: 4.742 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3562, allocations: 9.062 kB / 469.2 MB, free: 4.742 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007324/0.357, allocations: 0.6365 MB / 469.9 MB, free: 4.297 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005965/0.3629, allocations: 1.89 MB / 471.7 MB, free: 3.297 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004257/0.3672, allocations: 2.113 MB / 473.9 MB, free: 1.637 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001637/0.3674, allocations: 213.2 kB / 474.1 MB, free: 1.426 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004746/0.3678, allocations: 263.9 kB / 474.3 MB, free: 1.168 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01834/0.3862, allocations: 10.01 MB / 484.3 MB, free: 6.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.159e-05/0.3863, allocations: 41.42 kB / 484.4 MB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003251/0.3866, allocations: 131.9 kB / 484.5 MB, free: 6.312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002882/0.3895, allocations: 1.848 MB / 486.4 MB, free: 4.457 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0198/0.4093, allocations: 8.568 MB / 494.9 MB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0521/0.4614, allocations: 36.76 MB / 0.5192 GB, free: 6.125 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009384/0.4708, allocations: 3.783 MB / 0.5229 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002416/0.4732, allocations: 1.701 MB / 0.5246 GB, free: 452 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01352/0.4867, allocations: 7.612 MB / 0.532 GB, free: 8.531 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.557e-05/0.4867, allocations: 47.5 kB / 0.532 GB, free: 8.477 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 5.099e-06/0.4868, allocations: 0 / 0.532 GB, free: 8.477 MB / 446.1 MB Notification: Performance of matching and sorting (n=166): time 0.05517/0.5419, allocations: 17.74 MB / 0.5494 GB, free: 6.633 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.316e-05/0.542, allocations: 145.5 kB / 0.5495 GB, free: 6.461 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004965/0.547, allocations: 3.47 MB / 0.5529 GB, free: 2.988 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001634/0.5471, allocations: 57.69 kB / 0.553 GB, free: 2.926 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002853/0.55, allocations: 2.846 MB / 0.5557 GB, free: 56 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008463/0.5508, allocations: 0.6708 MB / 0.5564 GB, free: 15.38 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001443/0.5523, allocations: 1.116 MB / 0.5575 GB, free: 14.25 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.5524, allocations: 313.1 kB / 0.5578 GB, free: 13.94 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002957/0.5554, allocations: 1.955 MB / 0.5597 GB, free: 11.98 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005572/0.5609, allocations: 5.385 MB / 0.5649 GB, free: 4.879 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009002/0.5699, allocations: 7.928 MB / 0.5727 GB, free: 11.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.333e-05/0.57, allocations: 34.81 kB / 0.5727 GB, free: 11.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=724) (initialization): time 0.01723/0.5872, allocations: 8.182 MB / 0.5807 GB, free: 3.031 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001543/0.5874, allocations: 60 kB / 0.5808 GB, free: 2.973 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000208/0.5876, allocations: 124 kB / 0.5809 GB, free: 2.852 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003873/0.5915, allocations: 1.303 MB / 0.5822 GB, free: 1.547 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00385/0.5953, allocations: 1.252 MB / 0.5834 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01039/0.6057, allocations: 6.553 MB / 0.5898 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005022/0.6107, allocations: 307.7 kB / 0.5901 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009893/0.6117, allocations: 336 kB / 0.5904 GB, free: 8.969 MB / 0.4981 GB 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.003841/0.6156, allocations: 1.809 MB / 0.5922 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007203/0.6163, allocations: 325.8 kB / 0.5925 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007614/0.6239, allocations: 3.361 MB / 0.5958 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-05/0.6239, allocations: 23.98 kB / 0.5958 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/0.6239, allocations: 8 kB / 0.5958 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.241e-05/0.624, allocations: 3.984 kB / 0.5958 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01673/0.6407, allocations: 7.589 MB / 0.6032 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/0.6407, allocations: 8 kB / 0.6032 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/0.6418, allocations: 243.7 kB / 0.6034 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00352/0.6454, allocations: 1.116 MB / 0.6045 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001768/0.6455, allocations: 31.98 kB / 0.6046 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008831/0.6544, allocations: 6.18 MB / 0.6106 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.6544, allocations: 8.094 kB / 0.6106 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.188/0.8423, allocations: 5.736 MB / 0.6162 GB, free: 163.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000926/0.8433, allocations: 364.6 kB / 0.6166 GB, free: 163.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003535/0.8436, allocations: 25.75 kB / 0.6166 GB, free: 163.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.8448, allocations: 96.56 kB / 0.6167 GB, free: 163.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002199/0.845, allocations: 88.17 kB / 0.6168 GB, free: 163.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.8451, allocations: 52.34 kB / 0.6168 GB, free: 163.1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002717/0.8478, allocations: 2.146 MB / 0.6189 GB, free: 163 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.8478, allocations: 0.9375 kB / 0.6189 GB, free: 163 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003441/0.8512, allocations: 0.891 MB / 0.6198 GB, free: 163 MB / 0.5137 GB 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.008619/0.8599, allocations: 6.387 MB / 0.626 GB, free: 160.9 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005982/0.8658, allocations: 4.614 MB / 0.6305 GB, free: 159.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.8658, allocations: 1.344 kB / 0.6305 GB, free: 159.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001889/0.8677, allocations: 1.446 MB / 0.6319 GB, free: 158.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001606/0.8693, allocations: 360.6 kB / 0.6323 GB, free: 158.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04258/0.9119, allocations: 41.26 MB / 0.6726 GB, free: 126.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002109/0.914, allocations: 2.857 MB / 0.6754 GB, free: 124 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002847/0.9169, allocations: 1.698 MB / 0.677 GB, free: 122.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001336/0.9182, allocations: 1.581 MB / 0.6786 GB, free: 120.7 MB / 0.5137 GB Notification: Performance of SimCode: time 7.91e-07/0.9182, allocations: 0 / 0.6786 GB, free: 120.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.336/2.254, allocations: 60.53 MB / 0.7377 GB, free: 60.61 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.09/23.35, allocations: 7.922 kB / 0.7377 GB, free: 60.61 MB / 0.5137 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PendulumWithSpringDamper/PendulumWithSpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 28.849347021896392]