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.001853/0.001853, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.001969/0.001969, allocations: 210.8 kB / 23.73 MB, free: 4.387 MB / 14.72 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.489/1.489, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.219/0.219, allocations: 44.94 MB / 358.8 MB, free: 6.113 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 67.91 kB / 0.4935 GB, free: 9.996 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3711, allocations: 65.47 MB / 0.5575 GB, free: 7.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01823/0.3893, allocations: 9.038 MB / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01192/0.4012, allocations: 3.604 MB / 0.5698 GB, free: 10.6 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002417/0.4036, allocations: 67.62 kB / 0.5699 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006179/0.4098, allocations: 1.896 MB / 0.5717 GB, free: 8.633 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007607/0.4174, allocations: 1.681 MB / 0.5734 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002493/0.4199, allocations: 0.6121 MB / 0.574 GB, free: 6.332 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007569/0.4275, allocations: 3.369 MB / 0.5772 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005331/0.4328, allocations: 2.114 MB / 0.5793 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004014/0.4368, allocations: 1.257 MB / 0.5805 GB, free: 15.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00499/0.4418, allocations: 1.717 MB / 0.5822 GB, free: 13.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001478/0.4433, allocations: 256 kB / 0.5825 GB, free: 13.55 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003879/0.4472, allocations: 0.9244 MB / 0.5834 GB, free: 12.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003395/0.4505, allocations: 1.597 MB / 0.5849 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004822/0.4554, allocations: 1.335 MB / 0.5862 GB, free: 9.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01266/0.468, allocations: 5.827 MB / 0.5919 GB, free: 3.832 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.468, allocations: 0 / 0.5919 GB, free: 3.832 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.468, allocations: 0 / 0.5919 GB, free: 3.832 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002587/0.4683, allocations: 0 / 0.5919 GB, free: 3.832 MB / 430.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.0158/0.4841, allocations: 4.037 MB / 0.5959 GB, free: 15.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/0.4841, allocations: 12.03 kB / 0.5959 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01116/0.4953, allocations: 1.788 MB / 0.5976 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007181/0.5025, allocations: 1.876 MB / 0.5994 GB, free: 12.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003315/0.5028, allocations: 190.2 kB / 0.5996 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001419/0.5042, allocations: 255.8 kB / 0.5999 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02557/0.5298, allocations: 8.505 MB / 0.6082 GB, free: 2.387 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002262/0.53, allocations: 39.69 kB / 0.6082 GB, free: 2.348 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001162/0.5312, allocations: 123.9 kB / 0.6083 GB, free: 2.227 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00495/0.5362, allocations: 1.691 MB / 0.61 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02425/0.5604, allocations: 7.106 MB / 0.6169 GB, free: 9.418 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06694/0.6273, allocations: 32.04 MB / 0.6482 GB, free: 8.391 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01274/0.6401, allocations: 2.745 MB / 0.6509 GB, free: 5.605 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003404/0.6435, allocations: 1.364 MB / 0.6522 GB, free: 4.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01182/0.6553, allocations: 3.301 MB / 0.6554 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.278e-05/0.6554, allocations: 47.22 kB / 0.6555 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of pre-optimization done (n=121): time 5.601e-06/0.6554, allocations: 0 / 0.6555 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of matching and sorting (n=129): time 0.0498/0.7052, allocations: 11.54 MB / 0.6668 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001616/0.7053, allocations: 170.8 kB / 0.6669 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006554/0.7119, allocations: 3.427 MB / 0.6703 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002603/0.7122, allocations: 45.7 kB / 0.6703 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002307/0.7145, allocations: 2.883 MB / 0.6731 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000715/0.7152, allocations: 0.5428 MB / 0.6737 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001574/0.7168, allocations: 1.088 MB / 0.6747 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.7169, allocations: 301.1 kB / 0.675 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002754/0.7197, allocations: 1.709 MB / 0.6767 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006019/0.7257, allocations: 5.16 MB / 0.6817 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/0.7359, allocations: 7.43 MB / 0.689 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001193/0.7361, allocations: 32 kB / 0.689 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01356/0.7496, allocations: 6.711 MB / 0.6956 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.119e-05/0.7497, allocations: 56 kB / 0.6956 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001462/0.7499, allocations: 124 kB / 0.6957 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006684/0.7505, allocations: 313.2 kB / 0.696 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004533/0.7551, allocations: 1.252 MB / 0.6972 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003153/0.7582, allocations: 2.366 MB / 0.6996 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003816/0.762, allocations: 295.6 kB / 0.6998 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006582/0.7627, allocations: 332 kB / 0.7002 GB, free: 15.36 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.003138/0.7658, allocations: 1.787 MB / 0.7019 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006046/0.7664, allocations: 286.1 kB / 0.7022 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005066/0.7715, allocations: 2.328 MB / 0.7045 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.734e-05/0.7715, allocations: 12 kB / 0.7045 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.7715, allocations: 4 kB / 0.7045 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/0.7715, allocations: 11.92 kB / 0.7045 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01199/0.7835, allocations: 5.101 MB / 0.7095 GB, free: 5.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.7835, allocations: 4 kB / 0.7095 GB, free: 5.746 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009341/0.7845, allocations: 175.8 kB / 0.7096 GB, free: 5.574 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002331/0.7868, allocations: 0.7151 MB / 0.7103 GB, free: 4.855 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/0.7869, allocations: 20 kB / 0.7103 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006787/0.7937, allocations: 4.649 MB / 0.7149 GB, free: 88 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.7937, allocations: 4.031 kB / 0.7149 GB, free: 84 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00775/0.8015, allocations: 4.308 MB / 0.7191 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009442/0.8024, allocations: 258 kB / 0.7193 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003054/0.8027, allocations: 27.98 kB / 0.7194 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/0.8037, allocations: 71.89 kB / 0.7194 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002157/0.8039, allocations: 72.52 kB / 0.7195 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.309e-05/0.804, allocations: 32 kB / 0.7195 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003397/0.8074, allocations: 1.963 MB / 0.7215 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8074, allocations: 0 / 0.7215 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0044/0.8118, allocations: 0.7929 MB / 0.7222 GB, free: 8.531 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.0004626/0.8123, allocations: 154.9 kB / 0.7224 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007453/0.8197, allocations: 3.911 MB / 0.7262 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.8198, allocations: 0 / 0.7262 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001892/0.8216, allocations: 1.034 MB / 0.7272 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002294/0.8239, allocations: 339.2 kB / 0.7275 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2861/1.11, allocations: 7.382 MB / 0.7347 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002646/1.113, allocations: 2.236 MB / 0.7369 GB, free: 157 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00328/1.116, allocations: 1.614 MB / 0.7385 GB, free: 157 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005682/1.117, allocations: 191 kB / 0.7387 GB, free: 157 MB / 0.5606 GB Notification: Performance of SimCode: time 1.252e-06/1.117, allocations: 0 / 0.7387 GB, free: 157 MB / 0.5606 GB Notification: Performance of Templates: time 0.04826/1.165, allocations: 28.05 MB / 0.7661 GB, free: 133 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 7.253243837505579]