Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.001488/0.001488, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001584/0.001584, allocations: 212.8 kB / 24.52 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.303/1.303, allocations: 230.6 MB / 258.3 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.InitSpringConstant,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 55.91 kB / 378.5 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1997, allocations: 53.36 MB / 431.9 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.009793/0.2095, allocations: 8.944 MB / 440.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006062/0.2155, allocations: 3.592 MB / 444.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006607/0.2162, allocations: 67.69 kB / 444.5 MB, free: 10 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003245/0.2194, allocations: 1.904 MB / 446.4 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003058/0.2225, allocations: 1.677 MB / 448 MB, free: 6.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.2236, allocations: 0.6122 MB / 448.7 MB, free: 5.797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003481/0.2271, allocations: 3.356 MB / 452 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002082/0.2291, allocations: 2.122 MB / 454.1 MB, free: 260 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001193/0.2303, allocations: 1.254 MB / 455.4 MB, free: 15 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001905/0.2322, allocations: 1.81 MB / 457.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003482/0.2326, allocations: 256 kB / 457.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.234, allocations: 0.9361 MB / 458.4 MB, free: 11.99 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001269/0.2352, allocations: 1.597 MB / 460 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001205/0.2365, allocations: 1.335 MB / 461.3 MB, free: 9.047 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005105/0.2416, allocations: 5.824 MB / 467.1 MB, free: 3.199 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2416, allocations: 0 / 467.1 MB, free: 3.199 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2416, allocations: 0 / 467.1 MB, free: 3.199 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.354e-05/0.2416, allocations: 0 / 467.1 MB, free: 3.199 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.005643/0.2472, allocations: 4.05 MB / 471.2 MB, free: 15.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.2473, allocations: 12.03 kB / 471.2 MB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.205e-05/0.2474, allocations: 85.16 kB / 471.3 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006168/0.248, allocations: 0.6043 MB / 471.9 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005538/0.2535, allocations: 1.808 MB / 473.7 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003263/0.2568, allocations: 2.109 MB / 475.8 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/0.2569, allocations: 192.8 kB / 476 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004249/0.2573, allocations: 255.9 kB / 476.2 MB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01123/0.2686, allocations: 8.46 MB / 484.7 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.557e-05/0.2687, allocations: 51.62 kB / 484.8 MB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002976/0.269, allocations: 123.9 kB / 484.9 MB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002565/0.2715, allocations: 1.691 MB / 486.6 MB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01191/0.2834, allocations: 7.114 MB / 493.7 MB, free: 7.855 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03484/0.3183, allocations: 32.8 MB / 0.5141 GB, free: 6.055 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006544/0.3248, allocations: 2.728 MB / 0.5168 GB, free: 3.285 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001659/0.3265, allocations: 1.365 MB / 0.5181 GB, free: 1.906 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005106/0.3316, allocations: 3.349 MB / 0.5214 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.3316, allocations: 43.22 kB / 0.5215 GB, free: 14.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=121): time 3.686e-06/0.3316, allocations: 4 kB / 0.5215 GB, free: 14.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=129): time 0.02572/0.3573, allocations: 11.57 MB / 0.5328 GB, free: 2.828 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.93e-05/0.3574, allocations: 149.1 kB / 0.5329 GB, free: 2.652 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.159/0.5164, allocations: 3.716 MB / 0.5365 GB, free: 102.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002217/0.5166, allocations: 46.69 kB / 0.5366 GB, free: 102.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001317/0.5179, allocations: 2.862 MB / 0.5394 GB, free: 101.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003769/0.5183, allocations: 0.5468 MB / 0.5399 GB, free: 100.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001094/0.5194, allocations: 1.082 MB / 0.541 GB, free: 100.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.021e-05/0.5194, allocations: 302.3 kB / 0.5412 GB, free: 99.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002059/0.5215, allocations: 1.7 MB / 0.5429 GB, free: 99.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002704/0.5242, allocations: 5.12 MB / 0.5479 GB, free: 94.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004463/0.5287, allocations: 7.408 MB / 0.5551 GB, free: 87.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.099e-05/0.5287, allocations: 35.69 kB / 0.5552 GB, free: 87.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.006813/0.5355, allocations: 6.72 MB / 0.5617 GB, free: 83.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.936e-05/0.5356, allocations: 64.06 kB / 0.5618 GB, free: 83.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.616e-05/0.5356, allocations: 120 kB / 0.5619 GB, free: 83.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004511/0.5361, allocations: 321.4 kB / 0.5622 GB, free: 82.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002746/0.5388, allocations: 1.238 MB / 0.5634 GB, free: 81.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/0.5405, allocations: 2.38 MB / 0.5658 GB, free: 79.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002704/0.5432, allocations: 292.9 kB / 0.566 GB, free: 79.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002709/0.5434, allocations: 331.9 kB / 0.5663 GB, free: 78.93 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.001571/0.545, allocations: 1.792 MB / 0.5681 GB, free: 77.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003187/0.5453, allocations: 325.8 kB / 0.5684 GB, free: 76.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003436/0.5488, allocations: 2.367 MB / 0.5707 GB, free: 74.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.5488, allocations: 12 kB / 0.5707 GB, free: 74.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.5488, allocations: 4 kB / 0.5707 GB, free: 74.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.5488, allocations: 7.984 kB / 0.5707 GB, free: 74.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007507/0.5563, allocations: 5.639 MB / 0.5763 GB, free: 68.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.5563, allocations: 4 kB / 0.5763 GB, free: 68.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006734/0.557, allocations: 179.7 kB / 0.5764 GB, free: 68.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001731/0.5587, allocations: 0.7108 MB / 0.5771 GB, free: 68.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.937e-05/0.5588, allocations: 20 kB / 0.5771 GB, free: 67.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004024/0.5628, allocations: 4.68 MB / 0.5817 GB, free: 63.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5628, allocations: 4 kB / 0.5817 GB, free: 63.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004699/0.5675, allocations: 4.348 MB / 0.586 GB, free: 58.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004349/0.5679, allocations: 305.7 kB / 0.5863 GB, free: 58.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002901/0.5682, allocations: 16 kB / 0.5863 GB, free: 58.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009165/0.5692, allocations: 67.91 kB / 0.5863 GB, free: 58.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.5693, allocations: 68.52 kB / 0.5864 GB, free: 58.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.505e-05/0.5694, allocations: 44 kB / 0.5864 GB, free: 58.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002073/0.5714, allocations: 2.323 MB / 0.5887 GB, free: 56.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5714, allocations: 0 / 0.5887 GB, free: 56.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002942/0.5744, allocations: 0.8005 MB / 0.5895 GB, free: 55.23 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.0049/0.5793, allocations: 4.982 MB / 0.5944 GB, free: 50.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003981/0.5833, allocations: 3.891 MB / 0.5982 GB, free: 46.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5833, allocations: 0 / 0.5982 GB, free: 46.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.5843, allocations: 1.038 MB / 0.5992 GB, free: 45.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.5859, allocations: 383.5 kB / 0.5995 GB, free: 44.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03038/0.6163, allocations: 37.78 MB / 0.6364 GB, free: 1.949 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001947/0.6182, allocations: 2.232 MB / 0.6386 GB, free: 15.69 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003202/0.6214, allocations: 1.656 MB / 0.6402 GB, free: 14.03 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001802/0.6232, allocations: 1.519 MB / 0.6417 GB, free: 12.51 MB / 462.1 MB Notification: Performance of SimCode: time 8.62e-07/0.6232, allocations: 0 / 0.6417 GB, free: 12.51 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6383/1.262, allocations: 59.98 MB / 0.7003 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.09/24.35, allocations: 11.09 kB / 0.7003 GB, free: 1.324 MB / 0.4981 GB " [Timeout remaining time 635] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 28.26638937194366]