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.001672/0.001672, allocations: 115.5 kB / 18.45 MB, free: 4.609 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.002179/0.002179, allocations: 215.3 kB / 21.41 MB, free: 1.648 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.465/1.465, allocations: 207.6 MB / 231.8 MB, free: 4.09 MB / 174.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.001764/0.001764, allocations: 55.91 kB / 342.3 MB, free: 9.984 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09753/0.0993, allocations: 49.12 MB / 391.4 MB, free: 8.703 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.0123/0.1116, allocations: 10.3 MB / 401.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008045/0.1196, allocations: 3.807 MB / 405.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001711/0.1214, allocations: 67.62 kB / 405.6 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004102/0.1255, allocations: 1.978 MB / 407.6 MB, free: 8.496 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004643/0.1301, allocations: 1.693 MB / 409.3 MB, free: 6.797 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001576/0.1317, allocations: 0.6082 MB / 409.9 MB, free: 6.188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005161/0.1368, allocations: 3.342 MB / 413.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003134/0.14, allocations: 2.205 MB / 415.4 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002338/0.1423, allocations: 1.273 MB / 416.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003088/0.1454, allocations: 1.822 MB / 418.5 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008352/0.1462, allocations: 252 kB / 418.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002243/0.1485, allocations: 1.049 MB / 419.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001722/0.1502, allocations: 1.624 MB / 421.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002401/0.1526, allocations: 1.844 MB / 423.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007963/0.1606, allocations: 5.867 MB / 429.1 MB, free: 2.797 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.1606, allocations: 0 / 429.1 MB, free: 2.797 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1606, allocations: 7.938 kB / 429.1 MB, free: 2.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002136/0.1608, allocations: 0 / 429.1 MB, free: 2.789 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.009232/0.17, allocations: 4.14 MB / 433.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/0.1701, allocations: 12.02 kB / 433.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009048/0.171, allocations: 0.6082 MB / 433.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006633/0.1776, allocations: 1.8 MB / 435.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004996/0.1826, allocations: 2.436 MB / 438.1 MB, free: 9.645 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001814/0.1828, allocations: 188.8 kB / 438.3 MB, free: 9.457 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006298/0.1834, allocations: 263.8 kB / 438.6 MB, free: 9.199 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01493/0.1983, allocations: 8.423 MB / 447 MB, free: 116 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001123/0.1985, allocations: 39.64 kB / 447 MB, free: 76 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003839/0.1988, allocations: 135.9 kB / 447.2 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002945/0.2018, allocations: 1.699 MB / 448.9 MB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01482/0.2166, allocations: 7.098 MB / 456 MB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2263/0.4429, allocations: 34.08 MB / 490.1 MB, free: 36.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006832/0.4498, allocations: 3.173 MB / 493.2 MB, free: 35.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001562/0.4513, allocations: 1.365 MB / 494.6 MB, free: 34.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005761/0.4571, allocations: 4.375 MB / 499 MB, free: 31.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.4571, allocations: 56.75 kB / 499 MB, free: 31.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=121): time 4.018e-06/0.4571, allocations: 0 / 499 MB, free: 31.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=129): time 0.02565/0.4828, allocations: 11.75 MB / 0.4988 GB, free: 25.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.4828, allocations: 141.2 kB / 0.4989 GB, free: 25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004185/0.487, allocations: 3.758 MB / 0.5026 GB, free: 21.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002622/0.4873, allocations: 41.7 kB / 0.5026 GB, free: 21.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001237/0.4885, allocations: 2.861 MB / 0.5054 GB, free: 18.56 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005229/0.489, allocations: 0.5424 MB / 0.506 GB, free: 18.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001078/0.4901, allocations: 1.095 MB / 0.507 GB, free: 16.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.977e-05/0.4901, allocations: 301.1 kB / 0.5073 GB, free: 16.63 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001918/0.4921, allocations: 1.693 MB / 0.509 GB, free: 14.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003034/0.4951, allocations: 5.124 MB / 0.514 GB, free: 8.094 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00646/0.5016, allocations: 7.4 MB / 0.5212 GB, free: 14.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001225/0.5017, allocations: 36 kB / 0.5212 GB, free: 14.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01374/0.5154, allocations: 6.717 MB / 0.5278 GB, free: 8.223 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.766e-05/0.5155, allocations: 57.5 kB / 0.5279 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001837/0.5157, allocations: 123.9 kB / 0.528 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007273/0.5164, allocations: 325.1 kB / 0.5283 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004258/0.5207, allocations: 1.244 MB / 0.5295 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002831/0.5235, allocations: 2.487 MB / 0.5319 GB, free: 3.852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003754/0.5273, allocations: 287.6 kB / 0.5322 GB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006889/0.528, allocations: 336 kB / 0.5325 GB, free: 3.242 MB / 398.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.00274/0.5307, allocations: 1.785 MB / 0.5343 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006469/0.5313, allocations: 333.7 kB / 0.5346 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00494/0.5363, allocations: 2.363 MB / 0.5369 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.333e-05/0.5363, allocations: 16 kB / 0.5369 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.5363, allocations: 4 kB / 0.5369 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.5363, allocations: 3.984 kB / 0.5369 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01185/0.5482, allocations: 5.905 MB / 0.5427 GB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/0.5482, allocations: 0 / 0.5427 GB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008437/0.549, allocations: 175.7 kB / 0.5429 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002284/0.5513, allocations: 0.7147 MB / 0.5435 GB, free: 7.895 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/0.5515, allocations: 24 kB / 0.5436 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006377/0.5578, allocations: 4.817 MB / 0.5483 GB, free: 2.922 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.5578, allocations: 4.062 kB / 0.5483 GB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007295/0.5651, allocations: 4.347 MB / 0.5525 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001288/0.5664, allocations: 0.5378 MB / 0.553 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003078/0.5667, allocations: 19.94 kB / 0.5531 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.5678, allocations: 67.92 kB / 0.5531 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002185/0.568, allocations: 68.5 kB / 0.5532 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.134e-05/0.5681, allocations: 35.88 kB / 0.5532 GB, free: 13.79 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003579/0.5716, allocations: 2.343 MB / 0.5555 GB, free: 11.46 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5716, allocations: 0 / 0.5555 GB, free: 11.46 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004115/0.5758, allocations: 0.8124 MB / 0.5563 GB, free: 10.65 MB / 430.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.00758/0.5833, allocations: 4.975 MB / 0.5612 GB, free: 5.637 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006686/0.59, allocations: 3.878 MB / 0.565 GB, free: 1.773 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.59, allocations: 0 / 0.565 GB, free: 1.773 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001598/0.5916, allocations: 1.033 MB / 0.566 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002498/0.5941, allocations: 388.7 kB / 0.5663 GB, free: 372 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06187/0.656, allocations: 37.8 MB / 0.6032 GB, free: 5.379 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00334/0.6593, allocations: 2.793 MB / 0.606 GB, free: 2.559 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003849/0.6632, allocations: 1.66 MB / 0.6076 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002299/0.6655, allocations: 1.529 MB / 0.6091 GB, free: 15.39 MB / 494.1 MB Notification: Performance of SimCode: time 1.573e-06/0.6655, allocations: 3.938 kB / 0.6091 GB, free: 15.39 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3333/0.9988, allocations: 58.16 MB / 0.6659 GB, free: 165.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.22/24.22, allocations: 12.47 kB / 0.6659 GB, free: 165.9 MB / 0.4981 GB " [Timeout remaining time 636] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 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.csv","/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: 26.808995719009545]