Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 87.58 kB / 21.19 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001972/0.001972, allocations: 165 kB / 24.56 MB, free: 8 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.027/1.027, allocations: 177.1 MB / 205 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3123/0.3123, allocations: 32.81 MB / 294.3 MB, free: 1.281 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.121e-05/3.295e-05, allocations: 2.312 kB / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.009925/0.009958, allocations: 9.938 MB / 386 MB, free: 10.67 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007733/0.01769, allocations: 3.728 MB / 389.7 MB, free: 6.926 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002068/0.01976, allocations: 71.62 kB / 389.8 MB, free: 6.855 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003369/0.02313, allocations: 2.071 MB / 391.8 MB, free: 4.777 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004702/0.02783, allocations: 1.754 MB / 393.6 MB, free: 3.016 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.02933, allocations: 0.6664 MB / 394.3 MB, free: 2.348 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005256/0.03458, allocations: 3.758 MB / 398 MB, free: 14.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003955/0.03854, allocations: 2.458 MB / 400.5 MB, free: 12.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004792/0.04333, allocations: 1.937 MB / 402.4 MB, free: 10.13 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003294/0.04662, allocations: 1.839 MB / 404.3 MB, free: 8.289 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009451/0.04757, allocations: 256 kB / 404.5 MB, free: 8.039 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002395/0.04996, allocations: 0.9672 MB / 405.5 MB, free: 7.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002074/0.05204, allocations: 1.683 MB / 407.2 MB, free: 5.383 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001943/0.05398, allocations: 1.028 MB / 408.2 MB, free: 4.352 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00581/0.05979, allocations: 3.802 MB / 412 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.0598, allocations: 0 / 412 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.0598, allocations: 0 / 412 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001682/0.05997, allocations: 0 / 412 MB, free: 0.5352 MB / 378.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.008298/0.06827, allocations: 4.391 MB / 416.4 MB, free: 12.08 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.06832, allocations: 8.031 kB / 416.4 MB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005415/0.07373, allocations: 2.194 MB / 418.6 MB, free: 9.875 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003306/0.07704, allocations: 1.749 MB / 420.3 MB, free: 8.078 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/0.0772, allocations: 193.2 kB / 420.5 MB, free: 7.887 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004514/0.07765, allocations: 260.2 kB / 420.8 MB, free: 7.633 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01381/0.09146, allocations: 5.286 MB / 426.1 MB, free: 1.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003142/0.09177, allocations: 39.64 kB / 426.1 MB, free: 1.391 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003543/0.09213, allocations: 123.9 kB / 426.2 MB, free: 1.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00207/0.0942, allocations: 1.641 MB / 427.9 MB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008037/0.1022, allocations: 2.662 MB / 430.5 MB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2558/0.3581, allocations: 38.77 MB / 469.3 MB, free: 61.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003377/0.3614, allocations: 1.476 MB / 470.8 MB, free: 61.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005225/0.362, allocations: 391.2 kB / 471.1 MB, free: 61.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004402/0.3664, allocations: 3.388 MB / 474.5 MB, free: 60.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.3664, allocations: 46.73 kB / 474.6 MB, free: 60.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=103): time 3.878e-06/0.3664, allocations: 0.9375 kB / 474.6 MB, free: 60.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=104): time 0.01096/0.3774, allocations: 5.638 MB / 480.2 MB, free: 57.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.482e-05/0.3774, allocations: 166.9 kB / 480.4 MB, free: 57.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003773/0.3812, allocations: 3.257 MB / 483.6 MB, free: 56.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001581/0.3814, allocations: 40.39 kB / 483.7 MB, free: 56.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001628/0.383, allocations: 3.077 MB / 486.8 MB, free: 54.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004888/0.3835, allocations: 484 kB / 487.2 MB, free: 54.01 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001016/0.3845, allocations: 1.163 MB / 488.4 MB, free: 53.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.868e-05/0.3846, allocations: 480.7 kB / 488.9 MB, free: 52.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008193/0.3854, allocations: 0.4891 MB / 489.4 MB, free: 52.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002707/0.3881, allocations: 5.756 MB / 495.1 MB, free: 45.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00557/0.3937, allocations: 6.866 MB / 0.4902 GB, free: 38.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001476/0.3938, allocations: 34.78 kB / 0.4902 GB, free: 38.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.008622/0.4024, allocations: 4.502 MB / 0.4946 GB, free: 36.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.4025, allocations: 63.47 kB / 0.4947 GB, free: 36.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000225/0.4028, allocations: 128 kB / 0.4948 GB, free: 36.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002518/0.403, allocations: 165.4 kB / 0.495 GB, free: 36.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003043/0.4061, allocations: 1.248 MB / 0.4962 GB, free: 36.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000388/0.4065, allocations: 247.9 kB / 0.4964 GB, free: 36.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003245/0.4097, allocations: 317.8 kB / 0.4967 GB, free: 35.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000473/0.4102, allocations: 335.2 kB / 0.4971 GB, free: 35.91 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.001267/0.4114, allocations: 0.6209 MB / 0.4977 GB, free: 35.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006339/0.4121, allocations: 307.5 kB / 0.498 GB, free: 35.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008843/0.413, allocations: 0.5936 MB / 0.4985 GB, free: 34.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-05/0.413, allocations: 16.16 kB / 0.4986 GB, free: 34.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.413, allocations: 2.688 kB / 0.4986 GB, free: 34.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.413, allocations: 8.266 kB / 0.4986 GB, free: 34.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005022/0.418, allocations: 3.233 MB / 0.5017 GB, free: 33.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/0.418, allocations: 2.75 kB / 0.5017 GB, free: 33.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003904/0.4184, allocations: 145.9 kB / 0.5019 GB, free: 33.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002084/0.4186, allocations: 48.61 kB / 0.5019 GB, free: 33.47 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.616e-05/0.4187, allocations: 24.12 kB / 0.5019 GB, free: 33.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008483/0.4195, allocations: 1.829 MB / 0.5037 GB, free: 31.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.4195, allocations: 2.812 kB / 0.5037 GB, free: 31.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.4213, allocations: 1.555 MB / 0.5052 GB, free: 30.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005165/0.4218, allocations: 267.3 kB / 0.5055 GB, free: 30.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/0.422, allocations: 16.22 kB / 0.5055 GB, free: 30.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000494/0.4225, allocations: 74.17 kB / 0.5056 GB, free: 30.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.548e-05/0.4225, allocations: 54.72 kB / 0.5056 GB, free: 30.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.316e-05/0.4226, allocations: 36.95 kB / 0.5057 GB, free: 30.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001659/0.4242, allocations: 1.373 MB / 0.507 GB, free: 30 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4242, allocations: 1.859 kB / 0.507 GB, free: 30 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003692/0.4279, allocations: 0.7858 MB / 0.5078 GB, free: 29.9 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.0003707/0.4283, allocations: 156.1 kB / 0.5079 GB, free: 29.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003528/0.4318, allocations: 2.217 MB / 0.5101 GB, free: 29.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.4318, allocations: 0 / 0.5101 GB, free: 29.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006216/0.4325, allocations: 481.3 kB / 0.5105 GB, free: 28.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/0.4342, allocations: 341.9 kB / 0.5109 GB, free: 28.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00949/0.4437, allocations: 5.789 MB / 0.5165 GB, free: 25.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009325/0.4447, allocations: 0.9894 MB / 0.5175 GB, free: 25.24 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002459/0.4471, allocations: 1.404 MB / 0.5189 GB, free: 24.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004394/0.4476, allocations: 195.3 kB / 0.5191 GB, free: 24.26 MB / 410.7 MB Notification: Performance of SimCode: time 3.547e-06/0.4476, allocations: 0 / 0.5191 GB, free: 24.26 MB / 410.7 MB Notification: Performance of Templates: time 0.03723/0.4848, allocations: 20.45 MB / 0.539 GB, free: 8.516 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_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","",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.321695395279676]