Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002054/0.002054, allocations: 123.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002414/0.002414, allocations: 190.9 kB / 20.73 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 225.6 MB / 249.1 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 43.92 kB / 365.6 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1038, allocations: 52.16 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01215/0.116, allocations: 10.26 MB / 428.1 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007263/0.1232, allocations: 3.814 MB / 431.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.1244, allocations: 55.88 kB / 431.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003743/0.1281, allocations: 1.962 MB / 433.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00415/0.1323, allocations: 1.712 MB / 435.6 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001547/0.1338, allocations: 0.6237 MB / 436.2 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005228/0.1391, allocations: 3.321 MB / 439.5 MB, free: 6.781 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002996/0.1421, allocations: 2.189 MB / 441.7 MB, free: 4.535 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002196/0.1442, allocations: 1.246 MB / 443 MB, free: 3.285 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002949/0.1472, allocations: 1.818 MB / 444.8 MB, free: 1.461 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006417/0.1478, allocations: 252 kB / 445 MB, free: 1.215 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002245/0.1501, allocations: 1.069 MB / 446.1 MB, free: 148 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2323/0.3823, allocations: 1.611 MB / 447.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002104/0.3844, allocations: 1.831 MB / 449.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00817/0.3926, allocations: 5.862 MB / 455.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.3926, allocations: 0.6875 kB / 455.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3926, allocations: 0.5 kB / 455.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000228/0.3928, allocations: 3.469 kB / 455.4 MB, free: 10.15 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.01061/0.4035, allocations: 4.132 MB / 459.5 MB, free: 8.332 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.4035, allocations: 11.58 kB / 459.6 MB, free: 8.332 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001189/0.4047, allocations: 0.6084 MB / 460.2 MB, free: 8.266 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006146/0.4108, allocations: 1.807 MB / 462 MB, free: 8.004 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005809/0.4167, allocations: 2.269 MB / 464.2 MB, free: 7.465 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001772/0.4168, allocations: 194.4 kB / 464.4 MB, free: 7.453 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007556/0.4176, allocations: 253.6 kB / 464.7 MB, free: 7.449 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01482/0.4324, allocations: 8.433 MB / 473.1 MB, free: 4.105 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001141/0.4325, allocations: 41.09 kB / 473.2 MB, free: 4.102 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003648/0.4329, allocations: 123.5 kB / 473.3 MB, free: 4.051 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002609/0.4355, allocations: 1.696 MB / 475 MB, free: 3.773 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01268/0.4482, allocations: 7.105 MB / 482.1 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04335/0.4915, allocations: 34.08 MB / 0.5041 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007087/0.4986, allocations: 3.172 MB / 0.5072 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001908/0.5005, allocations: 1.362 MB / 0.5085 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007393/0.5079, allocations: 4.366 MB / 0.5127 GB, free: 7.625 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.702e-05/0.508, allocations: 62.89 kB / 0.5128 GB, free: 7.559 MB / 414.1 MB Notification: Performance of pre-optimization done (n=121): time 3.065e-06/0.508, allocations: 0 / 0.5128 GB, free: 7.559 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.02727/0.5352, allocations: 11.69 MB / 0.5242 GB, free: 11.78 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.699e-05/0.5353, allocations: 149.2 kB / 0.5244 GB, free: 11.6 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005196/0.5405, allocations: 3.727 MB / 0.528 GB, free: 7.883 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002285/0.5407, allocations: 49.55 kB / 0.5281 GB, free: 7.832 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002061/0.5428, allocations: 2.859 MB / 0.5308 GB, free: 4.988 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006538/0.5435, allocations: 0.5453 MB / 0.5314 GB, free: 4.449 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001399/0.5449, allocations: 1.082 MB / 0.5324 GB, free: 3.359 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.545, allocations: 309 kB / 0.5327 GB, free: 3.055 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002455/0.5474, allocations: 1.696 MB / 0.5344 GB, free: 1.355 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005085/0.5525, allocations: 5.12 MB / 0.5394 GB, free: 10.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008151/0.5607, allocations: 7.398 MB / 0.5466 GB, free: 1.957 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-05/0.5607, allocations: 36 kB / 0.5466 GB, free: 1.922 MB / 446.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01019/0.5709, allocations: 6.712 MB / 0.5532 GB, free: 11.35 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.716e-05/0.571, allocations: 59.98 kB / 0.5533 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001194/0.5711, allocations: 123.9 kB / 0.5534 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005992/0.5717, allocations: 324.9 kB / 0.5537 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003342/0.5751, allocations: 1.244 MB / 0.5549 GB, free: 9.609 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002645/0.5777, allocations: 2.495 MB / 0.5573 GB, free: 6.977 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003266/0.581, allocations: 283.6 kB / 0.5576 GB, free: 6.699 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004627/0.5814, allocations: 332 kB / 0.5579 GB, free: 6.375 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.002838/0.5843, allocations: 1.787 MB / 0.5597 GB, free: 4.574 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006029/0.5849, allocations: 329.7 kB / 0.56 GB, free: 4.254 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004594/0.5895, allocations: 2.355 MB / 0.5623 GB, free: 1.879 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.409e-05/0.5895, allocations: 16 kB / 0.5623 GB, free: 1.863 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.5895, allocations: 4 kB / 0.5623 GB, free: 1.859 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.5895, allocations: 3.984 kB / 0.5623 GB, free: 1.855 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01171/0.6012, allocations: 5.917 MB / 0.5681 GB, free: 11.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/0.6012, allocations: 4.125 kB / 0.5681 GB, free: 11.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007656/0.602, allocations: 167.8 kB / 0.5682 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002007/0.604, allocations: 0.7186 MB / 0.5689 GB, free: 11.01 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/0.6041, allocations: 24 kB / 0.569 GB, free: 10.99 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006024/0.6101, allocations: 4.807 MB / 0.5737 GB, free: 6.051 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6101, allocations: 4.062 kB / 0.5737 GB, free: 6.047 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006696/0.6168, allocations: 4.337 MB / 0.5779 GB, free: 1.684 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/0.6179, allocations: 382.8 kB / 0.5783 GB, free: 1.289 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003572/0.6183, allocations: 23.92 kB / 0.5783 GB, free: 1.266 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.6193, allocations: 63.92 kB / 0.5784 GB, free: 1.203 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001886/0.6195, allocations: 64.56 kB / 0.5784 GB, free: 1.141 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.435e-05/0.6196, allocations: 39.98 kB / 0.5785 GB, free: 1.102 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003591/0.6232, allocations: 2.323 MB / 0.5807 GB, free: 14.79 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6232, allocations: 3.938 kB / 0.5807 GB, free: 14.79 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004485/0.6277, allocations: 0.8202 MB / 0.5815 GB, free: 13.97 MB / 494.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.00691/0.6346, allocations: 4.971 MB / 0.5864 GB, free: 8.969 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005991/0.6406, allocations: 3.878 MB / 0.5902 GB, free: 5.102 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.6406, allocations: 0 / 0.5902 GB, free: 5.102 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001441/0.642, allocations: 1.03 MB / 0.5912 GB, free: 4.059 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002249/0.6442, allocations: 397.1 kB / 0.5916 GB, free: 3.68 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05277/0.697, allocations: 37.7 MB / 0.6284 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003241/0.7003, allocations: 2.793 MB / 0.6311 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003813/0.7041, allocations: 1.664 MB / 0.6327 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002341/0.7064, allocations: 1.519 MB / 0.6342 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of SimCode: time 1.172e-06/0.7064, allocations: 0 / 0.6342 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.907/2.613, allocations: 58.06 MB / 0.6909 GB, free: 157.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.12/33.73, allocations: 16.92 kB / 0.6909 GB, free: 157.1 MB / 0.5294 GB " [Timeout remaining time 626] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 38.084778612013906]