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.001063/0.001063, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001495/0.002559, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001074/0.001074, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001411/0.002485, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9914/0.9914, allocations: 177.2 MB / 189.6 MB, free: 5.293 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1063/1.098, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] 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.2698/0.2698, allocations: 34.25 MB / 278.2 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02461/0.2944, allocations: 13.1 MB / 291.3 MB, free: 7.348 MB / 282.7 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.392e-06/1.392e-06, allocations: 0 / 292.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.936e-05/2.075e-05, allocations: 3.859 kB / 292.6 MB, free: 6.297 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01127/0.01129, allocations: 15.2 MB / 307.8 MB, free: 7.031 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008706/0.02, allocations: 5.603 MB / 313.4 MB, free: 1.406 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001494/0.02149, allocations: 139.3 kB / 313.5 MB, free: 1.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004913/0.0264, allocations: 5.186 MB / 318.7 MB, free: 12.06 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004049/0.03045, allocations: 2.741 MB / 321.5 MB, free: 9.309 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002129/0.03258, allocations: 1.435 MB / 322.9 MB, free: 7.871 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007385/0.03997, allocations: 8.577 MB / 331.5 MB, free: 15.29 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005046/0.04501, allocations: 5.581 MB / 337.1 MB, free: 9.586 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005574/0.05058, allocations: 5.436 MB / 342.5 MB, free: 4.129 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004111/0.0547, allocations: 4.03 MB / 346.5 MB, free: 92 kB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007398/0.05544, allocations: 0.6446 MB / 347.2 MB, free: 15.44 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00201/0.05745, allocations: 1.771 MB / 349 MB, free: 13.67 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002257/0.0597, allocations: 3.204 MB / 352.2 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00205/0.06175, allocations: 1.827 MB / 354 MB, free: 8.629 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006855/0.06861, allocations: 6.988 MB / 361 MB, free: 1.617 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.52e-05/0.06862, allocations: 0 / 361 MB, free: 1.617 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.06862, allocations: 0 / 361 MB, free: 1.617 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002242/0.06885, allocations: 0 / 361 MB, free: 1.617 MB / 346.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.008729/0.07758, allocations: 8.759 MB / 369.7 MB, free: 8.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.07761, allocations: 12.03 kB / 369.7 MB, free: 8.758 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003533/0.08114, allocations: 1.585 MB / 371.3 MB, free: 7.172 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003788/0.08493, allocations: 3.471 MB / 374.8 MB, free: 3.602 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001728/0.0851, allocations: 378.2 kB / 375.2 MB, free: 3.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005455/0.08565, allocations: 0.512 MB / 375.7 MB, free: 2.719 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00773/0.09338, allocations: 7.428 MB / 383.1 MB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001145/0.09349, allocations: 67.44 kB / 383.2 MB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003675/0.09386, allocations: 231.8 kB / 383.4 MB, free: 10.06 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001843/0.0957, allocations: 2.314 MB / 385.7 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006383/0.1021, allocations: 3.745 MB / 389.5 MB, free: 3.953 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03286/0.1349, allocations: 43.03 MB / 432.5 MB, free: 7.512 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005558/0.1405, allocations: 2.691 MB / 435.2 MB, free: 4.785 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000751/0.1413, allocations: 0.637 MB / 435.8 MB, free: 4.141 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1629/0.3042, allocations: 6.639 MB / 442.5 MB, free: 99.01 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.3042, allocations: 60.62 kB / 442.5 MB, free: 98.97 MB / 426.7 MB Notification: Performance of pre-optimization done (n=229): time 3.927e-06/0.3042, allocations: 3.094 kB / 442.5 MB, free: 98.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=313): time 0.02939/0.3336, allocations: 12.45 MB / 455 MB, free: 98.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.3337, allocations: 163.9 kB / 455.1 MB, free: 98.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003527/0.3372, allocations: 4.428 MB / 459.6 MB, free: 98.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001457/0.3373, allocations: 73.27 kB / 459.6 MB, free: 98.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001505/0.3388, allocations: 4.178 MB / 463.8 MB, free: 95.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006036/0.3394, allocations: 1.202 MB / 465 MB, free: 95.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001241/0.3407, allocations: 1.594 MB / 466.6 MB, free: 94.83 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.52e-05/0.3407, allocations: 306.2 kB / 466.9 MB, free: 94.53 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001559/0.3423, allocations: 1.147 MB / 468 MB, free: 94.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002605/0.3449, allocations: 5.711 MB / 473.8 MB, free: 88.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004356/0.3492, allocations: 7.521 MB / 481.3 MB, free: 81.37 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.042e-05/0.3493, allocations: 44 kB / 481.3 MB, free: 81.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.007111/0.3564, allocations: 6.368 MB / 487.7 MB, free: 76.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.423e-05/0.3564, allocations: 75.94 kB / 487.8 MB, free: 76.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.356e-05/0.3565, allocations: 164 kB / 487.9 MB, free: 76.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003201/0.3597, allocations: 1.437 MB / 489.4 MB, free: 74.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003228/0.3629, allocations: 2.048 MB / 491.4 MB, free: 72.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006691/0.3696, allocations: 4.676 MB / 496.1 MB, free: 68.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004149/0.3738, allocations: 354.1 kB / 496.4 MB, free: 68.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004464/0.3742, allocations: 412 kB / 496.8 MB, free: 67.96 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 738 * 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 (1031): * Single equations (assignments): 1027 * 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,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001703/0.3759, allocations: 0.771 MB / 497.6 MB, free: 67.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000564/0.3765, allocations: 369 kB / 498 MB, free: 66.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004631/0.3811, allocations: 2.451 MB / 0.4887 GB, free: 64.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-05/0.3811, allocations: 33.95 kB / 0.4887 GB, free: 64.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.3812, allocations: 12.75 kB / 0.4887 GB, free: 64.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.856e-05/0.3812, allocations: 15.94 kB / 0.4887 GB, free: 64.26 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01168/0.3929, allocations: 8.269 MB / 0.4968 GB, free: 56.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.611e-05/0.3929, allocations: 19.94 kB / 0.4968 GB, free: 56.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001371/0.3942, allocations: 499.4 kB / 0.4973 GB, free: 56.14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005951/0.3948, allocations: 491.7 kB / 0.4978 GB, free: 55.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004116/0.399, allocations: 1.429 MB / 0.4992 GB, free: 54.24 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001643/0.3991, allocations: 71.98 kB / 0.4992 GB, free: 54.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005316/0.4044, allocations: 3.546 MB / 0.5027 GB, free: 50.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/0.4044, allocations: 15.94 kB / 0.5027 GB, free: 50.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005458/0.4099, allocations: 3.866 MB / 0.5065 GB, free: 46.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000541/0.4104, allocations: 67.98 kB / 0.5066 GB, free: 46.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/0.4118, allocations: 67.98 kB / 0.5066 GB, free: 46.28 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000272/0.4121, allocations: 233.2 kB / 0.5069 GB, free: 46.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/0.4122, allocations: 72 kB / 0.5069 GB, free: 45.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00121/0.4134, allocations: 1.727 MB / 0.5086 GB, free: 44.47 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4134, allocations: 0 / 0.5086 GB, free: 44.47 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004595/0.418, allocations: 1.75 MB / 0.5103 GB, free: 42.72 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * 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 (251): * Single equations (assignments): 247 * 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,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004617/0.4185, allocations: 269.5 kB / 0.5106 GB, free: 42.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003717/0.4222, allocations: 3.835 MB / 0.5143 GB, free: 38.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001873/0.4224, allocations: 144 kB / 0.5145 GB, free: 38.57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009107/0.4233, allocations: 1.133 MB / 0.5156 GB, free: 37.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002471/0.4258, allocations: 1.369 MB / 0.5169 GB, free: 36.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01487/0.4406, allocations: 12.29 MB / 0.5289 GB, free: 23.61 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001332/0.442, allocations: 1.972 MB / 0.5308 GB, free: 21.61 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001559/0.4435, allocations: 0.7209 MB / 0.5315 GB, free: 20.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/0.4446, allocations: 0.8043 MB / 0.5323 GB, free: 20.08 MB / 426.7 MB Notification: Performance of SimCode: time 1.433e-06/0.4446, allocations: 0 / 0.5323 GB, free: 20.08 MB / 426.7 MB Notification: Performance of Templates: time 0.07647/0.5211, allocations: 63.2 MB / 0.594 GB, free: 5.574 MB / 474.7 MB " [Timeout remaining time 659] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.730473951436579]