Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001494/0.001494, allocations: 107.6 kB / 21.18 MB, free: 0.6094 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.001639/0.001639, allocations: 215 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.254/1.254, allocations: 207.7 MB / 235.3 MB, free: 9.812 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 53.8 kB / 347.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2139, allocations: 49.16 MB / 396.3 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.008648/0.2225, allocations: 9.031 MB / 405.4 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006526/0.2291, allocations: 3.597 MB / 409 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001392/0.2305, allocations: 70.09 kB / 409 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003217/0.2337, allocations: 1.909 MB / 411 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004007/0.2377, allocations: 1.712 MB / 412.7 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001455/0.2391, allocations: 0.606 MB / 413.3 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004428/0.2436, allocations: 3.348 MB / 416.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003254/0.2468, allocations: 2.121 MB / 418.7 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002396/0.2492, allocations: 1.281 MB / 420 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00294/0.2522, allocations: 1.716 MB / 421.7 MB, free: 9.371 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008008/0.253, allocations: 254.2 kB / 422 MB, free: 9.371 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002371/0.2553, allocations: 0.9356 MB / 422.9 MB, free: 8.492 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002077/0.2574, allocations: 1.62 MB / 424.5 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001951/0.2594, allocations: 1.359 MB / 425.9 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006748/0.2661, allocations: 5.886 MB / 431.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2661, allocations: 0 / 431.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2661, allocations: 0 / 431.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001017/0.2662, allocations: 3.938 kB / 431.8 MB, free: 15.59 MB / 350.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.007139/0.2733, allocations: 4.077 MB / 435.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.2734, allocations: 11.98 kB / 435.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007605/0.2741, allocations: 0.6043 MB / 436.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006201/0.2803, allocations: 1.808 MB / 438.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004898/0.2852, allocations: 2.375 MB / 440.7 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001731/0.2854, allocations: 188.8 kB / 440.9 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005823/0.286, allocations: 251.8 kB / 441.1 MB, free: 6.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01318/0.2992, allocations: 8.46 MB / 449.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.395e-05/0.2993, allocations: 43.62 kB / 449.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003208/0.2996, allocations: 127.9 kB / 449.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002793/0.3024, allocations: 1.695 MB / 451.4 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01265/0.315, allocations: 7.079 MB / 458.5 MB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03878/0.3538, allocations: 32.82 MB / 491.3 MB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007127/0.3609, allocations: 2.727 MB / 494 MB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001924/0.3629, allocations: 1.361 MB / 495.4 MB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006195/0.3691, allocations: 3.338 MB / 498.7 MB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.818e-05/0.3691, allocations: 51.14 kB / 498.8 MB, free: 10.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=121): time 3.627e-06/0.3691, allocations: 0 / 498.8 MB, free: 10.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.02773/0.3968, allocations: 11.59 MB / 0.4984 GB, free: 15.01 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.618e-05/0.3969, allocations: 145.1 kB / 0.4986 GB, free: 14.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004842/0.4018, allocations: 3.952 MB / 0.5024 GB, free: 10.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.4019, allocations: 41.7 kB / 0.5025 GB, free: 10.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002039/0.4039, allocations: 2.866 MB / 0.5053 GB, free: 7.949 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005061/0.4044, allocations: 0.5468 MB / 0.5058 GB, free: 7.398 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001293/0.4057, allocations: 1.076 MB / 0.5068 GB, free: 6.312 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.4058, allocations: 309.1 kB / 0.5071 GB, free: 6.008 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002393/0.4082, allocations: 1.689 MB / 0.5088 GB, free: 4.312 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005018/0.4132, allocations: 5.119 MB / 0.5138 GB, free: 13.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008338/0.4216, allocations: 7.403 MB / 0.521 GB, free: 4.352 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.488e-05/0.4216, allocations: 39.98 kB / 0.5211 GB, free: 4.312 MB / 446.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01017/0.4318, allocations: 6.717 MB / 0.5276 GB, free: 13.58 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.261e-05/0.4319, allocations: 56 kB / 0.5277 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001166/0.432, allocations: 124 kB / 0.5278 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006056/0.4326, allocations: 316.7 kB / 0.5281 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003312/0.4359, allocations: 1.24 MB / 0.5293 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002652/0.4386, allocations: 2.389 MB / 0.5316 GB, free: 9.348 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002904/0.4415, allocations: 287.6 kB / 0.5319 GB, free: 9.066 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004004/0.4419, allocations: 328.5 kB / 0.5322 GB, free: 8.746 MB / 462.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.002346/0.4442, allocations: 1.791 MB / 0.534 GB, free: 6.941 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004627/0.4447, allocations: 329.7 kB / 0.5343 GB, free: 6.617 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004598/0.4493, allocations: 2.355 MB / 0.5366 GB, free: 4.254 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/0.4493, allocations: 16 kB / 0.5366 GB, free: 4.238 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.4493, allocations: 7.938 kB / 0.5366 GB, free: 4.23 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.4493, allocations: 7.969 kB / 0.5366 GB, free: 4.223 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01074/0.4601, allocations: 5.644 MB / 0.5421 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/0.4601, allocations: 7.984 kB / 0.5421 GB, free: 14.51 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007737/0.4608, allocations: 171.7 kB / 0.5423 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002162/0.463, allocations: 0.7147 MB / 0.543 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.907e-05/0.4631, allocations: 20 kB / 0.543 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0062/0.4693, allocations: 4.663 MB / 0.5476 GB, free: 8.824 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.4693, allocations: 4.094 kB / 0.5476 GB, free: 8.82 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006722/0.476, allocations: 4.335 MB / 0.5518 GB, free: 4.453 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/0.4773, allocations: 485.5 kB / 0.5523 GB, free: 3.977 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002988/0.4776, allocations: 16 kB / 0.5523 GB, free: 3.961 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000996/0.4786, allocations: 67.91 kB / 0.5523 GB, free: 3.895 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/0.4788, allocations: 72.47 kB / 0.5524 GB, free: 3.824 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-05/0.4789, allocations: 43.97 kB / 0.5525 GB, free: 3.781 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003354/0.4822, allocations: 2.335 MB / 0.5547 GB, free: 1.461 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4822, allocations: 4.062 kB / 0.5547 GB, free: 1.457 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003563/0.4858, allocations: 0.8163 MB / 0.5555 GB, free: 0.6406 MB / 478.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.1541/0.6399, allocations: 4.967 MB / 0.5604 GB, free: 142.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00509/0.645, allocations: 3.878 MB / 0.5642 GB, free: 141.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.645, allocations: 0 / 0.5642 GB, free: 141.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.6462, allocations: 1.026 MB / 0.5652 GB, free: 140.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/0.6482, allocations: 385 kB / 0.5655 GB, free: 140.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03385/0.682, allocations: 37.86 MB / 0.6025 GB, free: 111.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001935/0.6839, allocations: 2.24 MB / 0.6047 GB, free: 109.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002719/0.6867, allocations: 1.656 MB / 0.6063 GB, free: 107.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001306/0.688, allocations: 1.522 MB / 0.6078 GB, free: 106.3 MB / 478.1 MB Notification: Performance of SimCode: time 1.222e-06/0.688, allocations: 0 / 0.6078 GB, free: 106.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.023/2.711, allocations: 58.26 MB / 0.6647 GB, free: 47.94 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.59/22.3, allocations: 3.859 kB / 0.6647 GB, free: 47.94 MB / 478.1 MB " [Timeout remaining time 638] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.586603365838528]