Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.001673/0.001673, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.002027/0.002027, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.523/1.523, allocations: 207.6 MB / 235.3 MB, free: 10.01 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.SpringWithMass,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass",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.001949/0.001949, allocations: 51.92 kB / 347.2 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3322, allocations: 49.16 MB / 396.4 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.008067/0.3402, allocations: 7.499 MB / 403.9 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005959/0.3462, allocations: 3.284 MB / 407.1 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001123/0.3473, allocations: 44.06 kB / 407.2 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002217/0.3495, allocations: 1.052 MB / 408.2 MB, free: 1.117 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003757/0.3533, allocations: 1.396 MB / 409.6 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.3545, allocations: 465 kB / 410.1 MB, free: 348 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004216/0.3587, allocations: 2.642 MB / 412.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001991/0.3607, allocations: 1.333 MB / 414.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001766/0.3624, allocations: 0.8609 MB / 414.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00223/0.3647, allocations: 1.342 MB / 416.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004606/0.3651, allocations: 170.2 kB / 416.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002366/0.3675, allocations: 1.061 MB / 417.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001403/0.3689, allocations: 1.128 MB / 418.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001924/0.3708, allocations: 1.316 MB / 419.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006631/0.3775, allocations: 4.396 MB / 424.3 MB, free: 7.262 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.3775, allocations: 4 kB / 424.3 MB, free: 7.258 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.3775, allocations: 4 kB / 424.3 MB, free: 7.254 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001362/0.3776, allocations: 0 / 424.3 MB, free: 7.254 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.007957/0.3856, allocations: 3.08 MB / 427.4 MB, free: 4.129 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.3856, allocations: 11.98 kB / 427.4 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008131/0.3864, allocations: 474.8 kB / 427.9 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006672/0.3931, allocations: 1.766 MB / 429.7 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004003/0.3971, allocations: 1.793 MB / 431.4 MB, free: 52 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001531/0.3973, allocations: 131.3 kB / 431.6 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007342/0.398, allocations: 255.7 kB / 431.8 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01262/0.4106, allocations: 6.664 MB / 438.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.268e-05/0.4107, allocations: 23.81 kB / 438.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002822/0.411, allocations: 91.83 kB / 438.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002293/0.4133, allocations: 1.363 MB / 440 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01242/0.4257, allocations: 6.036 MB / 446 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03592/0.4616, allocations: 25.47 MB / 471.5 MB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006761/0.4684, allocations: 2.144 MB / 473.6 MB, free: 4.605 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001536/0.4699, allocations: 0.9924 MB / 474.6 MB, free: 3.602 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005889/0.4758, allocations: 2.949 MB / 477.6 MB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.29e-05/0.4758, allocations: 47 kB / 477.6 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of pre-optimization done (n=112): time 3.867e-06/0.4758, allocations: 0 / 477.6 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of matching and sorting (n=125): time 0.02738/0.5032, allocations: 10.16 MB / 487.8 MB, free: 6.328 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001625/0.5049, allocations: 1.575 MB / 489.3 MB, free: 4.602 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004299/0.5092, allocations: 2.766 MB / 492.1 MB, free: 1.816 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002683/0.5094, allocations: 41.73 kB / 492.1 MB, free: 1.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001827/0.5113, allocations: 2.179 MB / 494.3 MB, free: 15.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007671/0.512, allocations: 0.5234 MB / 494.8 MB, free: 15.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001456/0.5135, allocations: 0.9249 MB / 495.8 MB, free: 14.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.5136, allocations: 305.1 kB / 496.1 MB, free: 13.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002793/0.5164, allocations: 1.625 MB / 497.7 MB, free: 12.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005309/0.5217, allocations: 4.425 MB / 0.4904 GB, free: 6.332 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009269/0.531, allocations: 6.49 MB / 0.4967 GB, free: 14.45 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.134e-05/0.5311, allocations: 32 kB / 0.4967 GB, free: 14.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=591) (initialization): time 0.01655/0.5476, allocations: 7.024 MB / 0.5036 GB, free: 7.379 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001404/0.5478, allocations: 48.94 kB / 0.5036 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006532/0.5543, allocations: 2.521 MB / 0.5061 GB, free: 4.801 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00549/0.5598, allocations: 1.498 MB / 0.5076 GB, free: 3.293 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003732/0.5635, allocations: 1.002 MB / 0.5085 GB, free: 2.289 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0118/0.5753, allocations: 7.568 MB / 0.5159 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003822/0.5792, allocations: 331.7 kB / 0.5162 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009061/0.5801, allocations: 283.9 kB / 0.5165 GB, free: 9.887 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 452 * Number of states: 0 () * Number of discrete variables: 21 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (543): * Single equations (assignments): 535 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003357/0.5834, allocations: 1.43 MB / 0.5179 GB, free: 8.441 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000691/0.5841, allocations: 242.4 kB / 0.5181 GB, free: 8.203 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007665/0.5918, allocations: 2.827 MB / 0.5209 GB, free: 5.348 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006232/0.598, allocations: 2.501 MB / 0.5233 GB, free: 2.828 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.672e-05/0.598, allocations: 12.11 kB / 0.5234 GB, free: 2.816 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.693e-05/0.5981, allocations: 3.984 kB / 0.5234 GB, free: 2.812 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0177/0.6158, allocations: 6.768 MB / 0.53 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-05/0.6158, allocations: 4 kB / 0.53 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009404/0.6167, allocations: 175.7 kB / 0.5301 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005139/0.6219, allocations: 1.442 MB / 0.5315 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002589/0.6221, allocations: 35.97 kB / 0.5316 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01208/0.6342, allocations: 7.713 MB / 0.5391 GB, free: 2.34 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001306/0.6355, allocations: 1.445 MB / 0.5405 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01042/0.6459, allocations: 4.851 MB / 0.5453 GB, free: 11.87 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009434/0.6469, allocations: 226.4 kB / 0.5455 GB, free: 11.65 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006532/0.6475, allocations: 24 kB / 0.5455 GB, free: 11.62 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001474/0.649, allocations: 115.8 kB / 0.5456 GB, free: 11.51 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003424/0.6494, allocations: 84.42 kB / 0.5457 GB, free: 11.43 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001386/0.6495, allocations: 35.98 kB / 0.5457 GB, free: 11.39 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003712/0.6532, allocations: 1.701 MB / 0.5474 GB, free: 9.68 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6532, allocations: 0 / 0.5474 GB, free: 9.68 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004389/0.6576, allocations: 0.7733 MB / 0.5481 GB, free: 8.906 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (83): * Single equations (assignments): 77 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01038/0.668, allocations: 5.489 MB / 0.5535 GB, free: 3.367 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.2054/0.8734, allocations: 4.119 MB / 0.5575 GB, free: 149.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.8734, allocations: 0.5 kB / 0.5575 GB, free: 149.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003252/0.8766, allocations: 1.579 MB / 0.5591 GB, free: 149.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/0.8785, allocations: 268.7 kB / 0.5593 GB, free: 149.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04874/0.9272, allocations: 33.88 MB / 0.5924 GB, free: 127.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001909/0.9291, allocations: 2.304 MB / 0.5947 GB, free: 125.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002634/0.9318, allocations: 1.408 MB / 0.596 GB, free: 124.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001321/0.9331, allocations: 1.116 MB / 0.5971 GB, free: 123 MB / 478.1 MB Notification: Performance of SimCode: time 1.122e-06/0.9331, allocations: 0 / 0.5971 GB, free: 123 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09613/1.029, allocations: 52.96 MB / 0.6488 GB, free: 69.96 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.37/20.39, allocations: 0 / 0.6488 GB, free: 69.96 MB / 478.1 MB " [Timeout remaining time 639] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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: 23.35745553090237]