Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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.001456/0.001456, allocations: 96.2 kB / 20.21 MB, free: 4.199 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.001565/0.001565, allocations: 161.3 kB / 23.52 MB, free: 0.8945 MB / 18.57 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.471/1.471, allocations: 158.6 MB / 185.3 MB, free: 2.895 MB / 170.7 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.2253/0.2253, allocations: 32.37 MB / 270 MB, free: 14.79 MB / 266.7 MB " [Timeout remaining time 180] 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.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.842e-05/3.001e-05, allocations: 2.312 kB / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01554/0.01557, allocations: 14.27 MB / 361.2 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01451/0.03008, allocations: 5.077 MB / 366.3 MB, free: 6.387 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004117/0.0342, allocations: 119.4 kB / 366.4 MB, free: 6.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01026/0.04445, allocations: 4.349 MB / 370.7 MB, free: 1.906 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009712/0.05416, allocations: 2.943 MB / 373.7 MB, free: 14.95 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004114/0.05828, allocations: 1.423 MB / 375.1 MB, free: 13.52 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01508/0.07336, allocations: 8.43 MB / 383.5 MB, free: 5.078 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01071/0.08407, allocations: 5.671 MB / 389.2 MB, free: 15.32 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01041/0.09448, allocations: 4.163 MB / 393.4 MB, free: 11.16 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008466/0.1029, allocations: 4.26 MB / 397.6 MB, free: 6.887 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002421/0.1054, allocations: 0.6094 MB / 398.2 MB, free: 6.277 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004943/0.1103, allocations: 1.752 MB / 400 MB, free: 4.523 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006563/0.1169, allocations: 3.58 MB / 403.6 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0077/0.1246, allocations: 2.251 MB / 405.8 MB, free: 14.68 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02209/0.1467, allocations: 12.65 MB / 418.5 MB, free: 1.984 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.1467, allocations: 0 / 418.5 MB, free: 1.984 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1467, allocations: 0 / 418.5 MB, free: 1.984 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005011/0.1472, allocations: 0 / 418.5 MB, free: 1.984 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: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.02736/0.1745, allocations: 8.137 MB / 426.6 MB, free: 9.766 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.1746, allocations: 15.97 kB / 426.6 MB, free: 9.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02246/0.1971, allocations: 5.137 MB / 431.8 MB, free: 4.602 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01198/0.209, allocations: 4.354 MB / 436.1 MB, free: 204 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.3084/0.5174, allocations: 395.1 kB / 436.5 MB, free: 85.75 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003135/0.5206, allocations: 0.551 MB / 437 MB, free: 85.75 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04396/0.5645, allocations: 19.02 MB / 456.1 MB, free: 73.35 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003653/0.5649, allocations: 71.41 kB / 456.1 MB, free: 73.29 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002318/0.5672, allocations: 250.3 kB / 456.4 MB, free: 73.11 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004809/0.572, allocations: 3.435 MB / 459.8 MB, free: 69.69 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03272/0.6047, allocations: 16.69 MB / 476.5 MB, free: 53.03 MB / 362.8 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09593/0.7007, allocations: 62.8 MB / 0.5267 GB, free: 5.309 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01909/0.7198, allocations: 5.392 MB / 0.5319 GB, free: 15.87 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005948/0.7257, allocations: 2.705 MB / 0.5346 GB, free: 13.15 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03408/0.7598, allocations: 11.12 MB / 0.5454 GB, free: 2.164 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001137/0.7599, allocations: 64.55 kB / 0.5455 GB, free: 2.094 MB / 394.8 MB Notification: Performance of pre-optimization done (n=288): time 1.04e-05/0.7599, allocations: 0 / 0.5455 GB, free: 2.094 MB / 394.8 MB Notification: Performance of matching and sorting (n=355): time 0.1221/0.882, allocations: 27.87 MB / 0.5727 GB, free: 6.625 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001811/0.8822, allocations: 192.3 kB / 0.5729 GB, free: 6.398 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01477/0.897, allocations: 5.932 MB / 0.5787 GB, free: 0.5273 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009059/0.8979, allocations: 77.7 kB / 0.5788 GB, free: 456 kB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006115/0.904, allocations: 5.126 MB / 0.5838 GB, free: 11.27 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002539/0.9066, allocations: 1.353 MB / 0.5851 GB, free: 9.91 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006122/0.9127, allocations: 1.894 MB / 0.5869 GB, free: 8.004 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.9129, allocations: 305.1 kB / 0.5872 GB, free: 7.703 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008096/0.921, allocations: 3.49 MB / 0.5906 GB, free: 4.203 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2216/1.143, allocations: 8.987 MB / 0.5994 GB, free: 140.8 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01782/1.16, allocations: 13.41 MB / 0.6125 GB, free: 130.7 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004986/1.161, allocations: 54.59 kB / 0.6126 GB, free: 130.7 MB / 442.8 MB Notification: Performance of matching and sorting (n=1264) (initialization): time 0.03397/1.195, allocations: 13.76 MB / 0.626 GB, free: 125.8 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006187/1.195, allocations: 91.84 kB / 0.6261 GB, free: 125.8 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007073/1.196, allocations: 190.7 kB / 0.6263 GB, free: 125.8 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006405/1.203, allocations: 1.668 MB / 0.6279 GB, free: 125.5 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008744/1.211, allocations: 2.227 MB / 0.6301 GB, free: 124.7 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01305/1.224, allocations: 8.122 MB / 0.638 GB, free: 117.5 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009818/1.234, allocations: 0.6416 MB / 0.6386 GB, free: 117 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00208/1.236, allocations: 0.5502 MB / 0.6392 GB, free: 116.5 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 872 * Number of states: 0 () * Number of discrete variables: 46 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1178): * Single equations (assignments): 1171 * Array equations: 6 * 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 {(2,37,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008274/1.245, allocations: 3.461 MB / 0.6426 GB, free: 113.6 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001678/1.246, allocations: 0.5968 MB / 0.6431 GB, free: 113.3 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01239/1.259, allocations: 5.725 MB / 0.6487 GB, free: 108.4 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.611e-05/1.259, allocations: 40 kB / 0.6488 GB, free: 108.4 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.978e-05/1.259, allocations: 11.94 kB / 0.6488 GB, free: 108.4 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.399e-05/1.259, allocations: 15.95 kB / 0.6488 GB, free: 108.3 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03358/1.292, allocations: 12.79 MB / 0.6613 GB, free: 95.51 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.542e-05/1.292, allocations: 16 kB / 0.6613 GB, free: 95.5 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002483/1.295, allocations: 0.5274 MB / 0.6618 GB, free: 94.97 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004334/1.299, allocations: 0.9814 MB / 0.6628 GB, free: 94 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005712/1.3, allocations: 71.98 kB / 0.6628 GB, free: 93.93 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008679/1.308, allocations: 5.379 MB / 0.6681 GB, free: 88.5 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.621e-05/1.309, allocations: 19.94 kB / 0.6681 GB, free: 88.48 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01504/1.324, allocations: 8.576 MB / 0.6765 GB, free: 79.84 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002981/1.327, allocations: 0.9014 MB / 0.6774 GB, free: 78.96 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001666/1.328, allocations: 67.98 kB / 0.6774 GB, free: 78.9 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003432/1.332, allocations: 219.7 kB / 0.6776 GB, free: 78.68 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000555/1.332, allocations: 253.1 kB / 0.6779 GB, free: 78.44 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002671/1.332, allocations: 108 kB / 0.678 GB, free: 78.34 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.006278/1.339, allocations: 3.487 MB / 0.6814 GB, free: 74.86 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.2e-07/1.339, allocations: 4.062 kB / 0.6814 GB, free: 74.86 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01051/1.349, allocations: 1.794 MB / 0.6832 GB, free: 73.08 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 66 * Number of states: 2 (j2.s,j2.v) * 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 (281): * Single equations (assignments): 274 * Array equations: 6 * 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 {(2,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001375/1.351, allocations: 306.7 kB / 0.6834 GB, free: 72.8 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01455/1.365, allocations: 7.765 MB / 0.691 GB, free: 65.05 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.307e-05/1.365, allocations: 4 kB / 0.691 GB, free: 65.05 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004219/1.369, allocations: 2.268 MB / 0.6932 GB, free: 62.78 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006194/1.376, allocations: 0.6493 MB / 0.6939 GB, free: 62.15 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03238/1.408, allocations: 15.87 MB / 0.7094 GB, free: 46 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008594/1.417, allocations: 4.705 MB / 0.714 GB, free: 41.24 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.00757/1.424, allocations: 2.947 MB / 0.7169 GB, free: 38.29 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001706/1.426, allocations: 376.4 kB / 0.7172 GB, free: 37.92 MB / 442.8 MB Notification: Performance of SimCode: time 1.472e-06/1.426, allocations: 0 / 0.7172 GB, free: 37.92 MB / 442.8 MB Notification: Performance of Templates: time 0.2915/1.717, allocations: 52.78 MB / 0.7688 GB, free: 141.8 MB / 458.8 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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.727027594926767]