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.001522/0.001522, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001664/0.001664, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.418/1.418, allocations: 230.3 MB / 257.9 MB, free: 8.25 MB / 206.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.2465/0.2465, allocations: 46.89 MB / 361.3 MB, free: 4.461 MB / 286.1 MB " [Timeout remaining time 179] 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.002225/0.002225, allocations: 80.16 kB / 0.4971 GB, free: 7.605 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3311, allocations: 66.03 MB / 0.5615 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01275/0.3438, allocations: 10.33 MB / 0.5716 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008711/0.3525, allocations: 3.832 MB / 0.5754 GB, free: 6.562 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001431/0.354, allocations: 67.69 kB / 0.5754 GB, free: 6.496 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003824/0.3578, allocations: 1.978 MB / 0.5774 GB, free: 4.512 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004153/0.3619, allocations: 1.677 MB / 0.579 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.3633, allocations: 0.6082 MB / 0.5796 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004629/0.368, allocations: 3.372 MB / 0.5829 GB, free: 14.84 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002737/0.3707, allocations: 1.92 MB / 0.5848 GB, free: 12.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001943/0.3726, allocations: 1.257 MB / 0.586 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002566/0.3752, allocations: 1.818 MB / 0.5878 GB, free: 9.777 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005849/0.3758, allocations: 252 kB / 0.588 GB, free: 9.531 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002189/0.378, allocations: 1.057 MB / 0.589 GB, free: 8.473 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001766/0.3798, allocations: 1.593 MB / 0.5906 GB, free: 6.875 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002262/0.382, allocations: 1.817 MB / 0.5924 GB, free: 5.047 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00764/0.3897, allocations: 5.801 MB / 0.598 GB, free: 15.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.3897, allocations: 0 / 0.598 GB, free: 15.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3897, allocations: 4 kB / 0.598 GB, free: 15.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001732/0.3898, allocations: 0 / 0.598 GB, free: 15.22 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.007973/0.3978, allocations: 4.038 MB / 0.602 GB, free: 11.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.3979, allocations: 8.031 kB / 0.602 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006294/0.4042, allocations: 1.796 MB / 0.6037 GB, free: 9.316 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004384/0.4085, allocations: 1.857 MB / 0.6056 GB, free: 7.414 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001746/0.4087, allocations: 189.2 kB / 0.6057 GB, free: 7.227 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006354/0.4093, allocations: 259.7 kB / 0.606 GB, free: 6.973 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01425/0.4236, allocations: 8.451 MB / 0.6142 GB, free: 13.85 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.714e-05/0.4237, allocations: 47.62 kB / 0.6143 GB, free: 13.8 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003534/0.424, allocations: 127.9 kB / 0.6144 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002977/0.427, allocations: 1.699 MB / 0.6161 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01363/0.4407, allocations: 7.11 MB / 0.623 GB, free: 4.859 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04332/0.484, allocations: 33.96 MB / 0.6562 GB, free: 1.887 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007615/0.4916, allocations: 2.732 MB / 0.6588 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00195/0.4935, allocations: 1.362 MB / 0.6602 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007321/0.5009, allocations: 3.704 MB / 0.6638 GB, free: 10 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.216e-05/0.5009, allocations: 51.16 kB / 0.6638 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=121): time 3.967e-06/0.5009, allocations: 0 / 0.6638 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129): time 0.03039/0.5313, allocations: 11.51 MB / 0.6751 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.5314, allocations: 170.9 kB / 0.6752 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005059/0.5365, allocations: 3.726 MB / 0.6789 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001685/0.5367, allocations: 41.7 kB / 0.6789 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002115/0.5388, allocations: 2.866 MB / 0.6817 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000614/0.5394, allocations: 0.5429 MB / 0.6822 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001386/0.5408, allocations: 1.084 MB / 0.6833 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.5409, allocations: 305.1 kB / 0.6836 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002484/0.5434, allocations: 1.713 MB / 0.6853 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005658/0.5491, allocations: 5.135 MB / 0.6903 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008772/0.5578, allocations: 7.423 MB / 0.6975 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.918e-05/0.5579, allocations: 36 kB / 0.6976 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01226/0.5702, allocations: 6.74 MB / 0.7041 GB, free: 13.05 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.5703, allocations: 59.75 kB / 0.7042 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001437/0.5704, allocations: 120 kB / 0.7043 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007252/0.5711, allocations: 325.5 kB / 0.7046 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003782/0.5749, allocations: 1.255 MB / 0.7059 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002969/0.5779, allocations: 2.385 MB / 0.7082 GB, free: 8.801 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003693/0.5816, allocations: 295.7 kB / 0.7085 GB, free: 8.512 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005375/0.5821, allocations: 336 kB / 0.7088 GB, free: 8.184 MB / 0.545 GB 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.003026/0.5851, allocations: 1.784 MB / 0.7105 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006143/0.5858, allocations: 325.8 kB / 0.7108 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004852/0.5906, allocations: 2.359 MB / 0.7131 GB, free: 3.695 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-05/0.5906, allocations: 16 kB / 0.7132 GB, free: 3.68 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.5907, allocations: 4 kB / 0.7132 GB, free: 3.676 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/0.5907, allocations: 11.97 kB / 0.7132 GB, free: 3.664 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01142/0.6021, allocations: 5.893 MB / 0.7189 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/0.6021, allocations: 4 kB / 0.7189 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000848/0.603, allocations: 175.8 kB / 0.7191 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002229/0.6052, allocations: 0.7108 MB / 0.7198 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001291/0.6053, allocations: 16 kB / 0.7198 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006386/0.6117, allocations: 4.719 MB / 0.7244 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.6117, allocations: 3.938 kB / 0.7244 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007239/0.6189, allocations: 4.345 MB / 0.7287 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/0.62, allocations: 309.8 kB / 0.729 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003593/0.6204, allocations: 23.94 kB / 0.729 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/0.6216, allocations: 75.84 kB / 0.7291 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002344/0.6218, allocations: 76.44 kB / 0.7291 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.6219, allocations: 36 kB / 0.7292 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003847/0.6257, allocations: 2.315 MB / 0.7314 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6257, allocations: 0 / 0.7314 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.3255/0.9513, allocations: 0.8028 MB / 0.7322 GB, free: 154 MB / 0.5606 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.0006061/0.9519, allocations: 143.2 kB / 0.7323 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007039/0.9589, allocations: 3.906 MB / 0.7362 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.9589, allocations: 0 / 0.7362 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001364/0.9603, allocations: 1.047 MB / 0.7372 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002291/0.9626, allocations: 392.3 kB / 0.7376 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009502/0.9721, allocations: 7.434 MB / 0.7448 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002262/0.9743, allocations: 2.789 MB / 0.7475 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003078/0.9774, allocations: 1.653 MB / 0.7492 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005129/0.9779, allocations: 205.6 kB / 0.7494 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.332e-06/0.9779, allocations: 4 kB / 0.7494 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.05038/1.028, allocations: 31.81 MB / 0.7804 GB, free: 118.1 MB / 0.5606 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.883528904058039]