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.0009235/0.0009235, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001048/0.001048, allocations: 160.5 kB / 24.55 MB, free: 16 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.997/0.997, allocations: 177 MB / 204.8 MB, free: 5.578 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.2835/0.2835, allocations: 34.86 MB / 296.3 MB, free: 0.5547 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.443e-06/1.443e-06, allocations: 0 / 378.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.59e-05, allocations: 3.156 kB / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.008814/0.00884, allocations: 9.937 MB / 388.7 MB, free: 8.105 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007314/0.01615, allocations: 3.736 MB / 392.5 MB, free: 4.359 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001541/0.0177, allocations: 67.69 kB / 392.5 MB, free: 4.293 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003273/0.02097, allocations: 2.079 MB / 394.6 MB, free: 2.207 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004164/0.02513, allocations: 1.746 MB / 396.3 MB, free: 464 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.02644, allocations: 0.6626 MB / 397 MB, free: 15.79 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004429/0.03087, allocations: 3.749 MB / 400.8 MB, free: 12.03 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002938/0.03381, allocations: 2.47 MB / 403.2 MB, free: 9.508 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006001/0.03981, allocations: 1.937 MB / 405.2 MB, free: 7.566 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005688/0.04549, allocations: 1.839 MB / 407 MB, free: 5.723 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005722/0.04607, allocations: 256 kB / 407.2 MB, free: 5.473 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004752/0.05082, allocations: 0.9634 MB / 408.2 MB, free: 4.508 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001319/0.05214, allocations: 1.675 MB / 409.9 MB, free: 2.828 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004473/0.05661, allocations: 1.036 MB / 410.9 MB, free: 1.789 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007623/0.06423, allocations: 3.806 MB / 414.7 MB, free: 13.97 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.06424, allocations: 0 / 414.7 MB, free: 13.97 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.06424, allocations: 0 / 414.7 MB, free: 13.97 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001457/0.06439, allocations: 4 kB / 414.7 MB, free: 13.96 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.009238/0.07363, allocations: 4.379 MB / 419.1 MB, free: 9.523 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.07367, allocations: 8.031 kB / 419.1 MB, free: 9.516 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003874/0.07754, allocations: 2.194 MB / 421.3 MB, free: 7.316 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002387/0.07993, allocations: 1.753 MB / 423.1 MB, free: 5.516 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.08003, allocations: 189.2 kB / 423.3 MB, free: 5.328 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003159/0.08035, allocations: 256.2 kB / 423.5 MB, free: 5.078 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00675/0.0871, allocations: 5.294 MB / 428.8 MB, free: 14.87 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.25e-05/0.08718, allocations: 39.64 kB / 428.8 MB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002358/0.08741, allocations: 127.9 kB / 429 MB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001382/0.0888, allocations: 1.633 MB / 430.6 MB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005217/0.09401, allocations: 2.666 MB / 433.3 MB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1833/0.2773, allocations: 38.78 MB / 472 MB, free: 59.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003042/0.2804, allocations: 1.468 MB / 473.5 MB, free: 59.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000494/0.2809, allocations: 396.5 kB / 473.9 MB, free: 59.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003928/0.2848, allocations: 3.385 MB / 477.3 MB, free: 57.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.2848, allocations: 51 kB / 477.3 MB, free: 57.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=103): time 3.146e-06/0.2848, allocations: 0 / 477.3 MB, free: 57.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=104): time 0.009156/0.294, allocations: 5.625 MB / 483 MB, free: 55.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.288e-05/0.2941, allocations: 168.1 kB / 483.1 MB, free: 55.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003569/0.2976, allocations: 3.253 MB / 486.4 MB, free: 53.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.79e-05/0.2977, allocations: 40.42 kB / 486.4 MB, free: 53.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001398/0.2991, allocations: 3.081 MB / 489.5 MB, free: 51.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004039/0.2995, allocations: 478.4 kB / 490 MB, free: 51.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009252/0.3004, allocations: 1.165 MB / 491.1 MB, free: 50.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.071e-05/0.3005, allocations: 476.8 kB / 491.6 MB, free: 50.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008131/0.3013, allocations: 0.4958 MB / 492.1 MB, free: 50.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002458/0.3038, allocations: 5.756 MB / 497.8 MB, free: 42.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005142/0.3089, allocations: 6.881 MB / 0.4929 GB, free: 35.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001654/0.3091, allocations: 36.94 kB / 0.4929 GB, free: 35.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.007556/0.3166, allocations: 4.508 MB / 0.4973 GB, free: 33.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.596e-05/0.3167, allocations: 60.56 kB / 0.4974 GB, free: 33.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000174/0.3169, allocations: 127.5 kB / 0.4975 GB, free: 33.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001977/0.3171, allocations: 164.8 kB / 0.4977 GB, free: 33.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002587/0.3197, allocations: 1.248 MB / 0.4989 GB, free: 33.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002791/0.32, allocations: 246.8 kB / 0.4991 GB, free: 33.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002735/0.3227, allocations: 312.8 kB / 0.4994 GB, free: 33.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004885/0.3232, allocations: 339.7 kB / 0.4997 GB, free: 33.18 MB / 410.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.001219/0.3244, allocations: 0.6159 MB / 0.5003 GB, free: 32.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004792/0.3249, allocations: 307.6 kB / 0.5006 GB, free: 32.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008951/0.3258, allocations: 0.596 MB / 0.5012 GB, free: 32.26 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-05/0.3258, allocations: 16.59 kB / 0.5012 GB, free: 32.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/0.3258, allocations: 1 kB / 0.5012 GB, free: 32.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.3258, allocations: 8.594 kB / 0.5012 GB, free: 32.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005076/0.3309, allocations: 3.234 MB / 0.5044 GB, free: 30.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.3309, allocations: 2.406 kB / 0.5044 GB, free: 30.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004259/0.3313, allocations: 152.4 kB / 0.5046 GB, free: 30.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002306/0.3316, allocations: 44.16 kB / 0.5046 GB, free: 30.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.966e-05/0.3316, allocations: 23 kB / 0.5046 GB, free: 30.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009574/0.3326, allocations: 1.828 MB / 0.5064 GB, free: 28.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.3326, allocations: 1.719 kB / 0.5064 GB, free: 28.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/0.3344, allocations: 1.555 MB / 0.5079 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004917/0.3349, allocations: 270.6 kB / 0.5082 GB, free: 27.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/0.335, allocations: 14.31 kB / 0.5082 GB, free: 27.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004795/0.3355, allocations: 66.52 kB / 0.5083 GB, free: 27.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.869e-05/0.3356, allocations: 60.05 kB / 0.5083 GB, free: 27.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.182e-05/0.3357, allocations: 29.97 kB / 0.5083 GB, free: 27.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001538/0.3372, allocations: 1.38 MB / 0.5097 GB, free: 27.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3372, allocations: 0 / 0.5097 GB, free: 27.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003268/0.3405, allocations: 0.7862 MB / 0.5105 GB, free: 27.17 MB / 410.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.0003539/0.3408, allocations: 153.3 kB / 0.5106 GB, free: 27.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002981/0.3438, allocations: 2.219 MB / 0.5128 GB, free: 26.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3438, allocations: 4.938 kB / 0.5128 GB, free: 26.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005366/0.3443, allocations: 473.8 kB / 0.5132 GB, free: 26.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.3454, allocations: 337.3 kB / 0.5135 GB, free: 25.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007322/0.3527, allocations: 5.79 MB / 0.5192 GB, free: 22.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007006/0.3534, allocations: 0.9892 MB / 0.5202 GB, free: 22.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002308/0.3557, allocations: 1.412 MB / 0.5215 GB, free: 21.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003165/0.3561, allocations: 195.1 kB / 0.5217 GB, free: 21.12 MB / 410.7 MB Notification: Performance of SimCode: time 1.703e-06/0.3561, allocations: 0 / 0.5217 GB, free: 21.12 MB / 410.7 MB Notification: Performance of Templates: time 0.0325/0.3886, allocations: 20.44 MB / 0.5417 GB, free: 5.184 MB / 410.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.11937955301255]