Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00087/0.00087, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004896/0.004896, allocations: 160.4 kB / 24.7 MB, free: 9.426 MB / 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 0.9044/0.9044, allocations: 177.1 MB / 205 MB, free: 5.738 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.2727/0.2727, allocations: 32.8 MB / 294.2 MB, free: 1.215 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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 440.8 MB, free: 3.777 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.407e-05/3.608e-05, allocations: 6.219 kB / 440.8 MB, free: 3.77 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.1897/0.1898, allocations: 13.91 MB / 454.7 MB, free: 38.85 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008107/0.1979, allocations: 5.226 MB / 460 MB, free: 35.49 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002456/0.2003, allocations: 132.8 kB / 460.1 MB, free: 35.45 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004716/0.205, allocations: 5.238 MB / 465.3 MB, free: 33.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004845/0.2099, allocations: 2.762 MB / 468.1 MB, free: 31.87 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002141/0.212, allocations: 1.546 MB / 469.7 MB, free: 31.19 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00744/0.2195, allocations: 9.353 MB / 479 MB, free: 27.63 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005439/0.2249, allocations: 5.966 MB / 485 MB, free: 24.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007775/0.2327, allocations: 4.247 MB / 489.2 MB, free: 23.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006673/0.2393, allocations: 4.124 MB / 493.3 MB, free: 21.95 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002182/0.2415, allocations: 0.6501 MB / 494 MB, free: 21.95 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004137/0.2457, allocations: 1.741 MB / 495.7 MB, free: 21.67 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004848/0.2505, allocations: 3.591 MB / 499.3 MB, free: 20.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005942/0.2565, allocations: 2.259 MB / 0.4898 GB, free: 18.97 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01436/0.2708, allocations: 12.21 MB / 0.5018 GB, free: 10.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.2708, allocations: 5.359 kB / 0.5018 GB, free: 10.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.2708, allocations: 4 kB / 0.5018 GB, free: 10.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004666/0.2713, allocations: 0 / 0.5018 GB, free: 10.97 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.01822/0.2895, allocations: 8.105 MB / 0.5097 GB, free: 3.336 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.2896, allocations: 12.03 kB / 0.5097 GB, free: 3.324 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007907/0.2975, allocations: 3.221 MB / 0.5128 GB, free: 100 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009067/0.3065, allocations: 4.956 MB / 0.5177 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002192/0.3068, allocations: 378.2 kB / 0.518 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001406/0.3082, allocations: 0.508 MB / 0.5185 GB, free: 10.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02263/0.3308, allocations: 15.66 MB / 0.5338 GB, free: 9.582 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002039/0.331, allocations: 67.47 kB / 0.5339 GB, free: 9.516 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000837/0.3318, allocations: 239.8 kB / 0.5341 GB, free: 9.281 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002767/0.3346, allocations: 2.54 MB / 0.5366 GB, free: 6.738 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02098/0.3556, allocations: 13.1 MB / 0.5494 GB, free: 9.617 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06108/0.4167, allocations: 53.12 MB / 0.6013 GB, free: 3.188 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0109/0.4276, allocations: 5.906 MB / 0.607 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003639/0.4312, allocations: 3.24 MB / 0.6102 GB, free: 9.992 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01318/0.4444, allocations: 9.619 MB / 0.6196 GB, free: 340 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.53e-05/0.4444, allocations: 68.5 kB / 0.6197 GB, free: 264 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=248): time 4.729e-06/0.4444, allocations: 0 / 0.6197 GB, free: 264 kB / 0.5105 GB Notification: Performance of matching and sorting (n=343): time 0.2771/0.7216, allocations: 40.45 MB / 0.6592 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.539e-05/0.7217, allocations: 248.7 kB / 0.6594 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007691/0.7294, allocations: 5.699 MB / 0.665 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001027/0.7304, allocations: 81.33 kB / 0.665 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002301/0.7327, allocations: 4.498 MB / 0.6694 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001891/0.7346, allocations: 1.296 MB / 0.6707 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003205/0.7378, allocations: 1.733 MB / 0.6724 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 3.31e-05/0.7378, allocations: 302.3 kB / 0.6727 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005458/0.7433, allocations: 4.079 MB / 0.6767 GB, free: 135 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008889/0.7522, allocations: 8.732 MB / 0.6852 GB, free: 127.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01457/0.7667, allocations: 13.56 MB / 0.6984 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001897/0.7669, allocations: 48.56 kB / 0.6985 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1128) (initialization): time 0.02719/0.7941, allocations: 16.29 MB / 0.7144 GB, free: 109 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.154e-05/0.7942, allocations: 72 kB / 0.7145 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001265/0.7943, allocations: 160 kB / 0.7146 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007805/0.8021, allocations: 4.273 MB / 0.7188 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004686/0.8068, allocations: 1.893 MB / 0.7206 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01919/0.826, allocations: 21.25 MB / 0.7414 GB, free: 83.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00661/0.8326, allocations: 0.6008 MB / 0.742 GB, free: 83.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001749/0.8344, allocations: 479.7 kB / 0.7424 GB, free: 82.72 MB / 0.5261 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.00602/0.8404, allocations: 3.122 MB / 0.7455 GB, free: 79.59 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001302/0.8417, allocations: 0.5045 MB / 0.746 GB, free: 79.08 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01147/0.8532, allocations: 10.02 MB / 0.7557 GB, free: 69 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.053e-05/0.8532, allocations: 36 kB / 0.7558 GB, free: 68.96 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.862e-05/0.8532, allocations: 12 kB / 0.7558 GB, free: 68.95 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.818e-05/0.8533, allocations: 21.44 kB / 0.7558 GB, free: 68.93 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02658/0.8799, allocations: 18.01 MB / 0.7734 GB, free: 50.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-05/0.8799, allocations: 8 kB / 0.7734 GB, free: 50.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/0.8813, allocations: 0.5031 MB / 0.7739 GB, free: 50.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006433/0.8878, allocations: 3.831 MB / 0.7776 GB, free: 46.49 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005868/0.8883, allocations: 67.98 kB / 0.7777 GB, free: 46.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01541/0.9038, allocations: 18.82 MB / 0.7961 GB, free: 27.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.9038, allocations: 8 kB / 0.7961 GB, free: 27.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01627/0.92, allocations: 14.82 MB / 0.8106 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001715/0.9217, allocations: 0.5355 MB / 0.8111 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001089/0.9228, allocations: 68.05 kB / 0.8112 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00208/0.9249, allocations: 311.3 kB / 0.8115 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005623/0.9255, allocations: 249.5 kB / 0.8117 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001685/0.9256, allocations: 91.98 kB / 0.8118 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003969/0.9296, allocations: 3.427 MB / 0.8151 GB, free: 7.816 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9296, allocations: 0 / 0.8151 GB, free: 7.816 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008005/0.9376, allocations: 1.965 MB / 0.817 GB, free: 5.852 MB / 0.5261 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.0009918/0.9386, allocations: 270.1 kB / 0.8173 GB, free: 5.586 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01109/0.9497, allocations: 9.348 MB / 0.8264 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.274e-05/0.9497, allocations: 0 / 0.8264 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00441/0.9541, allocations: 3.452 MB / 0.8298 GB, free: 8.766 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00398/0.9581, allocations: 0.6488 MB / 0.8304 GB, free: 8.156 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2018/1.16, allocations: 16.72 MB / 0.8468 GB, free: 156 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006224/1.166, allocations: 4.298 MB / 0.851 GB, free: 155.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001696/1.168, allocations: 392.3 kB / 0.8513 GB, free: 155.6 MB / 0.5417 GB Notification: Performance of SimCode: time 1.553e-06/1.168, allocations: 3.672 kB / 0.8513 GB, free: 155.6 MB / 0.5417 GB Notification: Performance of Templates: time 0.1311/1.299, allocations: 125.4 MB / 0.9738 GB, free: 66.75 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 12.665824614465237]