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.001825/0.001825, allocations: 116.9 kB / 19.13 MB, free: 3.906 MB / 14.72 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.002224/0.002223, allocations: 206.6 kB / 22.08 MB, free: 0.957 MB / 14.72 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 1.491/1.491, allocations: 227.4 MB / 252.3 MB, free: 64 kB / 190.1 MB " [Timeout remaining time 178] 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.2302/0.2302, allocations: 46.17 MB / 351.8 MB, free: 14.28 MB / 286.1 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 0.002283/0.002284, allocations: 78.19 kB / 490.9 MB, free: 28.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1281, allocations: 62.45 MB / 0.5403 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01286/0.141, allocations: 10.23 MB / 0.5503 GB, free: 9.941 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008879/0.15, allocations: 3.804 MB / 0.5541 GB, free: 6.121 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002273/0.1523, allocations: 59.81 kB / 0.5541 GB, free: 6.062 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004017/0.1564, allocations: 1.939 MB / 0.556 GB, free: 4.117 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004477/0.1609, allocations: 1.628 MB / 0.5576 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001618/0.1625, allocations: 0.616 MB / 0.5582 GB, free: 1.867 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005503/0.168, allocations: 3.368 MB / 0.5615 GB, free: 14.49 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003741/0.1718, allocations: 2.576 MB / 0.564 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002133/0.174, allocations: 1.234 MB / 0.5652 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002549/0.1765, allocations: 1.666 MB / 0.5668 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006415/0.1772, allocations: 256 kB / 0.5671 GB, free: 8.703 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002175/0.1794, allocations: 1.01 MB / 0.5681 GB, free: 7.691 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001672/0.1811, allocations: 1.543 MB / 0.5696 GB, free: 6.145 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00211/0.1832, allocations: 1.809 MB / 0.5713 GB, free: 4.324 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00779/0.191, allocations: 5.812 MB / 0.577 GB, free: 14.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.191, allocations: 0 / 0.577 GB, free: 14.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1911, allocations: 4 kB / 0.577 GB, free: 14.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001483/0.1912, allocations: 0 / 0.577 GB, free: 14.48 MB / 446.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.009036/0.2003, allocations: 4.105 MB / 0.581 GB, free: 10.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.2003, allocations: 8.031 kB / 0.581 GB, free: 10.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00675/0.2071, allocations: 1.796 MB / 0.5828 GB, free: 8.496 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004346/0.2115, allocations: 1.933 MB / 0.5847 GB, free: 6.504 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000189/0.2117, allocations: 189.2 kB / 0.5849 GB, free: 6.316 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006359/0.2123, allocations: 259.8 kB / 0.5851 GB, free: 6.062 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01648/0.2288, allocations: 8.455 MB / 0.5934 GB, free: 12.94 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001147/0.229, allocations: 39.64 kB / 0.5934 GB, free: 12.9 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004198/0.2294, allocations: 123.9 kB / 0.5935 GB, free: 12.78 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003234/0.2327, allocations: 1.695 MB / 0.5952 GB, free: 11.08 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01475/0.2474, allocations: 7.114 MB / 0.6021 GB, free: 3.961 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3139/0.5614, allocations: 34.07 MB / 0.6354 GB, free: 31.38 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007586/0.569, allocations: 3.289 MB / 0.6386 GB, free: 29.95 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001809/0.5709, allocations: 1.464 MB / 0.64 GB, free: 29.33 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00617/0.5771, allocations: 4.461 MB / 0.6444 GB, free: 26.59 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.5771, allocations: 50.83 kB / 0.6444 GB, free: 26.54 MB / 462.1 MB Notification: Performance of pre-optimization done (n=121): time 3.827e-06/0.5772, allocations: 4 kB / 0.6444 GB, free: 26.53 MB / 462.1 MB Notification: Performance of matching and sorting (n=129): time 0.02652/0.6037, allocations: 11.74 MB / 0.6559 GB, free: 20.29 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.268e-05/0.6038, allocations: 173.3 kB / 0.6561 GB, free: 20.09 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005012/0.6088, allocations: 3.721 MB / 0.6597 GB, free: 18.23 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002789/0.6091, allocations: 45.42 kB / 0.6598 GB, free: 18.19 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001405/0.6106, allocations: 2.857 MB / 0.6625 GB, free: 15.57 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005003/0.6111, allocations: 0.5424 MB / 0.6631 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001087/0.6122, allocations: 1.088 MB / 0.6641 GB, free: 13.94 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.694e-05/0.6122, allocations: 309 kB / 0.6644 GB, free: 13.64 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001905/0.6141, allocations: 1.709 MB / 0.6661 GB, free: 11.92 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003034/0.6172, allocations: 5.131 MB / 0.6711 GB, free: 5.059 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007567/0.6248, allocations: 7.418 MB / 0.6784 GB, free: 11.93 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001021/0.6249, allocations: 36 kB / 0.6784 GB, free: 11.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01259/0.6375, allocations: 6.756 MB / 0.685 GB, free: 5.141 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.361e-05/0.6376, allocations: 56 kB / 0.685 GB, free: 5.086 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001405/0.6378, allocations: 127.9 kB / 0.6852 GB, free: 4.961 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006606/0.6384, allocations: 321.2 kB / 0.6855 GB, free: 4.645 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003768/0.6422, allocations: 1.255 MB / 0.6867 GB, free: 3.387 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002892/0.6451, allocations: 2.496 MB / 0.6891 GB, free: 0.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003696/0.6488, allocations: 289 kB / 0.6894 GB, free: 480 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005951/0.6494, allocations: 337.6 kB / 0.6897 GB, free: 144 kB / 478.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.002898/0.6523, allocations: 1.781 MB / 0.6915 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006436/0.653, allocations: 329.8 kB / 0.6918 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005172/0.6582, allocations: 2.374 MB / 0.6941 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.346e-05/0.6583, allocations: 12.09 kB / 0.6941 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.748e-05/0.6583, allocations: 7.984 kB / 0.6941 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.18e-05/0.6583, allocations: 8.844 kB / 0.6941 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01233/0.6707, allocations: 5.912 MB / 0.6999 GB, free: 5.652 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-05/0.6707, allocations: 4 kB / 0.6999 GB, free: 5.648 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008923/0.6716, allocations: 191.1 kB / 0.7001 GB, free: 5.465 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00227/0.6739, allocations: 0.7173 MB / 0.7008 GB, free: 4.746 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001236/0.674, allocations: 19.83 kB / 0.7008 GB, free: 4.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006528/0.6806, allocations: 4.82 MB / 0.7055 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.6806, allocations: 0 / 0.7055 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007535/0.6881, allocations: 4.356 MB / 0.7098 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/0.6893, allocations: 378.9 kB / 0.7101 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003626/0.6897, allocations: 19.94 kB / 0.7101 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.6908, allocations: 79.95 kB / 0.7102 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/0.691, allocations: 72.44 kB / 0.7103 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.696e-05/0.6911, allocations: 32.12 kB / 0.7103 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003807/0.695, allocations: 2.319 MB / 0.7126 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.695, allocations: 0 / 0.7126 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004609/0.6996, allocations: 0.8118 MB / 0.7134 GB, free: 7.691 MB / 0.4981 GB 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.0004799/0.7001, allocations: 147 kB / 0.7135 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007047/0.7071, allocations: 4.053 MB / 0.7175 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.7072, allocations: 0 / 0.7175 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001741/0.7089, allocations: 1.123 MB / 0.7186 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0025/0.7114, allocations: 383.2 kB / 0.7189 GB, free: 2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01363/0.7251, allocations: 7.765 MB / 0.7265 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003174/0.7283, allocations: 2.785 MB / 0.7292 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/0.7293, allocations: 243.4 kB / 0.7295 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of SimCode: time 1.163e-06/0.7294, allocations: 0 / 0.7295 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of Templates: time 0.09685/0.8262, allocations: 64.31 MB / 0.7923 GB, free: 6.871 MB / 0.5762 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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: 13.03968608204741]