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.0009811/0.0009811, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001202/0.001202, allocations: 170.4 kB / 24.92 MB, free: 9.188 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.9332/0.9332, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.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.2434/0.2434, allocations: 34.26 MB / 296.1 MB, free: 0.6406 MB / 266.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.402e-06/1.402e-06, allocations: 0 / 325.2 MB, free: 7.668 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.275e-05/1.416e-05, allocations: 5.484 kB / 325.2 MB, free: 7.664 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01025/0.01027, allocations: 15.04 MB / 340.3 MB, free: 8.547 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009011/0.01928, allocations: 5.552 MB / 345.8 MB, free: 2.977 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00126/0.02054, allocations: 131.4 kB / 346 MB, free: 2.848 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004634/0.02517, allocations: 5.482 MB / 351.4 MB, free: 13.35 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003629/0.0288, allocations: 2.799 MB / 354.2 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001864/0.03067, allocations: 1.579 MB / 355.8 MB, free: 8.953 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007396/0.03806, allocations: 9.325 MB / 365.1 MB, free: 15.62 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004932/0.04299, allocations: 6.291 MB / 371.4 MB, free: 9.207 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004998/0.04799, allocations: 5.736 MB / 377.2 MB, free: 3.461 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002972/0.05096, allocations: 4.057 MB / 381.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005211/0.05148, allocations: 0.6484 MB / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001766/0.05325, allocations: 1.721 MB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001803/0.05505, allocations: 3.604 MB / 387.2 MB, free: 9.41 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001488/0.05654, allocations: 2.267 MB / 389.5 MB, free: 7.137 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004795/0.06134, allocations: 7.553 MB / 397 MB, free: 15.56 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.06134, allocations: 0 / 397 MB, free: 15.56 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.06134, allocations: 4 kB / 397 MB, free: 15.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.127e-05/0.06139, allocations: 0 / 397 MB, free: 15.55 MB / 378.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.007278/0.06867, allocations: 7.32 MB / 404.3 MB, free: 8.164 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.06871, allocations: 8.031 kB / 404.4 MB, free: 8.156 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003678/0.07239, allocations: 1.612 MB / 406 MB, free: 6.543 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003529/0.07592, allocations: 3.459 MB / 409.4 MB, free: 2.984 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/0.07608, allocations: 378.2 kB / 409.8 MB, free: 2.613 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005516/0.07663, allocations: 0.512 MB / 410.3 MB, free: 2.102 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007365/0.084, allocations: 7.424 MB / 417.7 MB, free: 9.746 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001495/0.08415, allocations: 71.41 kB / 417.8 MB, free: 9.676 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000442/0.08459, allocations: 239.8 kB / 418 MB, free: 9.441 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001741/0.08633, allocations: 2.298 MB / 420.3 MB, free: 7.141 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005733/0.09206, allocations: 3.754 MB / 424.1 MB, free: 3.328 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1849/0.2769, allocations: 43 MB / 467.1 MB, free: 78.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005692/0.2826, allocations: 2.728 MB / 469.8 MB, free: 78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008153/0.2834, allocations: 0.6517 MB / 470.5 MB, free: 77.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007896/0.2913, allocations: 6.66 MB / 477.1 MB, free: 77.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.2914, allocations: 55.84 kB / 477.2 MB, free: 77.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=229): time 3.266e-06/0.2914, allocations: 0 / 477.2 MB, free: 77.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=313): time 0.02986/0.3212, allocations: 12.73 MB / 489.9 MB, free: 68.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.3213, allocations: 235.7 kB / 490.1 MB, free: 67.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003072/0.3244, allocations: 4.426 MB / 494.6 MB, free: 64.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001415/0.3245, allocations: 73.7 kB / 494.6 MB, free: 64.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001042/0.3255, allocations: 4.189 MB / 498.8 MB, free: 60.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005209/0.3261, allocations: 1.19 MB / 0.4883 GB, free: 58.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001067/0.3271, allocations: 1.605 MB / 0.4899 GB, free: 57.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.887e-05/0.3272, allocations: 305.1 kB / 0.4902 GB, free: 56.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001538/0.3287, allocations: 1.141 MB / 0.4913 GB, free: 55.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002528/0.3312, allocations: 5.709 MB / 0.4968 GB, free: 47.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004159/0.3354, allocations: 7.532 MB / 0.5042 GB, free: 38.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-05/0.3354, allocations: 44 kB / 0.5042 GB, free: 38.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.006946/0.3424, allocations: 6.348 MB / 0.5104 GB, free: 31.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.008e-05/0.3424, allocations: 76.77 kB / 0.5105 GB, free: 31.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.682e-05/0.3425, allocations: 160 kB / 0.5107 GB, free: 31.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003304/0.3458, allocations: 1.457 MB / 0.5121 GB, free: 30.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002627/0.3484, allocations: 1.829 MB / 0.5139 GB, free: 28.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006801/0.3552, allocations: 4.663 MB / 0.5184 GB, free: 23.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003989/0.3592, allocations: 351.6 kB / 0.5188 GB, free: 23.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004416/0.3597, allocations: 412 kB / 0.5192 GB, free: 22.92 MB / 410.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.001835/0.3615, allocations: 0.778 MB / 0.5199 GB, free: 22.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006523/0.3622, allocations: 359.6 kB / 0.5203 GB, free: 21.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004645/0.3668, allocations: 2.452 MB / 0.5227 GB, free: 19.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.562e-05/0.3668, allocations: 32 kB / 0.5227 GB, free: 19.24 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/0.3668, allocations: 14.84 kB / 0.5227 GB, free: 19.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.878e-05/0.3669, allocations: 15.89 kB / 0.5227 GB, free: 19.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01241/0.3793, allocations: 8.267 MB / 0.5308 GB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/0.3793, allocations: 16 kB / 0.5308 GB, free: 10.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/0.3805, allocations: 424 kB / 0.5312 GB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004228/0.3847, allocations: 1.438 MB / 0.5326 GB, free: 8.793 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000182/0.3849, allocations: 62.84 kB / 0.5327 GB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005483/0.3904, allocations: 3.529 MB / 0.5361 GB, free: 5.109 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.081e-05/0.3904, allocations: 31.22 kB / 0.5361 GB, free: 5.082 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005308/0.3957, allocations: 3.857 MB / 0.5399 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006723/0.3964, allocations: 492.4 kB / 0.5404 GB, free: 408 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003766/0.3967, allocations: 70.95 kB / 0.5405 GB, free: 340 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009872/0.3977, allocations: 76 kB / 0.5405 GB, free: 264 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002479/0.398, allocations: 233.2 kB / 0.5407 GB, free: 28 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001369/0.3981, allocations: 75.98 kB / 0.5408 GB, free: 15.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001607/0.3997, allocations: 1.716 MB / 0.5425 GB, free: 14.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3997, allocations: 0 / 0.5425 GB, free: 14.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004815/0.4045, allocations: 1.746 MB / 0.5442 GB, free: 12.5 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.0004443/0.405, allocations: 263.3 kB / 0.5445 GB, free: 12.24 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006749/0.4117, allocations: 3.839 MB / 0.5482 GB, free: 8.395 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0003607/0.4121, allocations: 116.2 kB / 0.5483 GB, free: 8.273 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00158/0.4137, allocations: 1.129 MB / 0.5494 GB, free: 7.129 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003767/0.4174, allocations: 0.9912 MB / 0.5504 GB, free: 6.168 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02003/0.4375, allocations: 11.99 MB / 0.5621 GB, free: 9.902 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002797/0.4403, allocations: 1.967 MB / 0.564 GB, free: 7.906 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002655/0.4429, allocations: 0.713 MB / 0.5647 GB, free: 7.191 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001714/0.4446, allocations: 0.8057 MB / 0.5655 GB, free: 6.383 MB / 442.7 MB Notification: Performance of SimCode: time 2.004e-06/0.4446, allocations: 0 / 0.5655 GB, free: 6.383 MB / 442.7 MB Notification: Performance of Templates: time 0.2275/0.6722, allocations: 62.03 MB / 0.6261 GB, free: 149 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 -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.9162369151599705]