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.001484/0.001484, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001606/0.001606, allocations: 215.7 kB / 23.75 MB, free: 4.668 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.587/1.587, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 51.92 kB / 377.8 MB, free: 3.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2499, allocations: 53.36 MB / 431.1 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01307/0.2629, allocations: 10.28 MB / 441.4 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007929/0.2709, allocations: 3.837 MB / 445.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.2721, allocations: 67.69 kB / 445.3 MB, free: 8.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004341/0.2764, allocations: 1.978 MB / 447.3 MB, free: 6.613 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004594/0.281, allocations: 1.673 MB / 449 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.2827, allocations: 0.6122 MB / 449.6 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00508/0.2878, allocations: 3.357 MB / 452.9 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003241/0.291, allocations: 2.125 MB / 455.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002345/0.2934, allocations: 1.25 MB / 456.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003067/0.2964, allocations: 1.814 MB / 458.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005256/0.2969, allocations: 256 kB / 458.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00185/0.2988, allocations: 1.053 MB / 459.4 MB, free: 10.4 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001994/0.3008, allocations: 1.601 MB / 461 MB, free: 8.793 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001867/0.3027, allocations: 1.821 MB / 462.9 MB, free: 6.961 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007345/0.31, allocations: 5.806 MB / 468.7 MB, free: 1.133 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.31, allocations: 4 kB / 468.7 MB, free: 1.129 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.31, allocations: 0 / 468.7 MB, free: 1.129 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001046/0.3101, allocations: 0 / 468.7 MB, free: 1.129 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.007653/0.3178, allocations: 4.034 MB / 472.7 MB, free: 13.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.3178, allocations: 15.97 kB / 472.7 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007533/0.3186, allocations: 0.6082 MB / 473.3 MB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006565/0.3251, allocations: 1.804 MB / 475.1 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004738/0.3299, allocations: 2.094 MB / 477.2 MB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001516/0.33, allocations: 204.8 kB / 477.4 MB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000507/0.3305, allocations: 251.9 kB / 477.7 MB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01495/0.3455, allocations: 8.443 MB / 486.1 MB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001017/0.3456, allocations: 39.64 kB / 486.2 MB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003472/0.3459, allocations: 127.9 kB / 486.3 MB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002918/0.3488, allocations: 1.691 MB / 488 MB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01444/0.3633, allocations: 7.114 MB / 495.1 MB, free: 5.918 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04383/0.4071, allocations: 33.97 MB / 0.5167 GB, free: 2.945 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007198/0.4143, allocations: 2.732 MB / 0.5193 GB, free: 176 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002242/0.4166, allocations: 1.365 MB / 0.5207 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007045/0.4236, allocations: 3.676 MB / 0.5242 GB, free: 11.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.52e-05/0.4236, allocations: 51.16 kB / 0.5243 GB, free: 11.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=121): time 3.757e-06/0.4237, allocations: 0 / 0.5243 GB, free: 11.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=129): time 0.2898/0.7135, allocations: 11.52 MB / 0.5355 GB, free: 101.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.176e-05/0.7135, allocations: 141.8 kB / 0.5357 GB, free: 101.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006926/0.7205, allocations: 3.719 MB / 0.5393 GB, free: 100.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003194/0.7208, allocations: 42.23 kB / 0.5394 GB, free: 100.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001572/0.7224, allocations: 2.87 MB / 0.5422 GB, free: 99.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005186/0.7229, allocations: 0.5448 MB / 0.5427 GB, free: 98.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002075/0.725, allocations: 1.076 MB / 0.5437 GB, free: 98.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.233e-05/0.725, allocations: 308.4 kB / 0.544 GB, free: 97.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002118/0.7271, allocations: 1.704 MB / 0.5457 GB, free: 97.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003887/0.731, allocations: 5.122 MB / 0.5507 GB, free: 92.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006878/0.7379, allocations: 7.416 MB / 0.5579 GB, free: 85.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.337e-05/0.738, allocations: 35.41 kB / 0.558 GB, free: 85.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01008/0.748, allocations: 6.722 MB / 0.5645 GB, free: 81.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.151e-05/0.7481, allocations: 60 kB / 0.5646 GB, free: 81.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.094e-05/0.7482, allocations: 120 kB / 0.5647 GB, free: 80.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000522/0.7487, allocations: 323.7 kB / 0.565 GB, free: 80.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003441/0.7522, allocations: 1.236 MB / 0.5662 GB, free: 79.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/0.7545, allocations: 2.39 MB / 0.5686 GB, free: 76.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003832/0.7583, allocations: 296.5 kB / 0.5688 GB, free: 76.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008956/0.7592, allocations: 332 kB / 0.5692 GB, free: 76.32 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.002289/0.7615, allocations: 1.783 MB / 0.5709 GB, free: 74.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006243/0.7622, allocations: 329.8 kB / 0.5712 GB, free: 74.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004746/0.7669, allocations: 2.363 MB / 0.5735 GB, free: 71.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.221e-05/0.767, allocations: 19.28 kB / 0.5735 GB, free: 71.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.767, allocations: 4 kB / 0.5735 GB, free: 71.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.767, allocations: 3.984 kB / 0.5735 GB, free: 71.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009892/0.7769, allocations: 5.888 MB / 0.5793 GB, free: 65.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.7769, allocations: 3.938 kB / 0.5793 GB, free: 65.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000935/0.7778, allocations: 179.8 kB / 0.5795 GB, free: 65.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002113/0.7799, allocations: 0.7108 MB / 0.5802 GB, free: 65.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.014e-05/0.78, allocations: 23.52 kB / 0.5802 GB, free: 65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004988/0.785, allocations: 4.708 MB / 0.5848 GB, free: 60.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.785, allocations: 4 kB / 0.5848 GB, free: 60.17 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006246/0.7913, allocations: 4.346 MB / 0.589 GB, free: 55.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007016/0.792, allocations: 301.6 kB / 0.5893 GB, free: 55.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002946/0.7923, allocations: 28.75 kB / 0.5893 GB, free: 55.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/0.7937, allocations: 69.38 kB / 0.5894 GB, free: 55.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002573/0.794, allocations: 68.53 kB / 0.5895 GB, free: 55.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.42e-05/0.7941, allocations: 36.45 kB / 0.5895 GB, free: 55.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002615/0.7967, allocations: 2.319 MB / 0.5918 GB, free: 53 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7967, allocations: 0 / 0.5918 GB, free: 53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004275/0.801, allocations: 0.8004 MB / 0.5926 GB, free: 52.21 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.006451/0.8074, allocations: 4.983 MB / 0.5974 GB, free: 47.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005361/0.8128, allocations: 3.895 MB / 0.6012 GB, free: 43.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.8128, allocations: 4 kB / 0.6012 GB, free: 43.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001768/0.8145, allocations: 1.041 MB / 0.6023 GB, free: 42.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001935/0.8165, allocations: 386.2 kB / 0.6026 GB, free: 41.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04608/0.8626, allocations: 37.76 MB / 0.6395 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003948/0.8665, allocations: 2.784 MB / 0.6422 GB, free: 12.11 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004321/0.8708, allocations: 1.66 MB / 0.6438 GB, free: 10.44 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002822/0.8736, allocations: 1.519 MB / 0.6453 GB, free: 8.922 MB / 462.1 MB Notification: Performance of SimCode: time 1.303e-06/0.8736, allocations: 3.938 kB / 0.6453 GB, free: 8.918 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6778/1.551, allocations: 62.26 MB / 0.7061 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.89/27.44, allocations: 0 / 0.7061 GB, free: 11.08 MB / 0.5137 GB " [Timeout remaining time 632] (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: 31.15690040588379]