Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00172/0.00172, allocations: 83.03 kB / 20.52 MB, free: 1.277 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.002434/0.002434, allocations: 163.3 kB / 23.76 MB, free: 4.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 158.6 MB / 185.5 MB, free: 6.215 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2201/0.2201, allocations: 32.37 MB / 270.1 MB, free: 2.707 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.003537/0.003537, allocations: 75.89 kB / 407.8 MB, free: 5.551 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1518, allocations: 61.03 MB / 468.8 MB, free: 8.332 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.3012/0.4529, allocations: 13.97 MB / 482.8 MB, free: 42.87 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01064/0.4636, allocations: 5.226 MB / 488 MB, free: 40.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003461/0.467, allocations: 130.2 kB / 488.1 MB, free: 40.44 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007851/0.4749, allocations: 4.992 MB / 493.1 MB, free: 38.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007231/0.4821, allocations: 2.725 MB / 495.8 MB, free: 37.01 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003079/0.4852, allocations: 1.4 MB / 497.2 MB, free: 36.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009639/0.4948, allocations: 7.601 MB / 0.493 GB, free: 33.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006988/0.5018, allocations: 5.192 MB / 0.4981 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006411/0.5082, allocations: 2.837 MB / 0.5008 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008274/0.5165, allocations: 3.796 MB / 0.5045 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003317/0.5198, allocations: 0.6353 MB / 0.5052 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006363/0.5262, allocations: 1.675 MB / 0.5068 GB, free: 28.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00766/0.5338, allocations: 3.454 MB / 0.5102 GB, free: 27.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01122/0.5451, allocations: 2.81 MB / 0.5129 GB, free: 25.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02096/0.566, allocations: 12.1 MB / 0.5247 GB, free: 17.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.566, allocations: 0 / 0.5247 GB, free: 17.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.566, allocations: 0.5625 kB / 0.5247 GB, free: 17.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005938/0.5666, allocations: 0 / 0.5247 GB, free: 17.61 MB / 446.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.03028/0.5969, allocations: 8.048 MB / 0.5326 GB, free: 12.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.597, allocations: 9.625 kB / 0.5326 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01685/0.6138, allocations: 3.225 MB / 0.5358 GB, free: 9.234 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01582/0.6296, allocations: 5.218 MB / 0.5408 GB, free: 3.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002922/0.6299, allocations: 382.4 kB / 0.5412 GB, free: 3.555 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003299/0.6332, allocations: 0.5191 MB / 0.5417 GB, free: 3.035 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03592/0.6691, allocations: 15.66 MB / 0.557 GB, free: 2.449 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002604/0.6694, allocations: 59.53 kB / 0.5571 GB, free: 2.391 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001076/0.6705, allocations: 235.8 kB / 0.5573 GB, free: 2.16 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00436/0.6748, allocations: 2.556 MB / 0.5598 GB, free: 15.6 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03405/0.7089, allocations: 13.09 MB / 0.5726 GB, free: 2.492 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08883/0.7977, allocations: 52.79 MB / 0.6241 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0191/0.8168, allocations: 5.907 MB / 0.6299 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00542/0.8222, allocations: 3.236 MB / 0.633 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01932/0.8416, allocations: 9.291 MB / 0.6421 GB, free: 9.891 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.013e-05/0.8416, allocations: 64.5 kB / 0.6422 GB, free: 9.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=248): time 5.24e-06/0.8416, allocations: 0 / 0.6422 GB, free: 9.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=343): time 0.1575/0.9991, allocations: 40.74 MB / 0.682 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002562/0.9994, allocations: 243.9 kB / 0.6822 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01015/1.01, allocations: 5.493 MB / 0.6876 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.00102/1.011, allocations: 77.7 kB / 0.6876 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.004335/1.015, allocations: 4.542 MB / 0.6921 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002436/1.017, allocations: 1.322 MB / 0.6934 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00316/1.02, allocations: 1.758 MB / 0.6951 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001455/1.021, allocations: 305.1 kB / 0.6954 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2983/1.319, allocations: 4.072 MB / 0.6993 GB, free: 181.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008766/1.328, allocations: 8.728 MB / 0.7079 GB, free: 175.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01572/1.343, allocations: 13.55 MB / 0.7211 GB, free: 165.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001635/1.344, allocations: 44.72 kB / 0.7211 GB, free: 165.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1128) (initialization): time 0.03844/1.382, allocations: 16.29 MB / 0.737 GB, free: 159.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001731/1.382, allocations: 72.88 kB / 0.7371 GB, free: 159.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003214/1.383, allocations: 156.8 kB / 0.7373 GB, free: 159.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01588/1.398, allocations: 4.272 MB / 0.7414 GB, free: 159.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0081/1.406, allocations: 1.891 MB / 0.7433 GB, free: 158.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03309/1.44, allocations: 21.17 MB / 0.764 GB, free: 149.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008593/1.448, allocations: 0.5076 MB / 0.7645 GB, free: 149.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001966/1.45, allocations: 483.6 kB / 0.7649 GB, free: 149.5 MB / 0.5919 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.007702/1.458, allocations: 3.133 MB / 0.768 GB, free: 148 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001344/1.459, allocations: 0.5021 MB / 0.7685 GB, free: 147.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01939/1.479, allocations: 10.01 MB / 0.7782 GB, free: 140 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.322e-05/1.479, allocations: 43.94 kB / 0.7783 GB, free: 139.9 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.406e-05/1.479, allocations: 12 kB / 0.7783 GB, free: 139.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.19e-05/1.479, allocations: 22.66 kB / 0.7783 GB, free: 139.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03989/1.519, allocations: 17.85 MB / 0.7957 GB, free: 123.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.192e-05/1.519, allocations: 8.875 kB / 0.7957 GB, free: 123.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002641/1.521, allocations: 0.4992 MB / 0.7962 GB, free: 123.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01286/1.534, allocations: 3.834 MB / 0.8 GB, free: 119.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009857/1.535, allocations: 65.3 kB / 0.8 GB, free: 119.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02479/1.56, allocations: 18.74 MB / 0.8183 GB, free: 100.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-06/1.56, allocations: 21.66 kB / 0.8184 GB, free: 100.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0265/1.586, allocations: 14.85 MB / 0.8329 GB, free: 85.86 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004194/1.591, allocations: 1.076 MB / 0.8339 GB, free: 84.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001857/1.592, allocations: 64 kB / 0.834 GB, free: 84.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004237/1.597, allocations: 227.7 kB / 0.8342 GB, free: 84.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008223/1.598, allocations: 246.1 kB / 0.8344 GB, free: 84.26 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002865/1.598, allocations: 88 kB / 0.8345 GB, free: 84.18 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006335/1.604, allocations: 3.26 MB / 0.8377 GB, free: 80.93 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.31e-07/1.604, allocations: 4 kB / 0.8377 GB, free: 80.93 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01175/1.616, allocations: 1.778 MB / 0.8394 GB, free: 79.16 MB / 0.5919 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.001365/1.617, allocations: 264.9 kB / 0.8397 GB, free: 78.91 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01622/1.634, allocations: 9.325 MB / 0.8488 GB, free: 69.59 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.95e-05/1.634, allocations: 4 kB / 0.8488 GB, free: 69.59 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006564/1.64, allocations: 3.453 MB / 0.8522 GB, free: 66.11 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008021/1.648, allocations: 0.6468 MB / 0.8528 GB, free: 65.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03736/1.685, allocations: 16.24 MB / 0.8687 GB, free: 49.15 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01006/1.696, allocations: 4.345 MB / 0.8729 GB, free: 44.79 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007137/1.703, allocations: 2.532 MB / 0.8754 GB, free: 42.25 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00169/1.704, allocations: 336.4 kB / 0.8757 GB, free: 41.93 MB / 0.5919 GB Notification: Performance of SimCode: time 1.472e-06/1.704, allocations: 0 / 0.8757 GB, free: 41.93 MB / 0.5919 GB Notification: Performance of Templates: time 0.3916/2.096, allocations: 71.11 MB / 0.9452 GB, free: 181.3 MB / 0.6075 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 9.20163996797055]