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.001779/0.001779, allocations: 118 kB / 18.46 MB, free: 4.613 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.002347/0.002347, allocations: 207.4 kB / 21.4 MB, free: 1.668 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.437/1.437, allocations: 227.4 MB / 251.7 MB, free: 268 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.2683/0.2683, allocations: 46.17 MB / 351.1 MB, free: 14.32 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.002199/0.002199, allocations: 85.47 kB / 490.2 MB, free: 28.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1271, allocations: 62.45 MB / 0.5397 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.0126/0.1397, allocations: 10.23 MB / 0.5497 GB, free: 9.961 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008606/0.1484, allocations: 3.802 MB / 0.5534 GB, free: 6.141 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001671/0.1501, allocations: 59.81 kB / 0.5535 GB, free: 6.082 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004112/0.1542, allocations: 1.939 MB / 0.5554 GB, free: 4.137 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004371/0.1587, allocations: 1.626 MB / 0.5569 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.1603, allocations: 0.616 MB / 0.5575 GB, free: 1.887 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005764/0.1661, allocations: 3.372 MB / 0.5608 GB, free: 14.51 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004008/0.1701, allocations: 2.572 MB / 0.5633 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002489/0.1726, allocations: 1.242 MB / 0.5646 GB, free: 10.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002584/0.1753, allocations: 1.662 MB / 0.5662 GB, free: 8.969 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006031/0.1759, allocations: 256 kB / 0.5664 GB, free: 8.719 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002017/0.1779, allocations: 1.01 MB / 0.5674 GB, free: 7.707 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001586/0.1795, allocations: 1.539 MB / 0.5689 GB, free: 6.164 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002055/0.1816, allocations: 1.817 MB / 0.5707 GB, free: 4.336 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007067/0.1886, allocations: 5.805 MB / 0.5764 GB, free: 14.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.1887, allocations: 4 kB / 0.5764 GB, free: 14.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1887, allocations: 0 / 0.5764 GB, free: 14.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001172/0.1888, allocations: 0 / 0.5764 GB, free: 14.5 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.007346/0.1962, allocations: 4.102 MB / 0.5804 GB, free: 10.33 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.1962, allocations: 8.031 kB / 0.5804 GB, free: 10.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006377/0.2026, allocations: 1.796 MB / 0.5821 GB, free: 8.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003847/0.2065, allocations: 1.933 MB / 0.584 GB, free: 6.527 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/0.2066, allocations: 189.2 kB / 0.5842 GB, free: 6.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000484/0.2071, allocations: 259.8 kB / 0.5844 GB, free: 6.086 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01559/0.2227, allocations: 8.451 MB / 0.5927 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000126/0.2229, allocations: 39.64 kB / 0.5927 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003625/0.2233, allocations: 131.9 kB / 0.5929 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002969/0.2263, allocations: 1.695 MB / 0.5945 GB, free: 11.1 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01431/0.2406, allocations: 7.118 MB / 0.6015 GB, free: 3.973 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3466/0.5873, allocations: 34.07 MB / 0.6347 GB, free: 31.29 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007546/0.5948, allocations: 3.295 MB / 0.638 GB, free: 29.87 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001841/0.5967, allocations: 1.456 MB / 0.6394 GB, free: 29.25 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00589/0.6026, allocations: 4.463 MB / 0.6437 GB, free: 26.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.6027, allocations: 52.8 kB / 0.6438 GB, free: 26.45 MB / 462.1 MB Notification: Performance of pre-optimization done (n=121): time 2.906e-06/0.6027, allocations: 0 / 0.6438 GB, free: 26.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=129): time 0.0252/0.6279, allocations: 11.74 MB / 0.6552 GB, free: 20.24 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/0.628, allocations: 177.9 kB / 0.6554 GB, free: 20.04 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004192/0.6322, allocations: 3.722 MB / 0.6591 GB, free: 18.18 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002069/0.6324, allocations: 45.14 kB / 0.6591 GB, free: 18.14 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001351/0.6338, allocations: 2.854 MB / 0.6619 GB, free: 15.62 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004165/0.6342, allocations: 0.5385 MB / 0.6624 GB, free: 15.09 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009971/0.6352, allocations: 1.092 MB / 0.6635 GB, free: 13.99 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.741e-05/0.6353, allocations: 309.1 kB / 0.6638 GB, free: 13.69 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001851/0.6371, allocations: 1.713 MB / 0.6654 GB, free: 11.97 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002879/0.64, allocations: 5.131 MB / 0.6705 GB, free: 5.105 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007531/0.6476, allocations: 7.415 MB / 0.6777 GB, free: 11.98 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001023/0.6477, allocations: 36 kB / 0.6777 GB, free: 11.95 MB / 478.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01302/0.6607, allocations: 6.757 MB / 0.6843 GB, free: 5.184 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.765e-05/0.6608, allocations: 56 kB / 0.6844 GB, free: 5.129 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001666/0.661, allocations: 127.9 kB / 0.6845 GB, free: 5.004 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006864/0.6617, allocations: 321.4 kB / 0.6848 GB, free: 4.688 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004156/0.6659, allocations: 1.248 MB / 0.686 GB, free: 3.438 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003084/0.669, allocations: 2.498 MB / 0.6885 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004262/0.6733, allocations: 293.8 kB / 0.6887 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007825/0.6741, allocations: 336 kB / 0.6891 GB, free: 196 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.003046/0.6771, allocations: 1.783 MB / 0.6908 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009551/0.6781, allocations: 329.9 kB / 0.6911 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005274/0.6834, allocations: 2.374 MB / 0.6934 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.172e-05/0.6834, allocations: 13.69 kB / 0.6935 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/0.6834, allocations: 4 kB / 0.6935 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/0.6835, allocations: 7.984 kB / 0.6935 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01366/0.6971, allocations: 5.92 MB / 0.6992 GB, free: 5.695 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.066e-05/0.6972, allocations: 4 kB / 0.6993 GB, free: 5.691 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008864/0.6981, allocations: 179.6 kB / 0.6994 GB, free: 5.516 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002293/0.7004, allocations: 0.7147 MB / 0.7001 GB, free: 4.797 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001454/0.7006, allocations: 20 kB / 0.7001 GB, free: 4.777 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006878/0.7075, allocations: 4.819 MB / 0.7048 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.7075, allocations: 0 / 0.7048 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007981/0.7155, allocations: 4.354 MB / 0.7091 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001339/0.7168, allocations: 378.9 kB / 0.7095 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008532/0.7177, allocations: 27.83 kB / 0.7095 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001598/0.7193, allocations: 71.91 kB / 0.7096 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002534/0.7196, allocations: 72.44 kB / 0.7096 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/0.7197, allocations: 35.98 kB / 0.7097 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005256/0.725, allocations: 2.319 MB / 0.7119 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.725, allocations: 0 / 0.7119 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005482/0.7305, allocations: 0.8051 MB / 0.7127 GB, free: 7.746 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.0004998/0.731, allocations: 149.5 kB / 0.7129 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007722/0.7387, allocations: 4.056 MB / 0.7168 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.7388, allocations: 1.312 kB / 0.7168 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001913/0.7407, allocations: 1.123 MB / 0.7179 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003252/0.744, allocations: 383 kB / 0.7183 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01531/0.7593, allocations: 7.382 MB / 0.7255 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004772/0.7641, allocations: 2.781 MB / 0.7282 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004629/0.7688, allocations: 1.66 MB / 0.7298 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009829/0.7698, allocations: 215.4 kB / 0.73 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of SimCode: time 1.724e-06/0.7698, allocations: 0 / 0.73 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of Templates: time 0.06816/0.8379, allocations: 27.82 MB / 0.7572 GB, free: 10.32 MB / 0.545 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 6.692143185064197]