Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.001406/0.001406, allocations: 85.31 kB / 20.68 MB, free: 1.035 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.001495/0.001495, allocations: 165.6 kB / 23.95 MB, free: 4.168 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.493/1.493, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2224/0.2224, allocations: 34.28 MB / 295 MB, free: 14.57 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 442.7 MB, free: 5.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.357e-05/2.526e-05, allocations: 5.516 kB / 442.7 MB, free: 5.41 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.2171/0.2171, allocations: 13.92 MB / 456.6 MB, free: 11.78 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0128/0.2299, allocations: 5.229 MB / 461.8 MB, free: 8.402 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004338/0.2342, allocations: 132.2 kB / 461.9 MB, free: 8.359 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01031/0.2446, allocations: 5.242 MB / 467.2 MB, free: 6.133 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008461/0.253, allocations: 2.76 MB / 469.9 MB, free: 4.773 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003802/0.2568, allocations: 1.549 MB / 471.5 MB, free: 3.848 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01362/0.2704, allocations: 9.348 MB / 480.8 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01129/0.2817, allocations: 5.973 MB / 486.8 MB, free: 9.859 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01254/0.2943, allocations: 4.245 MB / 491.1 MB, free: 5.605 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008608/0.3029, allocations: 4.119 MB / 495.2 MB, free: 1.477 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003013/0.3059, allocations: 0.6484 MB / 495.8 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005748/0.3116, allocations: 1.744 MB / 497.6 MB, free: 15.08 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005704/0.3173, allocations: 3.585 MB / 0.4894 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006107/0.3235, allocations: 2.259 MB / 0.4916 GB, free: 9.223 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01791/0.3414, allocations: 12.22 MB / 0.5035 GB, free: 12.96 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.3414, allocations: 0 / 0.5035 GB, free: 12.96 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3414, allocations: 0 / 0.5035 GB, free: 12.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004751/0.3418, allocations: 0 / 0.5035 GB, free: 12.96 MB / 414.1 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.02721/0.3691, allocations: 8.107 MB / 0.5115 GB, free: 4.781 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.295e-05/0.3691, allocations: 8.031 kB / 0.5115 GB, free: 4.773 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01801/0.3871, allocations: 3.218 MB / 0.5146 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01466/0.4018, allocations: 4.955 MB / 0.5194 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004499/0.4022, allocations: 386.1 kB / 0.5198 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002331/0.4046, allocations: 0.5081 MB / 0.5203 GB, free: 11.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0368/0.4414, allocations: 15.67 MB / 0.5356 GB, free: 11.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002719/0.4416, allocations: 71.45 kB / 0.5357 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009873/0.4426, allocations: 235.8 kB / 0.5359 GB, free: 10.72 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004481/0.4471, allocations: 2.546 MB / 0.5384 GB, free: 8.172 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03079/0.4779, allocations: 13.09 MB / 0.5512 GB, free: 11.05 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08578/0.5637, allocations: 53.12 MB / 0.6031 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0196/0.5833, allocations: 5.914 MB / 0.6088 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005936/0.5892, allocations: 3.238 MB / 0.612 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01912/0.6083, allocations: 9.619 MB / 0.6214 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.75e-05/0.6084, allocations: 64.5 kB / 0.6214 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=248): time 5.811e-06/0.6084, allocations: 0 / 0.6214 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of matching and sorting (n=343): time 0.3645/0.9729, allocations: 40.45 MB / 0.6609 GB, free: 161.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.973, allocations: 239.9 kB / 0.6612 GB, free: 161.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008013/0.9811, allocations: 5.71 MB / 0.6667 GB, free: 159.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008789/0.9819, allocations: 85.42 kB / 0.6668 GB, free: 159.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00217/0.9841, allocations: 4.491 MB / 0.6712 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001516/0.9856, allocations: 1.301 MB / 0.6725 GB, free: 155.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002266/0.9879, allocations: 1.729 MB / 0.6742 GB, free: 154.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.549e-05/0.9879, allocations: 301.1 kB / 0.6745 GB, free: 154.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005547/0.9935, allocations: 4.08 MB / 0.6784 GB, free: 152.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007128/1.001, allocations: 8.737 MB / 0.687 GB, free: 144.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01305/1.014, allocations: 13.56 MB / 0.7002 GB, free: 129.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001403/1.014, allocations: 48 kB / 0.7003 GB, free: 129.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1128) (initialization): time 0.03325/1.047, allocations: 16.29 MB / 0.7162 GB, free: 112.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001645/1.047, allocations: 75.98 kB / 0.7162 GB, free: 112.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002044/1.047, allocations: 160 kB / 0.7164 GB, free: 112.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01331/1.061, allocations: 4.272 MB / 0.7206 GB, free: 108.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006071/1.067, allocations: 1.895 MB / 0.7224 GB, free: 106.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02607/1.093, allocations: 21.24 MB / 0.7432 GB, free: 85.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007625/1.101, allocations: 0.6008 MB / 0.7438 GB, free: 84.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001246/1.102, allocations: 480 kB / 0.7442 GB, free: 83.96 MB / 0.5294 GB 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.004751/1.107, allocations: 3.112 MB / 0.7473 GB, free: 80.83 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001353/1.108, allocations: 0.5045 MB / 0.7477 GB, free: 80.32 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01941/1.127, allocations: 10.02 MB / 0.7575 GB, free: 70.25 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.046e-05/1.127, allocations: 36 kB / 0.7576 GB, free: 70.21 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.711e-05/1.127, allocations: 16 kB / 0.7576 GB, free: 70.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.991e-05/1.127, allocations: 15.94 kB / 0.7576 GB, free: 70.18 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03575/1.163, allocations: 18.01 MB / 0.7752 GB, free: 52.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.33e-05/1.163, allocations: 8 kB / 0.7752 GB, free: 52.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002468/1.166, allocations: 0.4999 MB / 0.7757 GB, free: 51.54 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01241/1.178, allocations: 3.838 MB / 0.7794 GB, free: 47.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007496/1.179, allocations: 67.98 kB / 0.7795 GB, free: 47.63 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02484/1.204, allocations: 18.81 MB / 0.7979 GB, free: 28.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.423e-06/1.204, allocations: 14.75 kB / 0.7979 GB, free: 28.71 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02559/1.229, allocations: 14.83 MB / 0.8124 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002285/1.232, allocations: 0.5355 MB / 0.8129 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002158/1.234, allocations: 63.98 kB / 0.8129 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004475/1.238, allocations: 308.4 kB / 0.8132 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001099/1.239, allocations: 246.1 kB / 0.8135 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002981/1.24, allocations: 95.92 kB / 0.8136 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004626/1.244, allocations: 3.431 MB / 0.8169 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.2e-07/1.244, allocations: 0 / 0.8169 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009425/1.254, allocations: 1.957 MB / 0.8188 GB, free: 7.062 MB / 0.5294 GB 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.001086/1.255, allocations: 273.1 kB / 0.8191 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01502/1.27, allocations: 9.343 MB / 0.8282 GB, free: 13.45 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/1.27, allocations: 0 / 0.8282 GB, free: 13.45 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006957/1.277, allocations: 3.446 MB / 0.8316 GB, free: 9.98 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004899/1.282, allocations: 0.6537 MB / 0.8322 GB, free: 9.348 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2263/1.508, allocations: 16.12 MB / 0.848 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007647/1.516, allocations: 4.332 MB / 0.8522 GB, free: 181 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.007175/1.523, allocations: 2.541 MB / 0.8547 GB, free: 180.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001599/1.524, allocations: 340.7 kB / 0.855 GB, free: 180.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.443e-06/1.524, allocations: 0 / 0.855 GB, free: 180.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.1103/1.635, allocations: 73.41 MB / 0.9267 GB, free: 128.9 MB / 0.5606 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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: 8.777289524674416]