Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007879/0.0007879, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001008/0.001796, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007178/0.0007178, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009195/0.001637, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9861/0.9861, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08002/1.066, allocations: 53.86 MB / 243.8 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.204e-05/2.348e-05, allocations: 6.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01172/0.01174, allocations: 9.798 MB / 254.8 MB, free: 3.801 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008974/0.02072, allocations: 3.863 MB / 258.7 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.0219, allocations: 71.62 kB / 258.8 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002143/0.02405, allocations: 1.985 MB / 260.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00291/0.02696, allocations: 1.707 MB / 262.4 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00098/0.02794, allocations: 0.608 MB / 263.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00339/0.03133, allocations: 3.677 MB / 266.7 MB, free: 7.855 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00222/0.03355, allocations: 2.244 MB / 269 MB, free: 5.547 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002338/0.03589, allocations: 2.03 MB / 271 MB, free: 3.504 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001842/0.03773, allocations: 1.734 MB / 272.7 MB, free: 1.766 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004262/0.03815, allocations: 260 kB / 273 MB, free: 1.512 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.03939, allocations: 0.9907 MB / 274 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1056/0.145, allocations: 1.501 MB / 275.5 MB, free: 6.688 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001767/0.1468, allocations: 0.8466 MB / 276.3 MB, free: 6.688 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003722/0.1505, allocations: 3.542 MB / 279.9 MB, free: 6.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.157e-05/0.1505, allocations: 1.219 kB / 279.9 MB, free: 6.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.1505, allocations: 0 / 279.9 MB, free: 6.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000101/0.1506, allocations: 0 / 279.9 MB, free: 6.43 MB / 266.7 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.005855/0.1565, allocations: 4.539 MB / 284.4 MB, free: 4.695 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1565, allocations: 9.625 kB / 284.4 MB, free: 4.695 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00254/0.159, allocations: 0.9422 MB / 285.4 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001898/0.1609, allocations: 1.47 MB / 286.8 MB, free: 4.234 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.138e-05/0.161, allocations: 192.9 kB / 287 MB, free: 4.227 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002955/0.1613, allocations: 251.8 kB / 287.3 MB, free: 4.223 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004737/0.1661, allocations: 4.233 MB / 291.5 MB, free: 2.398 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.664e-05/0.1661, allocations: 39.36 kB / 291.5 MB, free: 2.395 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002178/0.1663, allocations: 130.7 kB / 291.7 MB, free: 2.395 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001212/0.1675, allocations: 1.473 MB / 293.1 MB, free: 2.391 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003485/0.171, allocations: 2.098 MB / 295.2 MB, free: 2.273 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02221/0.1932, allocations: 27.46 MB / 322.7 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002773/0.196, allocations: 1.263 MB / 324 MB, free: 8.945 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004/0.1964, allocations: 267.6 kB / 324.2 MB, free: 8.676 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005068/0.2015, allocations: 2.983 MB / 327.2 MB, free: 5.719 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.2015, allocations: 50.44 kB / 327.3 MB, free: 5.664 MB / 298.7 MB Notification: Performance of pre-optimization done (n=103): time 4.639e-06/0.2015, allocations: 0 / 327.3 MB, free: 5.664 MB / 298.7 MB Notification: Performance of matching and sorting (n=104): time 0.006683/0.2082, allocations: 2.62 MB / 329.9 MB, free: 3.051 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/0.2083, allocations: 144.2 kB / 330 MB, free: 2.883 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003329/0.2116, allocations: 2.893 MB / 332.9 MB, free: 0.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.2117, allocations: 41.69 kB / 333 MB, free: 464 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001281/0.213, allocations: 2.761 MB / 335.7 MB, free: 13.84 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004147/0.2134, allocations: 466.2 kB / 336.2 MB, free: 13.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008371/0.2142, allocations: 1.013 MB / 337.2 MB, free: 12.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.094e-05/0.2143, allocations: 305.1 kB / 337.5 MB, free: 12.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/0.2154, allocations: 0.6113 MB / 338.1 MB, free: 11.58 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002582/0.218, allocations: 4.012 MB / 342.1 MB, free: 5.988 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004698/0.2226, allocations: 5.111 MB / 347.2 MB, free: 15.51 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.182e-05/0.2227, allocations: 36 kB / 347.3 MB, free: 15.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.005032/0.2278, allocations: 3.591 MB / 350.8 MB, free: 11.88 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.857e-05/0.2278, allocations: 60 kB / 350.9 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001118/0.2279, allocations: 127.9 kB / 351 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001079/0.2281, allocations: 168 kB / 351.2 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002384/0.2304, allocations: 1.362 MB / 352.6 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001171/0.2306, allocations: 243.9 kB / 352.8 MB, free: 9.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00225/0.2328, allocations: 235.7 kB / 353 MB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002733/0.2331, allocations: 301.2 kB / 353.3 MB, free: 9.406 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 575 * 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 (667): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001376/0.2345, allocations: 0.5675 MB / 353.9 MB, free: 8.828 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003029/0.2348, allocations: 167.8 kB / 354 MB, free: 8.664 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006655/0.2354, allocations: 0.4971 MB / 354.5 MB, free: 8.152 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.2354, allocations: 12 kB / 354.6 MB, free: 8.141 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.2354, allocations: 4 kB / 354.6 MB, free: 8.137 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.2355, allocations: 3.984 kB / 354.6 MB, free: 8.133 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003282/0.2387, allocations: 2.184 MB / 356.7 MB, free: 6.145 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.2387, allocations: 4 kB / 356.8 MB, free: 6.141 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003735/0.2391, allocations: 148 kB / 356.9 MB, free: 5.996 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000333/0.2394, allocations: 257.9 kB / 357.1 MB, free: 5.742 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001804/0.2396, allocations: 43.64 kB / 357.2 MB, free: 5.695 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/0.2397, allocations: 16 kB / 357.2 MB, free: 5.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/0.241, allocations: 1.43 MB / 358.6 MB, free: 4.156 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.241, allocations: 0 / 358.6 MB, free: 4.156 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.242, allocations: 1.227 MB / 359.9 MB, free: 2.902 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/0.2422, allocations: 16 kB / 359.9 MB, free: 2.887 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00043/0.2426, allocations: 18.66 kB / 359.9 MB, free: 2.871 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.37e-05/0.2427, allocations: 47.91 kB / 359.9 MB, free: 2.824 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.124e-05/0.2427, allocations: 35.98 kB / 360 MB, free: 2.789 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009613/0.2437, allocations: 1.03 MB / 361 MB, free: 1.887 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2437, allocations: 0 / 361 MB, free: 1.887 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002753/0.2464, allocations: 0.785 MB / 361.8 MB, free: 1.102 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (rev.w,damper.phi_rel) * 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 (78): * Single equations (assignments): 74 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002908/0.2467, allocations: 148.1 kB / 361.9 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002098/0.2488, allocations: 1.94 MB / 363.9 MB, free: 15.08 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001618/0.249, allocations: 104 kB / 364 MB, free: 14.97 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004079/0.2494, allocations: 342.7 kB / 364.3 MB, free: 14.63 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00167/0.2511, allocations: 0.675 MB / 365 MB, free: 13.97 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00965/0.2607, allocations: 5.866 MB / 370.9 MB, free: 8.047 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009158/0.2616, allocations: 0.9906 MB / 371.8 MB, free: 7.039 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001072/0.2627, allocations: 420.5 kB / 372.3 MB, free: 6.625 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000876/0.2636, allocations: 470.2 kB / 372.7 MB, free: 6.168 MB / 346.7 MB Notification: Performance of SimCode: time 1.784e-06/0.2636, allocations: 0 / 372.7 MB, free: 6.168 MB / 346.7 MB Notification: Performance of Templates: time 0.03636/0.2999, allocations: 22.4 MB / 395.1 MB, free: 144 kB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4888794776052237]