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.001514/0.001514, allocations: 110 kB / 20.43 MB, free: 1.453 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.001765/0.001765, allocations: 213.4 kB / 23.74 MB, free: 4.66 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.399/1.399, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.001848/0.001848, allocations: 67.88 kB / 377.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2272, allocations: 53.41 MB / 431.2 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.0121/0.2394, allocations: 10.28 MB / 441.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007339/0.2467, allocations: 3.83 MB / 445.3 MB, free: 8.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.2479, allocations: 71.62 kB / 445.4 MB, free: 8.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003958/0.2519, allocations: 1.981 MB / 447.4 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003839/0.2557, allocations: 1.677 MB / 449 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.2571, allocations: 0.6083 MB / 449.6 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00472/0.2618, allocations: 3.361 MB / 453 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003055/0.2649, allocations: 2.114 MB / 455.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001944/0.2668, allocations: 1.257 MB / 456.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002394/0.2692, allocations: 1.814 MB / 458.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004779/0.2697, allocations: 256 kB / 458.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001794/0.2715, allocations: 1.053 MB / 459.5 MB, free: 10.24 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001468/0.273, allocations: 1.597 MB / 461.1 MB, free: 8.637 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001759/0.2747, allocations: 1.817 MB / 462.9 MB, free: 6.809 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006254/0.281, allocations: 5.82 MB / 468.7 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.281, allocations: 0 / 468.7 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.281, allocations: 0 / 468.7 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001131/0.2811, allocations: 4 kB / 468.7 MB, free: 0.9609 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.007341/0.2884, allocations: 4.03 MB / 472.8 MB, free: 12.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.2885, allocations: 8.031 kB / 472.8 MB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007532/0.2892, allocations: 0.6082 MB / 473.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006066/0.2953, allocations: 1.804 MB / 475.2 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004398/0.2997, allocations: 2.102 MB / 477.3 MB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001548/0.2998, allocations: 196.8 kB / 477.5 MB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004733/0.3003, allocations: 247.9 kB / 477.7 MB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01337/0.3137, allocations: 8.447 MB / 486.2 MB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001092/0.3138, allocations: 35.7 kB / 486.2 MB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004237/0.3142, allocations: 127.9 kB / 486.3 MB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002937/0.3172, allocations: 1.695 MB / 488 MB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01374/0.3309, allocations: 7.118 MB / 495.1 MB, free: 5.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03933/0.3702, allocations: 33.97 MB / 0.5167 GB, free: 2.777 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007048/0.3773, allocations: 2.726 MB / 0.5194 GB, free: 8 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001856/0.3791, allocations: 1.365 MB / 0.5207 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006345/0.3855, allocations: 3.684 MB / 0.5243 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/0.3855, allocations: 47.16 kB / 0.5243 GB, free: 10.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=121): time 3.005e-06/0.3855, allocations: 0 / 0.5243 GB, free: 10.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=129): time 0.2081/0.5936, allocations: 11.53 MB / 0.5356 GB, free: 101.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.5936, allocations: 141.2 kB / 0.5357 GB, free: 101.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005305/0.5989, allocations: 3.725 MB / 0.5394 GB, free: 100.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004766/0.5994, allocations: 45.39 kB / 0.5394 GB, free: 100.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001587/0.601, allocations: 2.868 MB / 0.5422 GB, free: 98.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004607/0.6015, allocations: 0.543 MB / 0.5427 GB, free: 98.56 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001167/0.6026, allocations: 1.083 MB / 0.5438 GB, free: 98.03 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.439e-05/0.6027, allocations: 301.1 kB / 0.5441 GB, free: 97.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0022/0.6049, allocations: 1.702 MB / 0.5457 GB, free: 97.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003397/0.6083, allocations: 5.119 MB / 0.5507 GB, free: 92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005641/0.6139, allocations: 7.412 MB / 0.558 GB, free: 85.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.162e-05/0.614, allocations: 31.56 kB / 0.558 GB, free: 85.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.008417/0.6224, allocations: 6.724 MB / 0.5646 GB, free: 80.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.053e-05/0.6225, allocations: 56 kB / 0.5646 GB, free: 80.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.244e-05/0.6226, allocations: 120 kB / 0.5647 GB, free: 80.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005183/0.6231, allocations: 321.3 kB / 0.5651 GB, free: 80.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003107/0.6262, allocations: 1.24 MB / 0.5663 GB, free: 78.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002216/0.6284, allocations: 2.393 MB / 0.5686 GB, free: 76.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003183/0.6316, allocations: 290.5 kB / 0.5689 GB, free: 76.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007536/0.6323, allocations: 339.5 kB / 0.5692 GB, free: 75.87 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.002024/0.6344, allocations: 1.783 MB / 0.5709 GB, free: 74.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004308/0.6348, allocations: 325.8 kB / 0.5713 GB, free: 73.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00398/0.6388, allocations: 2.359 MB / 0.5736 GB, free: 71.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-05/0.6388, allocations: 16 kB / 0.5736 GB, free: 71.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.6388, allocations: 11.88 kB / 0.5736 GB, free: 71.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.6388, allocations: 7.969 kB / 0.5736 GB, free: 71.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009593/0.6484, allocations: 5.875 MB / 0.5793 GB, free: 65.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.6484, allocations: 4.172 kB / 0.5793 GB, free: 65.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007286/0.6492, allocations: 179.8 kB / 0.5795 GB, free: 65.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001856/0.651, allocations: 0.7185 MB / 0.5802 GB, free: 64.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002426/0.6513, allocations: 23.83 kB / 0.5802 GB, free: 64.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004807/0.6561, allocations: 4.709 MB / 0.5848 GB, free: 59.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.6561, allocations: 4.031 kB / 0.5848 GB, free: 59.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005358/0.6614, allocations: 4.353 MB / 0.5891 GB, free: 55.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006641/0.6621, allocations: 300.3 kB / 0.5894 GB, free: 55.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003953/0.6625, allocations: 20 kB / 0.5894 GB, free: 55.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/0.6638, allocations: 71.97 kB / 0.5895 GB, free: 54.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/0.6639, allocations: 72.45 kB / 0.5895 GB, free: 54.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.849e-05/0.664, allocations: 36 kB / 0.5896 GB, free: 54.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002586/0.6666, allocations: 2.319 MB / 0.5918 GB, free: 52.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6666, allocations: 3.938 kB / 0.5918 GB, free: 52.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003851/0.6705, allocations: 0.7968 MB / 0.5926 GB, free: 51.76 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.005951/0.6764, allocations: 4.983 MB / 0.5975 GB, free: 46.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004877/0.6813, allocations: 3.887 MB / 0.6013 GB, free: 42.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.6813, allocations: 4.125 kB / 0.6013 GB, free: 42.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.6825, allocations: 1.042 MB / 0.6023 GB, free: 41.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002284/0.6848, allocations: 396.2 kB / 0.6027 GB, free: 41.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04125/0.726, allocations: 37.76 MB / 0.6395 GB, free: 14.47 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003308/0.7293, allocations: 2.788 MB / 0.6423 GB, free: 11.66 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003513/0.7328, allocations: 1.652 MB / 0.6439 GB, free: 10 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002032/0.7349, allocations: 1.519 MB / 0.6454 GB, free: 8.484 MB / 462.1 MB Notification: Performance of SimCode: time 8.41e-07/0.7349, allocations: 0 / 0.6454 GB, free: 8.484 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6718/1.407, allocations: 62.26 MB / 0.7062 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.65/28.06, allocations: 3.984 kB / 0.7062 GB, free: 10.55 MB / 0.5137 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: 31.130529758986086]