Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001527/0.001527, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001614/0.001614, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.381/1.381, allocations: 227.7 MB / 247.7 MB, free: 10.44 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 74.3 kB / 307.9 MB, free: 0.5391 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09208/0.09392, allocations: 50.53 MB / 358.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01168/0.1056, allocations: 10.18 MB / 368.6 MB, free: 3.754 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1471/0.2528, allocations: 3.81 MB / 372.4 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001432/0.2543, allocations: 60.64 kB / 372.5 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003883/0.2582, allocations: 1.929 MB / 374.4 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003844/0.262, allocations: 1.63 MB / 376 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001453/0.2635, allocations: 0.6087 MB / 376.7 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00457/0.2681, allocations: 3.357 MB / 380 MB, free: 8.832 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003434/0.2715, allocations: 2.559 MB / 382.6 MB, free: 8.215 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00216/0.2737, allocations: 1.232 MB / 383.8 MB, free: 7.758 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002535/0.2763, allocations: 1.669 MB / 385.5 MB, free: 7.195 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009067/0.2772, allocations: 253.4 kB / 385.7 MB, free: 7.195 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002332/0.2795, allocations: 1.018 MB / 386.7 MB, free: 7.004 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001607/0.2812, allocations: 1.541 MB / 388.3 MB, free: 6.379 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00156/0.2827, allocations: 1.81 MB / 390.1 MB, free: 5.008 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004513/0.2872, allocations: 5.566 MB / 395.6 MB, free: 1.348 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2873, allocations: 0 / 395.6 MB, free: 1.348 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2873, allocations: 4 kB / 395.7 MB, free: 1.344 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001008/0.2874, allocations: 0 / 395.7 MB, free: 1.344 MB / 302.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.006599/0.294, allocations: 3.994 MB / 399.6 MB, free: 14.6 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.294, allocations: 8.812 kB / 399.7 MB, free: 14.6 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006045/0.3001, allocations: 1.775 MB / 401.4 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00376/0.3039, allocations: 1.876 MB / 403.3 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/0.304, allocations: 192 kB / 403.5 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005528/0.3046, allocations: 266.2 kB / 403.8 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01492/0.3195, allocations: 8.44 MB / 412.2 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001139/0.3197, allocations: 43.58 kB / 412.2 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003862/0.3201, allocations: 125.1 kB / 412.4 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002976/0.3231, allocations: 1.698 MB / 414.1 MB, free: 432 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0141/0.3372, allocations: 7.11 MB / 421.2 MB, free: 9.305 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04243/0.3797, allocations: 34.16 MB / 455.3 MB, free: 6.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007588/0.3873, allocations: 3.285 MB / 458.6 MB, free: 2.902 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00192/0.3892, allocations: 1.466 MB / 460.1 MB, free: 1.426 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006549/0.3958, allocations: 4.448 MB / 464.5 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/0.3959, allocations: 43.12 kB / 464.6 MB, free: 12.72 MB / 382.1 MB Notification: Performance of pre-optimization done (n=121): time 4.478e-06/0.3959, allocations: 0 / 464.6 MB, free: 12.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=129): time 0.02797/0.4238, allocations: 11.56 MB / 476.1 MB, free: 1.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.488e-05/0.424, allocations: 145.1 kB / 476.3 MB, free: 0.8477 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005039/0.429, allocations: 3.709 MB / 480 MB, free: 13.14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002007/0.4292, allocations: 44.52 kB / 480 MB, free: 13.1 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001998/0.4312, allocations: 2.751 MB / 482.8 MB, free: 10.35 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005365/0.4318, allocations: 0.5151 MB / 483.3 MB, free: 9.836 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001327/0.4331, allocations: 1.078 MB / 484.4 MB, free: 8.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.4332, allocations: 305.1 kB / 484.7 MB, free: 8.449 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002479/0.4357, allocations: 1.713 MB / 486.4 MB, free: 6.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005092/0.4408, allocations: 5.135 MB / 491.5 MB, free: 15.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008612/0.4494, allocations: 7.425 MB / 498.9 MB, free: 6.734 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.59e-05/0.4496, allocations: 36 kB / 499 MB, free: 6.699 MB / 414.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01182/0.4614, allocations: 6.723 MB / 0.4938 GB, free: 15.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.181e-05/0.4615, allocations: 66.28 kB / 0.4939 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000129/0.4616, allocations: 120 kB / 0.494 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006161/0.4623, allocations: 321.2 kB / 0.4943 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003685/0.466, allocations: 1.244 MB / 0.4955 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002747/0.4687, allocations: 2.508 MB / 0.498 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003513/0.4723, allocations: 286 kB / 0.4983 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006355/0.4729, allocations: 336 kB / 0.4986 GB, free: 10.96 MB / 430.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 (668): * Single equations (assignments): 664 * 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.002766/0.4757, allocations: 1.783 MB / 0.5003 GB, free: 9.164 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005219/0.4762, allocations: 304.1 kB / 0.5006 GB, free: 8.863 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004659/0.4809, allocations: 2.367 MB / 0.5029 GB, free: 6.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.551e-05/0.4809, allocations: 16 kB / 0.5029 GB, free: 6.465 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.4809, allocations: 11.94 kB / 0.503 GB, free: 6.453 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.4809, allocations: 3.984 kB / 0.503 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01093/0.4919, allocations: 5.933 MB / 0.5088 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/0.4919, allocations: 8 kB / 0.5088 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008282/0.4928, allocations: 179.7 kB / 0.5089 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002177/0.495, allocations: 0.7108 MB / 0.5096 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001286/0.4951, allocations: 27.03 kB / 0.5097 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006243/0.5014, allocations: 4.828 MB / 0.5144 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5014, allocations: 0 / 0.5144 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007059/0.5084, allocations: 4.328 MB / 0.5186 GB, free: 6.227 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008729/0.5093, allocations: 361 kB / 0.5189 GB, free: 5.852 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003399/0.5097, allocations: 16 kB / 0.519 GB, free: 5.836 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.5107, allocations: 75.84 kB / 0.519 GB, free: 5.762 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002012/0.5109, allocations: 68.62 kB / 0.5191 GB, free: 5.695 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-05/0.511, allocations: 38.95 kB / 0.5191 GB, free: 5.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003771/0.5148, allocations: 2.315 MB / 0.5214 GB, free: 3.359 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5148, allocations: 0 / 0.5214 GB, free: 3.359 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004211/0.5191, allocations: 0.7969 MB / 0.5222 GB, free: 2.562 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.0003796/0.5195, allocations: 162.3 kB / 0.5223 GB, free: 2.398 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.1466/0.6661, allocations: 4.423 MB / 0.5266 GB, free: 145.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.6661, allocations: 0.625 kB / 0.5266 GB, free: 145.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001724/0.6678, allocations: 1.116 MB / 0.5277 GB, free: 145.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/0.6704, allocations: 384.7 kB / 0.5281 GB, free: 145.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01332/0.6838, allocations: 7.733 MB / 0.5357 GB, free: 141.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003701/0.6875, allocations: 2.777 MB / 0.5384 GB, free: 140.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009074/0.6884, allocations: 251.3 kB / 0.5386 GB, free: 140.8 MB / 446.1 MB Notification: Performance of SimCode: time 9.01e-07/0.6884, allocations: 0 / 0.5386 GB, free: 140.8 MB / 446.1 MB Notification: Performance of Templates: time 0.157/0.8455, allocations: 63.71 MB / 0.6008 GB, free: 87.08 MB / 446.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches