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.001471/0.001471, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001963/0.001963, allocations: 214.9 kB / 23.73 MB, free: 4.16 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.506/1.506, allocations: 230.5 MB / 257.4 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 75.83 kB / 377.7 MB, free: 2.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2269, allocations: 53.4 MB / 431.1 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01112/0.2381, allocations: 8.978 MB / 440.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007013/0.2451, allocations: 3.608 MB / 443.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001074/0.2461, allocations: 63.69 kB / 443.8 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00389/0.25, allocations: 1.904 MB / 445.7 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004127/0.2542, allocations: 1.677 MB / 447.4 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.2556, allocations: 0.616 MB / 448 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00441/0.26, allocations: 3.364 MB / 451.4 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002798/0.2628, allocations: 2.102 MB / 453.5 MB, free: 28 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001964/0.2648, allocations: 1.25 MB / 454.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002696/0.2675, allocations: 1.721 MB / 456.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006909/0.2682, allocations: 252 kB / 456.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002001/0.2702, allocations: 0.9283 MB / 457.6 MB, free: 11.87 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001666/0.2718, allocations: 1.597 MB / 459.2 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001618/0.2734, allocations: 1.332 MB / 460.5 MB, free: 8.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006449/0.2799, allocations: 5.833 MB / 466.4 MB, free: 3.074 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2799, allocations: 0 / 466.4 MB, free: 3.074 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2799, allocations: 0 / 466.4 MB, free: 3.074 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001111/0.28, allocations: 4 kB / 466.4 MB, free: 3.07 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.006815/0.2868, allocations: 4.042 MB / 470.4 MB, free: 14.97 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.2869, allocations: 11.98 kB / 470.4 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007228/0.2876, allocations: 0.6121 MB / 471 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006329/0.2939, allocations: 1.804 MB / 472.8 MB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004467/0.2984, allocations: 2.113 MB / 475 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001609/0.2986, allocations: 184.8 kB / 475.1 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005315/0.2991, allocations: 255.9 kB / 475.4 MB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0139/0.313, allocations: 8.468 MB / 483.8 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001/0.3131, allocations: 39.64 kB / 483.9 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003424/0.3134, allocations: 127.9 kB / 484 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002947/0.3164, allocations: 1.699 MB / 485.7 MB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01395/0.3303, allocations: 7.094 MB / 492.8 MB, free: 7.832 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04011/0.3704, allocations: 32.8 MB / 0.5133 GB, free: 6.031 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007459/0.3779, allocations: 2.727 MB / 0.516 GB, free: 3.262 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001984/0.3799, allocations: 1.361 MB / 0.5173 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007405/0.3873, allocations: 3.353 MB / 0.5206 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.654e-05/0.3873, allocations: 39.22 kB / 0.5206 GB, free: 14.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=121): time 4.088e-06/0.3873, allocations: 0 / 0.5206 GB, free: 14.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=129): time 0.03077/0.4181, allocations: 11.58 MB / 0.5319 GB, free: 2.805 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.4182, allocations: 153 kB / 0.532 GB, free: 2.625 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1741/0.5923, allocations: 3.92 MB / 0.5359 GB, free: 101.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002283/0.5925, allocations: 47.08 kB / 0.5359 GB, free: 101.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001588/0.5941, allocations: 2.868 MB / 0.5387 GB, free: 99.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004342/0.5945, allocations: 0.5409 MB / 0.5392 GB, free: 99.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001248/0.5958, allocations: 1.086 MB / 0.5403 GB, free: 99.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.886e-05/0.5958, allocations: 301.8 kB / 0.5406 GB, free: 98.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002346/0.5982, allocations: 1.7 MB / 0.5423 GB, free: 98.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003092/0.6013, allocations: 5.125 MB / 0.5473 GB, free: 93.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005106/0.6064, allocations: 7.409 MB / 0.5545 GB, free: 86.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.14e-05/0.6064, allocations: 40.12 kB / 0.5545 GB, free: 86.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.007558/0.614, allocations: 6.714 MB / 0.5611 GB, free: 82.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.846e-05/0.614, allocations: 56 kB / 0.5611 GB, free: 82.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.551e-05/0.6141, allocations: 124 kB / 0.5613 GB, free: 82.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005018/0.6146, allocations: 313.3 kB / 0.5616 GB, free: 82.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002949/0.6176, allocations: 1.245 MB / 0.5628 GB, free: 80.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/0.6194, allocations: 2.381 MB / 0.5651 GB, free: 78.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003017/0.6224, allocations: 289.8 kB / 0.5654 GB, free: 78.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002888/0.6227, allocations: 331.9 kB / 0.5657 GB, free: 78.12 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.001776/0.6245, allocations: 1.789 MB / 0.5674 GB, free: 76.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003876/0.6249, allocations: 329.4 kB / 0.5678 GB, free: 76.22 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003832/0.6287, allocations: 2.359 MB / 0.5701 GB, free: 74.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/0.6287, allocations: 16 kB / 0.5701 GB, free: 74.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.6287, allocations: 4 kB / 0.5701 GB, free: 74.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.6287, allocations: 7.969 kB / 0.5701 GB, free: 74.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008636/0.6374, allocations: 5.643 MB / 0.5756 GB, free: 68.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.6374, allocations: 0 / 0.5756 GB, free: 68.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007501/0.6381, allocations: 180.4 kB / 0.5758 GB, free: 68.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001917/0.6401, allocations: 0.7148 MB / 0.5765 GB, free: 67.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.537e-05/0.6401, allocations: 27.66 kB / 0.5765 GB, free: 67.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004559/0.6447, allocations: 4.658 MB / 0.581 GB, free: 62.76 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.6447, allocations: 7.969 kB / 0.581 GB, free: 62.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005487/0.6502, allocations: 4.346 MB / 0.5853 GB, free: 58.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008301/0.651, allocations: 301.6 kB / 0.5856 GB, free: 58.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003036/0.6513, allocations: 24 kB / 0.5856 GB, free: 58.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.6523, allocations: 64.03 kB / 0.5857 GB, free: 58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.6525, allocations: 76.47 kB / 0.5857 GB, free: 57.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.227e-05/0.6526, allocations: 35.98 kB / 0.5858 GB, free: 57.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002506/0.6551, allocations: 2.315 MB / 0.588 GB, free: 55.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.6551, allocations: 0 / 0.588 GB, free: 55.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003318/0.6584, allocations: 0.8046 MB / 0.5888 GB, free: 54.78 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.005614/0.664, allocations: 4.986 MB / 0.5937 GB, free: 49.76 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00484/0.6688, allocations: 3.89 MB / 0.5975 GB, free: 45.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6688, allocations: 1.375 kB / 0.5975 GB, free: 45.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001175/0.67, allocations: 1.041 MB / 0.5985 GB, free: 44.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002566/0.6726, allocations: 389.4 kB / 0.5989 GB, free: 44.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04171/0.7143, allocations: 37.77 MB / 0.6358 GB, free: 1.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003174/0.7175, allocations: 2.232 MB / 0.6379 GB, free: 15.24 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00402/0.7215, allocations: 1.656 MB / 0.6396 GB, free: 13.57 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002395/0.7239, allocations: 1.519 MB / 0.641 GB, free: 12.05 MB / 462.1 MB Notification: Performance of SimCode: time 9.42e-07/0.7239, allocations: 4 kB / 0.641 GB, free: 12.05 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1174/0.8413, allocations: 57.99 MB / 0.6977 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.7/18.54, allocations: 4.062 kB / 0.6977 GB, free: 2.691 MB / 0.4981 GB " [Timeout remaining time 641] (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: 22.680923049803823]