Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001683/0.001683, allocations: 186 kB / 8.151 MB, free: 0.8633 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.731/1.731, allocations: 205.2 MB / 213.7 MB, free: 8.57 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001346/0.001346, allocations: 91.05 kB / 261.8 MB, free: 5.156 MB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 1.195e-05/1.21e-05, allocations: 3.938 kB / 314.3 MB, free: 2.418 MB / 258.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.11, allocations: 47.57 MB / 361.9 MB, free: 2.734 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3289/0.439, allocations: 96.92 MB / 458.8 MB, free: 7.164 MB / 338.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003267/0.4394, allocations: 85.5 kB / 458.9 MB, free: 7.125 MB / 338.8 MB Notification: Performance of FrontEnd: time 0.3315/0.7709, allocations: 70.78 MB / 0.5172 GB, free: 3.195 MB / 402.8 MB Notification: Performance of Transformations before backend: time 0.0002559/0.7712, allocations: 75.92 kB / 0.5173 GB, free: 3.121 MB / 402.8 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.2005/0.9717, allocations: 3.357 MB / 0.5206 GB, free: 53.29 MB / 402.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.9717, allocations: 10.78 kB / 0.5206 GB, free: 53.29 MB / 402.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01473/0.9865, allocations: 1.694 MB / 0.5222 GB, free: 53.05 MB / 402.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01542/1.002, allocations: 4.106 MB / 0.5262 GB, free: 52.75 MB / 402.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000189/1.002, allocations: 115 kB / 0.5264 GB, free: 52.75 MB / 402.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001705/1.004, allocations: 205.6 kB / 0.5265 GB, free: 52.75 MB / 402.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01323/1.017, allocations: 5.269 MB / 0.5317 GB, free: 52.73 MB / 402.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01942/1.037, allocations: 8.189 MB / 0.5397 GB, free: 50.15 MB / 402.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002156/1.037, allocations: 58.09 kB / 0.5397 GB, free: 50.14 MB / 402.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001249/1.038, allocations: 29.5 kB / 0.5398 GB, free: 50.14 MB / 402.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001768/1.04, allocations: 0.9434 MB / 0.5407 GB, free: 50.14 MB / 402.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05762/1.098, allocations: 41.93 MB / 0.5816 GB, free: 23.26 MB / 402.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00471/1.102, allocations: 2.579 MB / 0.5842 GB, free: 22.56 MB / 402.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003119/1.106, allocations: 1.553 MB / 0.5857 GB, free: 22.52 MB / 402.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01321/1.119, allocations: 5.512 MB / 0.5911 GB, free: 20.09 MB / 402.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/1.119, allocations: 47.84 kB / 0.5911 GB, free: 20.04 MB / 402.8 MB Notification: Performance of pre-optimization done (n=121): time 6.272e-06/1.119, allocations: 2.938 kB / 0.5911 GB, free: 20.04 MB / 402.8 MB Notification: Performance of matching and sorting (n=130): time 0.03864/1.158, allocations: 10.85 MB / 0.6017 GB, free: 15.24 MB / 402.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/1.158, allocations: 140.1 kB / 0.6018 GB, free: 15.09 MB / 402.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007354/1.165, allocations: 2.861 MB / 0.6046 GB, free: 13.96 MB / 402.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00033/1.165, allocations: 25.7 kB / 0.6047 GB, free: 13.93 MB / 402.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002174/1.168, allocations: 2.609 MB / 0.6072 GB, free: 11.86 MB / 402.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009103/1.169, allocations: 0.5193 MB / 0.6077 GB, free: 11.49 MB / 402.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005547/1.169, allocations: 4 kB / 0.6077 GB, free: 11.48 MB / 402.8 MB Notification: Performance of setup shared object (initialization): time 0.0003467/1.169, allocations: 0.5404 MB / 0.6082 GB, free: 11.07 MB / 402.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003962/1.173, allocations: 1.64 MB / 0.6098 GB, free: 10.52 MB / 402.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00685/1.18, allocations: 5.165 MB / 0.6149 GB, free: 5.008 MB / 402.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007356/1.188, allocations: 2.924 MB / 0.6177 GB, free: 3.934 MB / 402.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002253/1.188, allocations: 36.75 kB / 0.6178 GB, free: 3.934 MB / 402.8 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.01775/1.206, allocations: 5.986 MB / 0.6236 GB, free: 1.91 MB / 402.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/1.206, allocations: 3.781 kB / 0.6236 GB, free: 1.91 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001885/1.206, allocations: 128.2 kB / 0.6237 GB, free: 1.91 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009602/1.207, allocations: 345.4 kB / 0.6241 GB, free: 1.871 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008584/1.216, allocations: 1.304 MB / 0.6254 GB, free: 1.707 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003232/1.219, allocations: 2.191 MB / 0.6275 GB, free: 124 kB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005099/1.224, allocations: 167.6 kB / 0.6277 GB, free: 104 kB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001425/1.226, allocations: 346.6 kB / 0.628 GB, free: 60 kB / 402.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 581 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (691): * Single equations (assignments): 687 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001801/1.227, allocations: 344.4 kB / 0.6283 GB, free: 15.77 MB / 418.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008948/1.228, allocations: 287.8 kB / 0.6286 GB, free: 15.62 MB / 418.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008657/1.237, allocations: 2.233 MB / 0.6308 GB, free: 14.9 MB / 418.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.174e-05/1.237, allocations: 9.781 kB / 0.6308 GB, free: 14.9 MB / 418.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.735e-05/1.237, allocations: 3.906 kB / 0.6308 GB, free: 14.9 MB / 418.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.151e-05/1.237, allocations: 6.766 kB / 0.6308 GB, free: 14.9 MB / 418.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01917/1.256, allocations: 5.276 MB / 0.6359 GB, free: 13.06 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-05/1.256, allocations: 4.062 kB / 0.6359 GB, free: 13.05 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001855/1.258, allocations: 176.7 kB / 0.6361 GB, free: 13.04 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004166/1.262, allocations: 0.647 MB / 0.6367 GB, free: 12.91 MB / 418.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002961/1.263, allocations: 15.05 kB / 0.6368 GB, free: 12.9 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009459/1.272, allocations: 4.2 MB / 0.6409 GB, free: 10.54 MB / 418.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.272, allocations: 0 / 0.6409 GB, free: 10.54 MB / 418.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01211/1.284, allocations: 4.378 MB / 0.6451 GB, free: 8.695 MB / 418.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002071/1.287, allocations: 0.4967 MB / 0.6456 GB, free: 8.371 MB / 418.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001057/1.288, allocations: 9.328 kB / 0.6456 GB, free: 8.367 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002604/1.29, allocations: 33.45 kB / 0.6457 GB, free: 8.363 MB / 418.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004401/1.291, allocations: 54.94 kB / 0.6457 GB, free: 8.352 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001556/1.291, allocations: 35.2 kB / 0.6457 GB, free: 8.344 MB / 418.8 MB Notification: Performance of sort global known variables: time 0.005675/1.297, allocations: 1.904 MB / 0.6476 GB, free: 7.648 MB / 418.8 MB Notification: Performance of remove unused functions: time 0.007164/1.304, allocations: 0.7076 MB / 0.6483 GB, free: 7.574 MB / 418.8 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 93 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000751/1.305, allocations: 148.7 kB / 0.6484 GB, free: 7.426 MB / 418.8 MB Notification: Performance of simCode: created initialization part: time 0.01086/1.316, allocations: 3.872 MB / 0.6522 GB, free: 3.91 MB / 418.8 MB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.316, allocations: 3.938 kB / 0.6522 GB, free: 3.906 MB / 418.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003031/1.319, allocations: 1.082 MB / 0.6533 GB, free: 2.914 MB / 418.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003256/1.322, allocations: 292.7 kB / 0.6536 GB, free: 2.664 MB / 418.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03153/1.354, allocations: 6.848 MB / 0.6602 GB, free: 13.95 MB / 434.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008671/1.362, allocations: 3.108 MB / 0.6633 GB, free: 11.52 MB / 434.8 MB Notification: Performance of SimCode: time 1.223e-06/1.362, allocations: 3.938 kB / 0.6633 GB, free: 11.52 MB / 434.8 MB Notification: Performance of Templates: time 0.2734/1.636, allocations: 60.42 MB / 0.7223 GB, free: 155.7 MB / 450.8 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/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","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches