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.002277/0.002277, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002823/0.002823, allocations: 156.9 kB / 24.27 MB, free: 172 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 1.56/1.56, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 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.3317/0.3317, allocations: 34.24 MB / 295.2 MB, free: 0.6797 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.723e-06/1.723e-06, allocations: 0 / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.251e-05/2.424e-05, allocations: 3.859 kB / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01305/0.01308, allocations: 9.033 MB / 386.2 MB, free: 9.828 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008486/0.02156, allocations: 3.619 MB / 389.9 MB, free: 6.199 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/0.02277, allocations: 71.62 kB / 389.9 MB, free: 6.129 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004232/0.027, allocations: 2.009 MB / 391.9 MB, free: 4.113 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004583/0.03159, allocations: 1.742 MB / 393.7 MB, free: 2.363 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001587/0.03317, allocations: 0.6703 MB / 394.4 MB, free: 1.691 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005303/0.03848, allocations: 3.75 MB / 398.1 MB, free: 13.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003259/0.04173, allocations: 2.454 MB / 400.6 MB, free: 11.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00276/0.0445, allocations: 1.894 MB / 402.5 MB, free: 9.527 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003126/0.04762, allocations: 1.808 MB / 404.3 MB, free: 7.715 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005246/0.04815, allocations: 260 kB / 404.5 MB, free: 7.461 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001878/0.05002, allocations: 0.9789 MB / 405.5 MB, free: 6.48 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001857/0.05188, allocations: 1.667 MB / 407.2 MB, free: 4.809 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001431/0.05331, allocations: 1.028 MB / 408.2 MB, free: 3.777 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00807/0.06138, allocations: 5.817 MB / 414 MB, free: 13.94 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.06139, allocations: 0 / 414 MB, free: 13.94 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.06139, allocations: 0 / 414 MB, free: 13.94 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.598e-05/0.06148, allocations: 0 / 414 MB, free: 13.94 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.007531/0.06901, allocations: 4.053 MB / 418.1 MB, free: 9.832 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.06905, allocations: 12.03 kB / 418.1 MB, free: 9.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006874/0.07593, allocations: 2.237 MB / 420.3 MB, free: 7.578 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003658/0.07959, allocations: 1.879 MB / 422.2 MB, free: 5.652 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001814/0.07977, allocations: 193.2 kB / 422.4 MB, free: 5.461 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005211/0.08029, allocations: 256.2 kB / 422.6 MB, free: 5.211 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01545/0.09574, allocations: 8.502 MB / 431.1 MB, free: 12.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001076/0.09585, allocations: 47.62 kB / 431.2 MB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003679/0.09621, allocations: 119.9 kB / 431.3 MB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003035/0.09925, allocations: 1.699 MB / 433 MB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01921/0.1185, allocations: 7.082 MB / 440.1 MB, free: 3.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1752/0.2936, allocations: 32.3 MB / 472.4 MB, free: 73.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00625/0.2999, allocations: 2.823 MB / 475.2 MB, free: 72.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.3013, allocations: 1.363 MB / 476.6 MB, free: 71.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004889/0.3062, allocations: 3.464 MB / 480 MB, free: 70.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.3062, allocations: 49.34 kB / 480.1 MB, free: 70.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=121): time 2.996e-06/0.3062, allocations: 0 / 480.1 MB, free: 70.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.02577/0.332, allocations: 11.93 MB / 492 MB, free: 65.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.3321, allocations: 166.4 kB / 492.2 MB, free: 65.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004147/0.3362, allocations: 3.515 MB / 495.7 MB, free: 64.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001942/0.3364, allocations: 42.39 kB / 495.7 MB, free: 64.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001546/0.3379, allocations: 2.851 MB / 498.6 MB, free: 62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006246/0.3386, allocations: 0.5392 MB / 499.1 MB, free: 61.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001338/0.3399, allocations: 1.071 MB / 0.4885 GB, free: 61.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.894e-05/0.34, allocations: 305.1 kB / 0.4888 GB, free: 60.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00211/0.3421, allocations: 1.713 MB / 0.4904 GB, free: 60.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003275/0.3453, allocations: 5.156 MB / 0.4955 GB, free: 55.01 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006047/0.3514, allocations: 7.427 MB / 0.5027 GB, free: 48.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.786e-05/0.3515, allocations: 37.06 kB / 0.5027 GB, free: 48.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.009788/0.3613, allocations: 7.002 MB / 0.5096 GB, free: 43.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.602e-05/0.3613, allocations: 56.75 kB / 0.5096 GB, free: 43.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001108/0.3614, allocations: 120 kB / 0.5098 GB, free: 43.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008116/0.3622, allocations: 417.8 kB / 0.5102 GB, free: 42.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003518/0.3658, allocations: 1.243 MB / 0.5114 GB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/0.3679, allocations: 2.363 MB / 0.5137 GB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003635/0.3716, allocations: 328 kB / 0.514 GB, free: 39.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000344/0.3719, allocations: 332.2 kB / 0.5143 GB, free: 38.95 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.001959/0.3739, allocations: 1.791 MB / 0.5161 GB, free: 37.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005177/0.3744, allocations: 318.1 kB / 0.5164 GB, free: 37.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003706/0.3781, allocations: 2.324 MB / 0.5186 GB, free: 35.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-05/0.3781, allocations: 19.83 kB / 0.5186 GB, free: 35.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.3781, allocations: 7.938 kB / 0.5187 GB, free: 35.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.3781, allocations: 6.984 kB / 0.5187 GB, free: 35.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008657/0.3868, allocations: 5.174 MB / 0.5237 GB, free: 30.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.3868, allocations: 4 kB / 0.5237 GB, free: 30.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007532/0.3875, allocations: 175.7 kB / 0.5239 GB, free: 30.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001956/0.3895, allocations: 0.7303 MB / 0.5246 GB, free: 29.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-05/0.3896, allocations: 16 kB / 0.5246 GB, free: 29.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004569/0.3942, allocations: 4.719 MB / 0.5292 GB, free: 24.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3942, allocations: 0 / 0.5292 GB, free: 24.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005629/0.3998, allocations: 4.337 MB / 0.5335 GB, free: 20.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008446/0.4006, allocations: 277.9 kB / 0.5337 GB, free: 20.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003033/0.4009, allocations: 27.69 kB / 0.5337 GB, free: 20.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/0.4021, allocations: 99.84 kB / 0.5338 GB, free: 20.13 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001971/0.4023, allocations: 72.45 kB / 0.5339 GB, free: 20.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/0.4024, allocations: 39.67 kB / 0.5339 GB, free: 20.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002203/0.4046, allocations: 2.034 MB / 0.5359 GB, free: 17.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4046, allocations: 0 / 0.5359 GB, free: 17.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004011/0.4086, allocations: 0.8749 MB / 0.5368 GB, free: 17.12 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.0003456/0.409, allocations: 166.9 kB / 0.5369 GB, free: 16.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004519/0.4135, allocations: 3.895 MB / 0.5408 GB, free: 13.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4135, allocations: 0 / 0.5408 GB, free: 13.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.4146, allocations: 1.038 MB / 0.5418 GB, free: 12.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/0.4163, allocations: 361.9 kB / 0.5421 GB, free: 11.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009156/0.4255, allocations: 7.414 MB / 0.5493 GB, free: 4.203 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002031/0.4275, allocations: 2.237 MB / 0.5515 GB, free: 1.938 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002932/0.4304, allocations: 1.616 MB / 0.5531 GB, free: 324 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005095/0.431, allocations: 196.5 kB / 0.5533 GB, free: 128 kB / 410.7 MB Notification: Performance of SimCode: time 1.783e-06/0.431, allocations: 0 / 0.5533 GB, free: 128 kB / 410.7 MB Notification: Performance of Templates: time 0.058/0.489, allocations: 25.83 MB / 0.5785 GB, free: 6.781 MB / 442.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=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.1.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.606586518115364]