Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.001115/0.001115, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.0009661/0.0009661, allocations: 164.9 kB / 24.99 MB, free: 8.219 MB / 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.9727/0.9727, allocations: 177 MB / 205.2 MB, free: 5.582 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.2754/0.2754, allocations: 34.86 MB / 296.6 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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 3.938 kB / 378.7 MB, free: 2.441 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.759e-05, allocations: 6.312 kB / 378.7 MB, free: 2.434 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01835/0.01837, allocations: 15.36 MB / 394.1 MB, free: 3 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01297/0.03134, allocations: 5.374 MB / 399.5 MB, free: 13.61 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002604/0.03395, allocations: 131.3 kB / 399.6 MB, free: 13.48 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007761/0.04171, allocations: 5.487 MB / 405.1 MB, free: 7.973 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005302/0.04701, allocations: 2.764 MB / 407.9 MB, free: 5.195 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00276/0.04977, allocations: 1.571 MB / 409.4 MB, free: 3.621 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01077/0.06055, allocations: 9.35 MB / 418.8 MB, free: 10.26 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007587/0.06813, allocations: 6.154 MB / 424.9 MB, free: 4.012 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004533/0.07267, allocations: 4.276 MB / 429.2 MB, free: 15.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003914/0.07658, allocations: 4.26 MB / 433.5 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007139/0.07729, allocations: 0.6484 MB / 434.1 MB, free: 10.81 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002017/0.07931, allocations: 1.744 MB / 435.9 MB, free: 9.062 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002363/0.08167, allocations: 3.612 MB / 439.5 MB, free: 5.441 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001732/0.0834, allocations: 2.267 MB / 441.7 MB, free: 3.168 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1784/0.2618, allocations: 7.572 MB / 449.3 MB, free: 67.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.2618, allocations: 0 / 449.3 MB, free: 67.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2618, allocations: 0 / 449.3 MB, free: 67.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005749/0.2624, allocations: 2.469 kB / 449.3 MB, free: 67.3 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.01856/0.2809, allocations: 8.595 MB / 457.9 MB, free: 64.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.281, allocations: 8.594 kB / 457.9 MB, free: 64.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01009/0.2911, allocations: 3.765 MB / 461.7 MB, free: 63.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01028/0.3014, allocations: 4.45 MB / 466.1 MB, free: 62.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003939/0.3018, allocations: 380.6 kB / 466.5 MB, free: 62.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002723/0.3045, allocations: 0.5048 MB / 467 MB, free: 62.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02435/0.3288, allocations: 9.467 MB / 476.5 MB, free: 58.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002156/0.329, allocations: 62.66 kB / 476.5 MB, free: 58.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005348/0.3296, allocations: 236.5 kB / 476.8 MB, free: 58.78 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002668/0.3322, allocations: 2.545 MB / 479.3 MB, free: 58.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01478/0.347, allocations: 5.3 MB / 484.6 MB, free: 57.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05676/0.4038, allocations: 59.38 MB / 0.5312 GB, free: 27.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009636/0.4134, allocations: 4.046 MB / 0.5352 GB, free: 26.52 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001734/0.4151, allocations: 1.112 MB / 0.5363 GB, free: 25.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008856/0.424, allocations: 6.945 MB / 0.5431 GB, free: 19.38 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/0.424, allocations: 70.75 kB / 0.5431 GB, free: 19.31 MB / 426.7 MB Notification: Performance of pre-optimization done (n=248): time 5.831e-06/0.4241, allocations: 2.406 kB / 0.5431 GB, free: 19.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=343): time 0.06825/0.4923, allocations: 28.08 MB / 0.5706 GB, free: 7.422 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001496/0.4924, allocations: 242.4 kB / 0.5708 GB, free: 7.137 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008915/0.5014, allocations: 4.883 MB / 0.5756 GB, free: 2.262 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001165/0.5025, allocations: 77.7 kB / 0.5756 GB, free: 2.18 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003569/0.5061, allocations: 4.703 MB / 0.5802 GB, free: 13.51 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002605/0.5087, allocations: 1.353 MB / 0.5815 GB, free: 12.17 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002664/0.5114, allocations: 1.824 MB / 0.5833 GB, free: 10.33 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.5115, allocations: 484.7 kB / 0.5838 GB, free: 9.852 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002392/0.5139, allocations: 1.346 MB / 0.5851 GB, free: 8.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005881/0.5198, allocations: 8.153 MB / 0.5931 GB, free: 13.34 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01033/0.5301, allocations: 10.54 MB / 0.6033 GB, free: 192 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001889/0.5303, allocations: 48 kB / 0.6034 GB, free: 144 kB / 474.7 MB Notification: Performance of matching and sorting (n=1128) (initialization): time 0.2089/0.7392, allocations: 10.19 MB / 0.6133 GB, free: 137.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001157/0.7393, allocations: 79.09 kB / 0.6134 GB, free: 137.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000183/0.7395, allocations: 159.7 kB / 0.6136 GB, free: 137.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008294/0.7478, allocations: 3.18 MB / 0.6167 GB, free: 137.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004239/0.752, allocations: 1.888 MB / 0.6185 GB, free: 137.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01336/0.7654, allocations: 8.321 MB / 0.6266 GB, free: 135.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005406/0.7708, allocations: 0.5871 MB / 0.6272 GB, free: 135.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001269/0.7721, allocations: 486.2 kB / 0.6277 GB, free: 135.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 720 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (1027): * Single equations (assignments): 1023 * 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,77,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002745/0.7748, allocations: 0.8176 MB / 0.6285 GB, free: 134.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001224/0.776, allocations: 0.6022 MB / 0.6291 GB, free: 134.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01105/0.7871, allocations: 5.406 MB / 0.6343 GB, free: 134.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.818e-05/0.7872, allocations: 39.69 kB / 0.6344 GB, free: 134.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.792e-05/0.7872, allocations: 14.84 kB / 0.6344 GB, free: 134.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.958e-05/0.7872, allocations: 15.41 kB / 0.6344 GB, free: 134.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0294/0.8166, allocations: 12.66 MB / 0.6468 GB, free: 129.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.717e-05/0.8167, allocations: 10.59 kB / 0.6468 GB, free: 129.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001732/0.8184, allocations: 0.4924 MB / 0.6473 GB, free: 129.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009126/0.8275, allocations: 2.795 MB / 0.65 GB, free: 129.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003443/0.8279, allocations: 65.3 kB / 0.6501 GB, free: 129.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01211/0.84, allocations: 6.728 MB / 0.6566 GB, free: 124 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.84, allocations: 17.44 kB / 0.6567 GB, free: 124 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01331/0.8533, allocations: 6.996 MB / 0.6635 GB, free: 117 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001805/0.8551, allocations: 0.5269 MB / 0.664 GB, free: 116.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001154/0.8563, allocations: 60 kB / 0.6641 GB, free: 116.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002145/0.8584, allocations: 299.5 kB / 0.6643 GB, free: 116.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006726/0.8591, allocations: 246.1 kB / 0.6646 GB, free: 115.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001939/0.8593, allocations: 89.33 kB / 0.6647 GB, free: 115.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00325/0.8625, allocations: 2.197 MB / 0.6668 GB, free: 113.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.8625, allocations: 0 / 0.6668 GB, free: 113.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00609/0.8686, allocations: 1.964 MB / 0.6687 GB, free: 111.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 2 (revolute.phi,revolute.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 (261): * Single equations (assignments): 257 * 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,64,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006328/0.8692, allocations: 271.7 kB / 0.669 GB, free: 111.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007132/0.8764, allocations: 5.349 MB / 0.6742 GB, free: 106 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.8764, allocations: 0 / 0.6742 GB, free: 106 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002232/0.8786, allocations: 1.894 MB / 0.6761 GB, free: 104.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002782/0.8814, allocations: 0.6703 MB / 0.6767 GB, free: 103.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01993/0.9013, allocations: 12.71 MB / 0.6891 GB, free: 90.55 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002642/0.904, allocations: 2.008 MB / 0.6911 GB, free: 88.51 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004237/0.9082, allocations: 2.116 MB / 0.6932 GB, free: 86.39 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001262/0.9095, allocations: 336.4 kB / 0.6935 GB, free: 86.06 MB / 474.7 MB Notification: Performance of SimCode: time 4.118e-06/0.9095, allocations: 4 kB / 0.6935 GB, free: 86.06 MB / 474.7 MB Notification: Performance of Templates: time 0.08375/0.9932, allocations: 74.31 MB / 0.766 GB, free: 12.3 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.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: 5.7243719168473035]