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.001293/0.001293, allocations: 101.5 kB / 21.21 MB, free: 0.6523 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.001451/0.001451, allocations: 188.4 kB / 24.49 MB, free: 3.957 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.293/1.293, allocations: 225.7 MB / 253.3 MB, free: 12.83 MB / 206.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 39.94 kB / 371.2 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2012, allocations: 52.19 MB / 423.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01028/0.2114, allocations: 8.963 MB / 432.3 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006624/0.2181, allocations: 3.573 MB / 435.9 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009843/0.219, allocations: 71.62 kB / 436 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003549/0.2226, allocations: 1.904 MB / 437.9 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003589/0.2262, allocations: 1.708 MB / 439.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.2275, allocations: 0.6199 MB / 440.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004058/0.2315, allocations: 3.332 MB / 443.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002415/0.2339, allocations: 2.133 MB / 445.7 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001632/0.2356, allocations: 1.261 MB / 446.9 MB, free: 6.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002371/0.2379, allocations: 1.81 MB / 448.7 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005299/0.2385, allocations: 256 kB / 449 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001745/0.2402, allocations: 0.9517 MB / 449.9 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00157/0.2418, allocations: 1.613 MB / 451.6 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001615/0.2434, allocations: 1.351 MB / 452.9 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006203/0.2496, allocations: 5.886 MB / 458.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2496, allocations: 0 / 458.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2496, allocations: 0 / 458.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001035/0.2497, allocations: 0 / 458.8 MB, free: 10.79 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.007048/0.2568, allocations: 4.061 MB / 462.9 MB, free: 6.676 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.2568, allocations: 8.031 kB / 462.9 MB, free: 6.668 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.905e-05/0.2569, allocations: 89.16 kB / 462.9 MB, free: 6.578 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007569/0.2577, allocations: 0.6043 MB / 463.6 MB, free: 5.965 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00597/0.2636, allocations: 1.804 MB / 465.4 MB, free: 4.156 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004139/0.2678, allocations: 2.223 MB / 467.6 MB, free: 1.887 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001471/0.2679, allocations: 188.8 kB / 467.8 MB, free: 1.699 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005396/0.2685, allocations: 255.8 kB / 468 MB, free: 1.449 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01247/0.2809, allocations: 8.448 MB / 476.5 MB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.366e-05/0.281, allocations: 43.64 kB / 476.5 MB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003192/0.2813, allocations: 123.9 kB / 476.6 MB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00266/0.284, allocations: 1.699 MB / 478.3 MB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0116/0.2956, allocations: 7.09 MB / 485.4 MB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03604/0.3316, allocations: 32.8 MB / 0.5061 GB, free: 13.56 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00675/0.3384, allocations: 2.716 MB / 0.5087 GB, free: 10.8 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001756/0.3401, allocations: 1.349 MB / 0.51 GB, free: 9.441 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005642/0.3458, allocations: 3.357 MB / 0.5133 GB, free: 6.051 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.912e-05/0.3458, allocations: 47.22 kB / 0.5134 GB, free: 5.996 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 3.507e-06/0.3458, allocations: 0 / 0.5134 GB, free: 5.996 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02649/0.3723, allocations: 11.53 MB / 0.5246 GB, free: 10.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.221e-05/0.3724, allocations: 149.1 kB / 0.5248 GB, free: 10.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004635/0.377, allocations: 3.731 MB / 0.5284 GB, free: 6.492 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001486/0.3772, allocations: 41.7 kB / 0.5285 GB, free: 6.445 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001999/0.3792, allocations: 2.858 MB / 0.5312 GB, free: 3.559 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005697/0.3798, allocations: 0.539 MB / 0.5318 GB, free: 3.016 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001343/0.3811, allocations: 1.091 MB / 0.5328 GB, free: 1.914 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.3812, allocations: 305.1 kB / 0.5331 GB, free: 1.613 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1697/0.5509, allocations: 1.693 MB / 0.5348 GB, free: 108.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003968/0.5549, allocations: 5.119 MB / 0.5398 GB, free: 104.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005393/0.5603, allocations: 7.405 MB / 0.547 GB, free: 97.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.497e-05/0.5604, allocations: 41.94 kB / 0.5471 GB, free: 97.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.007915/0.5683, allocations: 6.71 MB / 0.5536 GB, free: 95.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.841e-05/0.5684, allocations: 60.5 kB / 0.5537 GB, free: 95.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.015e-05/0.5684, allocations: 120 kB / 0.5538 GB, free: 95.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004805/0.5689, allocations: 321 kB / 0.5541 GB, free: 95.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002867/0.5718, allocations: 1.235 MB / 0.5553 GB, free: 93.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001723/0.5735, allocations: 2.383 MB / 0.5576 GB, free: 91.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002935/0.5765, allocations: 284.7 kB / 0.5579 GB, free: 91.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003865/0.5768, allocations: 332.9 kB / 0.5582 GB, free: 91.11 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.001766/0.5786, allocations: 1.792 MB / 0.56 GB, free: 89.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003624/0.579, allocations: 322.5 kB / 0.5603 GB, free: 89.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00343/0.5824, allocations: 2.357 MB / 0.5626 GB, free: 87.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.039e-05/0.5824, allocations: 16.62 kB / 0.5626 GB, free: 87.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.5824, allocations: 4 kB / 0.5626 GB, free: 87.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.5824, allocations: 7.734 kB / 0.5626 GB, free: 87.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007805/0.5902, allocations: 5.638 MB / 0.5681 GB, free: 82.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.809e-06/0.5902, allocations: 13.56 kB / 0.5681 GB, free: 82.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006783/0.5909, allocations: 175.7 kB / 0.5683 GB, free: 81.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001758/0.5927, allocations: 0.7108 MB / 0.569 GB, free: 81.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-05/0.5928, allocations: 27.81 kB / 0.569 GB, free: 81.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004057/0.5968, allocations: 4.665 MB / 0.5736 GB, free: 76.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5968, allocations: 0 / 0.5736 GB, free: 76.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00474/0.6016, allocations: 4.34 MB / 0.5778 GB, free: 72.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005566/0.6021, allocations: 304.9 kB / 0.5781 GB, free: 71.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003124/0.6024, allocations: 16 kB / 0.5781 GB, free: 71.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009413/0.6034, allocations: 63.86 kB / 0.5782 GB, free: 71.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.6036, allocations: 76.45 kB / 0.5782 GB, free: 71.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.958e-05/0.6036, allocations: 36 kB / 0.5783 GB, free: 71.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002288/0.6059, allocations: 2.323 MB / 0.5805 GB, free: 69.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6059, allocations: 0 / 0.5805 GB, free: 69.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003393/0.6093, allocations: 0.8186 MB / 0.5813 GB, free: 68.61 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.004956/0.6143, allocations: 4.967 MB / 0.5862 GB, free: 63.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004326/0.6186, allocations: 3.892 MB / 0.59 GB, free: 59.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.6186, allocations: 0 / 0.59 GB, free: 59.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.6196, allocations: 1.029 MB / 0.591 GB, free: 58.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001875/0.6215, allocations: 380.8 kB / 0.5914 GB, free: 58.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03688/0.6584, allocations: 37.77 MB / 0.6282 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002209/0.6606, allocations: 2.237 MB / 0.6304 GB, free: 13.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002788/0.6634, allocations: 1.657 MB / 0.632 GB, free: 11.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001488/0.6649, allocations: 1.522 MB / 0.6335 GB, free: 9.93 MB / 446.1 MB Notification: Performance of SimCode: time 8.21e-07/0.6649, allocations: 0 / 0.6335 GB, free: 9.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.551/1.216, allocations: 60.12 MB / 0.6922 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.07/25.29, allocations: 9.969 kB / 0.6923 GB, free: 14.59 MB / 0.4981 GB " [Timeout remaining time 635] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 29.312250506016426]