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.001453/0.001453, allocations: 108.8 kB / 19.16 MB, free: 3.871 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.001559/0.001559, allocations: 205.6 kB / 22.12 MB, free: 0.9297 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.252/1.252, allocations: 207.6 MB / 232.5 MB, free: 11.5 MB / 190.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="cs",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.001644/0.001644, allocations: 59.92 kB / 343 MB, free: 12.26 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2249, allocations: 49.12 MB / 392.1 MB, free: 8.684 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.008526/0.2334, allocations: 10.3 MB / 402.4 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006811/0.2402, allocations: 3.804 MB / 406.2 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/0.2414, allocations: 71.09 kB / 406.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003485/0.2449, allocations: 1.973 MB / 408.3 MB, free: 14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00389/0.2487, allocations: 1.691 MB / 410 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.25, allocations: 0.6186 MB / 410.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004143/0.2542, allocations: 3.337 MB / 413.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002363/0.2565, allocations: 2.205 MB / 416.1 MB, free: 9.684 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001678/0.2582, allocations: 1.273 MB / 417.4 MB, free: 8.969 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002174/0.2604, allocations: 1.816 MB / 419.2 MB, free: 7.859 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000419/0.2608, allocations: 254.2 kB / 419.5 MB, free: 7.859 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001743/0.2626, allocations: 1.053 MB / 420.5 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001428/0.264, allocations: 1.628 MB / 422.1 MB, free: 6.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001825/0.2658, allocations: 1.841 MB / 424 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006161/0.272, allocations: 5.86 MB / 429.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.272, allocations: 0 / 429.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.272, allocations: 3.938 kB / 429.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001115/0.2721, allocations: 3.938 kB / 429.8 MB, free: 14.49 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.006877/0.279, allocations: 4.152 MB / 434 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.279, allocations: 12.03 kB / 434 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.17e-05/0.2791, allocations: 85.16 kB / 434.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006912/0.2798, allocations: 0.6043 MB / 434.7 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006168/0.286, allocations: 1.804 MB / 436.5 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003933/0.2899, allocations: 2.436 MB / 438.9 MB, free: 5.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001438/0.29, allocations: 184.8 kB / 439.1 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004356/0.2905, allocations: 263.8 kB / 439.4 MB, free: 4.809 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01202/0.3025, allocations: 8.423 MB / 447.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.154e-05/0.3026, allocations: 39.64 kB / 447.8 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003143/0.3029, allocations: 131.9 kB / 448 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002763/0.3056, allocations: 1.695 MB / 449.7 MB, free: 9.859 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01243/0.3181, allocations: 7.102 MB / 456.8 MB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0388/0.3569, allocations: 34.1 MB / 490.9 MB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007305/0.3642, allocations: 3.188 MB / 494 MB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001789/0.366, allocations: 1.353 MB / 495.4 MB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006035/0.372, allocations: 4.363 MB / 499.8 MB, free: 6.379 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.372, allocations: 51 kB / 499.8 MB, free: 6.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=121): time 2.575e-06/0.372, allocations: 4 kB / 499.8 MB, free: 6.316 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.02877/0.4008, allocations: 11.75 MB / 0.4996 GB, free: 10.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.177e-05/0.4009, allocations: 145.2 kB / 0.4997 GB, free: 10.26 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004981/0.4059, allocations: 3.755 MB / 0.5034 GB, free: 6.516 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000152/0.406, allocations: 41.7 kB / 0.5034 GB, free: 6.469 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002034/0.4081, allocations: 2.87 MB / 0.5062 GB, free: 3.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005918/0.4087, allocations: 0.5351 MB / 0.5067 GB, free: 3.031 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001288/0.4099, allocations: 1.091 MB / 0.5078 GB, free: 1.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.4101, allocations: 305.1 kB / 0.5081 GB, free: 1.629 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002433/0.4125, allocations: 1.693 MB / 0.5098 GB, free: 15.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005084/0.4176, allocations: 5.115 MB / 0.5148 GB, free: 9.082 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008357/0.4259, allocations: 7.408 MB / 0.522 GB, free: 15.96 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.491e-05/0.426, allocations: 36 kB / 0.522 GB, free: 15.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01076/0.4368, allocations: 6.716 MB / 0.5286 GB, free: 9.203 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.241e-05/0.4369, allocations: 59.94 kB / 0.5286 GB, free: 9.145 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00012/0.437, allocations: 120.8 kB / 0.5288 GB, free: 9.027 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006333/0.4376, allocations: 320.7 kB / 0.5291 GB, free: 8.711 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00353/0.4411, allocations: 1.24 MB / 0.5303 GB, free: 7.469 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002726/0.4439, allocations: 2.493 MB / 0.5327 GB, free: 4.836 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003013/0.4469, allocations: 283.8 kB / 0.533 GB, free: 4.559 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003993/0.4473, allocations: 332 kB / 0.5333 GB, free: 4.234 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.002336/0.4496, allocations: 1.791 MB / 0.535 GB, free: 2.43 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005088/0.4501, allocations: 337.7 kB / 0.5354 GB, free: 2.098 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004577/0.4547, allocations: 2.355 MB / 0.5377 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.339e-05/0.4547, allocations: 16 kB / 0.5377 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.4547, allocations: 4 kB / 0.5377 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.4547, allocations: 3.984 kB / 0.5377 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01032/0.4651, allocations: 5.906 MB / 0.5435 GB, free: 9.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.4651, allocations: 4.062 kB / 0.5435 GB, free: 9.727 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007673/0.4658, allocations: 171.7 kB / 0.5436 GB, free: 9.559 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002149/0.468, allocations: 0.7224 MB / 0.5443 GB, free: 8.832 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.662e-05/0.4681, allocations: 23.98 kB / 0.5443 GB, free: 8.809 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00614/0.4742, allocations: 4.813 MB / 0.5491 GB, free: 3.848 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.872e-06/0.4742, allocations: 4 kB / 0.5491 GB, free: 3.844 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1609/0.6352, allocations: 4.331 MB / 0.5533 GB, free: 143.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/0.6363, allocations: 0.5498 MB / 0.5538 GB, free: 143.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000286/0.6366, allocations: 18.12 kB / 0.5538 GB, free: 143.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.6376, allocations: 66.03 kB / 0.5539 GB, free: 143.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001983/0.6378, allocations: 68.16 kB / 0.554 GB, free: 143.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.651e-05/0.6379, allocations: 37 kB / 0.554 GB, free: 143.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003412/0.6413, allocations: 2.338 MB / 0.5563 GB, free: 143.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 6e-08/0.6413, allocations: 0 / 0.5563 GB, free: 143.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003478/0.6448, allocations: 0.8169 MB / 0.5571 GB, free: 143.2 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.006419/0.6512, allocations: 4.972 MB / 0.5619 GB, free: 141.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005632/0.6568, allocations: 3.88 MB / 0.5657 GB, free: 139.8 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.6568, allocations: 0 / 0.5657 GB, free: 139.8 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00133/0.6582, allocations: 1.037 MB / 0.5667 GB, free: 139.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/0.6604, allocations: 394 kB / 0.5671 GB, free: 139.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03595/0.6963, allocations: 37.79 MB / 0.604 GB, free: 108.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002342/0.6987, allocations: 2.785 MB / 0.6067 GB, free: 105.7 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002794/0.7015, allocations: 1.658 MB / 0.6084 GB, free: 104.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001412/0.7029, allocations: 1.526 MB / 0.6099 GB, free: 102.5 MB / 478.1 MB Notification: Performance of SimCode: time 6.82e-07/0.7029, allocations: 4 kB / 0.6099 GB, free: 102.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6236/1.326, allocations: 58.22 MB / 0.6667 GB, free: 44.27 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 24.1/25.43, allocations: 14.25 kB / 0.6667 GB, free: 44.26 MB / 478.1 MB " [Timeout remaining time 634] (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: 33.76560174598126]