Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.001463/0.001463, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001735/0.001735, allocations: 210.9 kB / 24.52 MB, free: 3.941 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.403/1.403, allocations: 230.5 MB / 258.2 MB, free: 7.809 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.InitSpringConstant,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 63.91 kB / 378.5 MB, free: 2.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2255, allocations: 53.41 MB / 431.9 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01145/0.237, allocations: 8.94 MB / 440.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007613/0.2446, allocations: 3.588 MB / 444.4 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001427/0.246, allocations: 67.69 kB / 444.5 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004252/0.2503, allocations: 1.911 MB / 446.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004436/0.2547, allocations: 1.681 MB / 448.1 MB, free: 6.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.2563, allocations: 0.612 MB / 448.7 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004709/0.261, allocations: 3.35 MB / 452.1 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003169/0.2642, allocations: 2.122 MB / 454.2 MB, free: 100 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002243/0.2665, allocations: 1.257 MB / 455.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002815/0.2693, allocations: 1.81 MB / 457.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007423/0.27, allocations: 256 kB / 457.5 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00222/0.2722, allocations: 0.9283 MB / 458.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002041/0.2743, allocations: 1.605 MB / 460 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002468/0.2767, allocations: 1.335 MB / 461.4 MB, free: 8.887 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007572/0.2843, allocations: 5.828 MB / 467.2 MB, free: 3.035 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.2843, allocations: 0 / 467.2 MB, free: 3.035 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2843, allocations: 0 / 467.2 MB, free: 3.035 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002042/0.2845, allocations: 3.938 kB / 467.2 MB, free: 3.031 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.00896/0.2935, allocations: 4.038 MB / 471.2 MB, free: 14.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.2935, allocations: 12.03 kB / 471.2 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001112/0.2936, allocations: 85.16 kB / 471.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001316/0.295, allocations: 0.6121 MB / 471.9 MB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006305/0.3013, allocations: 1.796 MB / 473.7 MB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004402/0.3057, allocations: 2.113 MB / 475.8 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001851/0.3059, allocations: 192.8 kB / 476 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00073/0.3066, allocations: 251.9 kB / 476.3 MB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01462/0.3212, allocations: 8.472 MB / 484.8 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001183/0.3213, allocations: 39.64 kB / 484.8 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005946/0.3219, allocations: 127.9 kB / 484.9 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002846/0.3248, allocations: 1.695 MB / 486.6 MB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01355/0.3383, allocations: 7.11 MB / 493.7 MB, free: 7.695 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04166/0.38, allocations: 32.8 MB / 0.5142 GB, free: 5.891 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007221/0.3872, allocations: 2.719 MB / 0.5168 GB, free: 3.129 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00193/0.3891, allocations: 1.365 MB / 0.5182 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006463/0.3956, allocations: 3.349 MB / 0.5214 GB, free: 14.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.789e-05/0.3956, allocations: 51.09 kB / 0.5215 GB, free: 14.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=121): time 4.108e-06/0.3956, allocations: 4 kB / 0.5215 GB, free: 14.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=129): time 0.0294/0.425, allocations: 11.58 MB / 0.5328 GB, free: 2.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.078e-05/0.4251, allocations: 145.1 kB / 0.5329 GB, free: 2.488 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1887/0.6138, allocations: 3.717 MB / 0.5366 GB, free: 102.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002111/0.614, allocations: 42.3 kB / 0.5366 GB, free: 102.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001375/0.6154, allocations: 2.865 MB / 0.5394 GB, free: 101 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004185/0.6158, allocations: 0.5445 MB / 0.5399 GB, free: 100.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001234/0.617, allocations: 1.077 MB / 0.541 GB, free: 100.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.163e-05/0.6171, allocations: 303 kB / 0.5413 GB, free: 99.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00231/0.6194, allocations: 1.703 MB / 0.5429 GB, free: 99.35 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002887/0.6223, allocations: 5.119 MB / 0.5479 GB, free: 94.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004781/0.627, allocations: 7.415 MB / 0.5552 GB, free: 87.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.853e-05/0.6271, allocations: 35.56 kB / 0.5552 GB, free: 87.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.00735/0.6344, allocations: 6.718 MB / 0.5618 GB, free: 83.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.506e-05/0.6345, allocations: 61 kB / 0.5618 GB, free: 83.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.726e-05/0.6346, allocations: 120 kB / 0.562 GB, free: 82.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004791/0.6351, allocations: 321.2 kB / 0.5623 GB, free: 82.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002863/0.6379, allocations: 1.239 MB / 0.5635 GB, free: 81.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/0.6397, allocations: 2.385 MB / 0.5658 GB, free: 79.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003193/0.6429, allocations: 286.6 kB / 0.5661 GB, free: 79.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003285/0.6432, allocations: 331.9 kB / 0.5664 GB, free: 78.75 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (664): * Single equations (assignments): 660 * 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 {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001884/0.6451, allocations: 1.794 MB / 0.5681 GB, free: 77.06 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004825/0.6456, allocations: 329.7 kB / 0.5685 GB, free: 76.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003464/0.6491, allocations: 2.355 MB / 0.5708 GB, free: 74.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/0.6491, allocations: 16 kB / 0.5708 GB, free: 74.35 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.6491, allocations: 4 kB / 0.5708 GB, free: 74.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.946e-06/0.6491, allocations: 3.984 kB / 0.5708 GB, free: 74.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008071/0.6572, allocations: 5.65 MB / 0.5763 GB, free: 68.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.6572, allocations: 4.062 kB / 0.5763 GB, free: 68.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007002/0.6579, allocations: 167.8 kB / 0.5765 GB, free: 68.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001787/0.6597, allocations: 0.7185 MB / 0.5772 GB, free: 67.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.279e-05/0.6597, allocations: 24.88 kB / 0.5772 GB, free: 67.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004091/0.6638, allocations: 4.665 MB / 0.5817 GB, free: 62.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6638, allocations: 0 / 0.5817 GB, free: 62.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004977/0.6688, allocations: 4.347 MB / 0.586 GB, free: 58.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007926/0.6696, allocations: 305.7 kB / 0.5863 GB, free: 58.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003159/0.6699, allocations: 16 kB / 0.5863 GB, free: 58.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009547/0.6709, allocations: 75.86 kB / 0.5864 GB, free: 58.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.671, allocations: 68.52 kB / 0.5864 GB, free: 58.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.259e-05/0.6711, allocations: 36 kB / 0.5865 GB, free: 58.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00238/0.6735, allocations: 2.322 MB / 0.5887 GB, free: 55.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6735, allocations: 0 / 0.5887 GB, free: 55.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003372/0.6769, allocations: 0.8047 MB / 0.5895 GB, free: 55.01 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (96): * Single equations (assignments): 92 * 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 {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005091/0.682, allocations: 4.986 MB / 0.5944 GB, free: 49.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004431/0.6864, allocations: 3.889 MB / 0.5982 GB, free: 46.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.6864, allocations: 0 / 0.5982 GB, free: 46.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.6875, allocations: 1.033 MB / 0.5992 GB, free: 45.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002065/0.6895, allocations: 414.6 kB / 0.5996 GB, free: 44.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03791/0.7274, allocations: 37.76 MB / 0.6365 GB, free: 1.715 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002484/0.7299, allocations: 2.228 MB / 0.6386 GB, free: 15.46 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005994/0.7359, allocations: 1.656 MB / 0.6403 GB, free: 13.79 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003039/0.739, allocations: 1.519 MB / 0.6417 GB, free: 12.27 MB / 462.1 MB Notification: Performance of SimCode: time 1.402e-06/0.739, allocations: 4 kB / 0.6417 GB, free: 12.27 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9398/1.679, allocations: 59.97 MB / 0.7003 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.2/27.88, allocations: 4 kB / 0.7003 GB, free: 0.957 MB / 0.4981 GB " [Timeout remaining time 632] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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: 32.011622523888946]