Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.0009726/0.0009726, allocations: 91.67 kB / 21.19 MB, free: 3.367 MB / 18.57 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.0009526/0.0009526, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 18.57 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.9589/0.9589, allocations: 177 MB / 204.8 MB, free: 5.188 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3023/0.3023, allocations: 34.86 MB / 296.3 MB, free: 0.4961 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.623e-05/1.74e-05, allocations: 2.312 kB / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.007723/0.00774, allocations: 9.953 MB / 388.7 MB, free: 8.066 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006049/0.01379, allocations: 3.728 MB / 392.5 MB, free: 4.328 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007801/0.01457, allocations: 67.69 kB / 392.5 MB, free: 4.262 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002326/0.0169, allocations: 2.09 MB / 394.6 MB, free: 2.164 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002556/0.01945, allocations: 1.734 MB / 396.3 MB, free: 432 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009587/0.02041, allocations: 0.6625 MB / 397 MB, free: 15.76 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002885/0.0233, allocations: 3.753 MB / 400.8 MB, free: 12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002065/0.02536, allocations: 2.466 MB / 403.2 MB, free: 9.477 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001672/0.02703, allocations: 1.902 MB / 405.1 MB, free: 7.57 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001734/0.02877, allocations: 1.863 MB / 407 MB, free: 5.703 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002567/0.02902, allocations: 256 kB / 407.2 MB, free: 5.453 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001231/0.03026, allocations: 0.9673 MB / 408.2 MB, free: 4.484 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009629/0.03122, allocations: 1.683 MB / 409.9 MB, free: 2.797 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007929/0.03201, allocations: 1.036 MB / 410.9 MB, free: 1.758 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003111/0.03512, allocations: 3.81 MB / 414.7 MB, free: 13.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.03513, allocations: 0 / 414.7 MB, free: 13.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.03513, allocations: 4 kB / 414.7 MB, free: 13.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.714e-05/0.03516, allocations: 0 / 414.7 MB, free: 13.93 MB / 394.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.004147/0.0393, allocations: 4.379 MB / 419.1 MB, free: 9.484 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.03934, allocations: 12.03 kB / 419.1 MB, free: 9.473 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003802/0.04314, allocations: 2.191 MB / 421.3 MB, free: 7.277 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/0.04494, allocations: 1.718 MB / 423 MB, free: 5.512 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.04504, allocations: 193.2 kB / 423.2 MB, free: 5.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002885/0.04533, allocations: 252.2 kB / 423.5 MB, free: 5.074 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005711/0.05104, allocations: 5.314 MB / 428.8 MB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.878e-05/0.0511, allocations: 39.69 kB / 428.8 MB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002095/0.05131, allocations: 123.9 kB / 428.9 MB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001529/0.05283, allocations: 1.695 MB / 430.6 MB, free: 12.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005051/0.05789, allocations: 2.768 MB / 433.4 MB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1943/0.2522, allocations: 38.61 MB / 472 MB, free: 59.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003228/0.2554, allocations: 1.615 MB / 473.6 MB, free: 59.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005624/0.256, allocations: 499.5 kB / 474.1 MB, free: 59.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003044/0.259, allocations: 3.142 MB / 477.3 MB, free: 57.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.2591, allocations: 55.77 kB / 477.3 MB, free: 57.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=121): time 2.855e-06/0.2591, allocations: 0 / 477.3 MB, free: 57.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.0131/0.2722, allocations: 8.496 MB / 485.8 MB, free: 55.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.2722, allocations: 167.3 kB / 486 MB, free: 55.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002479/0.2747, allocations: 3.178 MB / 489.2 MB, free: 53.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.816e-05/0.2747, allocations: 44.42 kB / 489.2 MB, free: 53.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009697/0.2757, allocations: 3.012 MB / 492.2 MB, free: 51.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002763/0.276, allocations: 0.557 MB / 492.8 MB, free: 51.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007818/0.2768, allocations: 1.163 MB / 493.9 MB, free: 50.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.003e-05/0.2768, allocations: 479.6 kB / 494.4 MB, free: 49.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007965/0.2776, allocations: 0.5509 MB / 494.9 MB, free: 49.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002165/0.2798, allocations: 5.651 MB / 0.4889 GB, free: 42.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004094/0.2839, allocations: 6.829 MB / 0.4955 GB, free: 35.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.443e-05/0.2839, allocations: 34.88 kB / 0.4956 GB, free: 35.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.005954/0.2899, allocations: 4.667 MB / 0.5001 GB, free: 33.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.146e-05/0.29, allocations: 58.12 kB / 0.5002 GB, free: 33.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001374/0.2901, allocations: 122.1 kB / 0.5003 GB, free: 33.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000602/0.2907, allocations: 337.5 kB / 0.5006 GB, free: 33.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002274/0.293, allocations: 1.242 MB / 0.5018 GB, free: 33.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/0.2946, allocations: 2.435 MB / 0.5042 GB, free: 31.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002064/0.2966, allocations: 321.2 kB / 0.5045 GB, free: 31.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003104/0.2969, allocations: 336.6 kB / 0.5048 GB, free: 31.26 MB / 410.7 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.0009557/0.2979, allocations: 0.6098 MB / 0.5054 GB, free: 30.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003253/0.2982, allocations: 319.9 kB / 0.5057 GB, free: 30.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001795/0.3, allocations: 1.319 MB / 0.507 GB, free: 30.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.3, allocations: 12.22 kB / 0.507 GB, free: 30.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.3, allocations: 5.75 kB / 0.507 GB, free: 30.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/0.3, allocations: 6.469 kB / 0.5071 GB, free: 30.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005308/0.3054, allocations: 4.205 MB / 0.5112 GB, free: 28.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.3054, allocations: 0 / 0.5112 GB, free: 28.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004339/0.3058, allocations: 182.5 kB / 0.5113 GB, free: 28.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001049/0.3068, allocations: 437.1 kB / 0.5117 GB, free: 28.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.199e-05/0.3069, allocations: 20.59 kB / 0.5118 GB, free: 28.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002238/0.3091, allocations: 2.919 MB / 0.5146 GB, free: 26.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3091, allocations: 0 / 0.5146 GB, free: 26.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002667/0.3118, allocations: 2.281 MB / 0.5168 GB, free: 25.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002881/0.3121, allocations: 275.1 kB / 0.5171 GB, free: 24.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/0.3123, allocations: 23.77 kB / 0.5171 GB, free: 24.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005735/0.3128, allocations: 98.72 kB / 0.5172 GB, free: 24.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.313, allocations: 76.62 kB / 0.5173 GB, free: 24.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.351e-05/0.313, allocations: 36.95 kB / 0.5173 GB, free: 24.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001385/0.3144, allocations: 1.349 MB / 0.5187 GB, free: 24.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3144, allocations: 0 / 0.5187 GB, free: 24.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002571/0.317, allocations: 0.8742 MB / 0.5195 GB, free: 24.07 MB / 410.7 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.0003011/0.3173, allocations: 163.2 kB / 0.5197 GB, free: 23.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003018/0.3203, allocations: 2.565 MB / 0.5222 GB, free: 21.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3203, allocations: 0 / 0.5222 GB, free: 21.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005943/0.3209, allocations: 0.6189 MB / 0.5228 GB, free: 21.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.322, allocations: 353.2 kB / 0.5231 GB, free: 20.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006256/0.3282, allocations: 5.946 MB / 0.5289 GB, free: 15.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000679/0.3289, allocations: 1.01 MB / 0.5299 GB, free: 14.51 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001692/0.3306, allocations: 1.399 MB / 0.5313 GB, free: 13.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003318/0.3309, allocations: 191.9 kB / 0.5314 GB, free: 13.53 MB / 410.7 MB Notification: Performance of SimCode: time 1.563e-06/0.3309, allocations: 0 / 0.5314 GB, free: 13.53 MB / 410.7 MB Notification: Performance of Templates: time 0.03453/0.3655, allocations: 25.82 MB / 0.5567 GB, free: 5.84 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.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: 4.282628721091896]