Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0009276/0.0009276, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009604/0.0009604, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.9509/0.9509, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.2504/0.2504, allocations: 34.26 MB / 296.1 MB, free: 0.6797 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.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 325.3 MB, free: 7.699 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.298e-05/1.437e-05, allocations: 2.969 kB / 325.3 MB, free: 7.695 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01141/0.01142, allocations: 15.32 MB / 340.6 MB, free: 8.301 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008804/0.02023, allocations: 5.417 MB / 346 MB, free: 2.867 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001405/0.02163, allocations: 119.4 kB / 346.1 MB, free: 2.75 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004478/0.02611, allocations: 4.395 MB / 350.5 MB, free: 14.34 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004221/0.03033, allocations: 2.881 MB / 353.4 MB, free: 11.45 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001657/0.03199, allocations: 1.423 MB / 354.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006367/0.03836, allocations: 8.789 MB / 363.6 MB, free: 1.215 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004032/0.04239, allocations: 5.457 MB / 369.1 MB, free: 11.65 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004023/0.04641, allocations: 4.577 MB / 373.7 MB, free: 7.066 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003454/0.04987, allocations: 4.076 MB / 377.7 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000592/0.05046, allocations: 0.6016 MB / 378.3 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002002/0.05246, allocations: 1.783 MB / 380.1 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002228/0.05469, allocations: 3.534 MB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001607/0.0563, allocations: 2.208 MB / 385.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00614/0.06243, allocations: 7.909 MB / 393.8 MB, free: 2.898 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.06244, allocations: 8 kB / 393.8 MB, free: 2.891 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.06244, allocations: 0 / 393.8 MB, free: 2.891 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.802e-05/0.06253, allocations: 0 / 393.8 MB, free: 2.891 MB / 362.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.007269/0.0698, allocations: 7.369 MB / 401.1 MB, free: 11.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.06983, allocations: 12.03 kB / 401.2 MB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005309/0.07514, allocations: 2.193 MB / 403.3 MB, free: 9.234 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00333/0.07847, allocations: 3.035 MB / 406.4 MB, free: 6.141 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001797/0.07865, allocations: 390.4 kB / 406.8 MB, free: 5.758 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006421/0.07929, allocations: 0.5566 MB / 407.3 MB, free: 5.203 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01006/0.08935, allocations: 8.689 MB / 416 MB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001193/0.08947, allocations: 71.33 kB / 416.1 MB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000413/0.08988, allocations: 255.7 kB / 416.3 MB, free: 11.13 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002727/0.09261, allocations: 3.081 MB / 419.4 MB, free: 8.039 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008442/0.1011, allocations: 4.87 MB / 424.3 MB, free: 3.137 MB / 394.7 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.201/0.3021, allocations: 50.57 MB / 474.8 MB, free: 70.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005824/0.3079, allocations: 2.921 MB / 477.8 MB, free: 69.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007754/0.3087, allocations: 0.6839 MB / 478.4 MB, free: 69.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007927/0.3166, allocations: 7.019 MB / 485.5 MB, free: 69.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.3166, allocations: 61.84 kB / 485.5 MB, free: 68.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=286): time 3.847e-06/0.3166, allocations: 0 / 485.5 MB, free: 68.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=352): time 0.02129/0.3379, allocations: 10.74 MB / 496.3 MB, free: 61.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.338, allocations: 188.1 kB / 496.5 MB, free: 61.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002824/0.3408, allocations: 4.557 MB / 0.4893 GB, free: 57.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001362/0.3409, allocations: 77.7 kB / 0.4893 GB, free: 57.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00111/0.342, allocations: 4.838 MB / 0.4941 GB, free: 53.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004926/0.3425, allocations: 1.348 MB / 0.4954 GB, free: 51.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001183/0.3437, allocations: 1.792 MB / 0.4971 GB, free: 49.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.837e-05/0.3438, allocations: 305.1 kB / 0.4974 GB, free: 49.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001715/0.3455, allocations: 1.286 MB / 0.4987 GB, free: 48.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002735/0.3482, allocations: 6.624 MB / 0.5051 GB, free: 39.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004517/0.3527, allocations: 8.714 MB / 0.5137 GB, free: 27.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.42e-05/0.3528, allocations: 56 kB / 0.5137 GB, free: 27.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=1269) (initialization): time 0.006896/0.3597, allocations: 6.912 MB / 0.5205 GB, free: 20.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.632e-05/0.3597, allocations: 92.03 kB / 0.5206 GB, free: 20.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-05/0.3598, allocations: 192 kB / 0.5207 GB, free: 20.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00194/0.3617, allocations: 0.976 MB / 0.5217 GB, free: 19.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003205/0.3649, allocations: 2.215 MB / 0.5238 GB, free: 17.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003677/0.3686, allocations: 3.607 MB / 0.5274 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002883/0.3715, allocations: 403.7 kB / 0.5278 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003936/0.3719, allocations: 484 kB / 0.5282 GB, free: 12.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 880 * 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 (1184): * Single equations (assignments): 1177 * 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,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0017/0.3736, allocations: 0.8807 MB / 0.5291 GB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004222/0.374, allocations: 371.5 kB / 0.5294 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00315/0.3772, allocations: 2.282 MB / 0.5317 GB, free: 9.316 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.151e-05/0.3772, allocations: 39.81 kB / 0.5317 GB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.3772, allocations: 8 kB / 0.5317 GB, free: 9.273 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/0.3772, allocations: 15.94 kB / 0.5317 GB, free: 9.258 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009156/0.3864, allocations: 8.261 MB / 0.5398 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.3864, allocations: 16.03 kB / 0.5398 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.3875, allocations: 0.5071 MB / 0.5403 GB, free: 156 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001861/0.3893, allocations: 0.8526 MB / 0.5411 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001327/0.3895, allocations: 67.94 kB / 0.5412 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002953/0.3924, allocations: 2.47 MB / 0.5436 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-05/0.3924, allocations: 23.88 kB / 0.5436 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004514/0.397, allocations: 3.607 MB / 0.5472 GB, free: 8.645 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005884/0.3975, allocations: 484.4 kB / 0.5476 GB, free: 8.168 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003416/0.3979, allocations: 79.66 kB / 0.5477 GB, free: 8.094 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009252/0.3988, allocations: 76.02 kB / 0.5478 GB, free: 8.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002982/0.3991, allocations: 241.2 kB / 0.548 GB, free: 7.785 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001321/0.3992, allocations: 83.98 kB / 0.5481 GB, free: 7.703 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00141/0.4007, allocations: 1.68 MB / 0.5497 GB, free: 6.035 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4007, allocations: 0 / 0.5497 GB, free: 6.035 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005263/0.4059, allocations: 1.754 MB / 0.5514 GB, free: 4.281 MB / 426.7 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 (279): * Single equations (assignments): 272 * 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,27,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005523/0.4065, allocations: 283.9 kB / 0.5517 GB, free: 3.996 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006/0.4125, allocations: 4.21 MB / 0.5558 GB, free: 15.79 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002369/0.4127, allocations: 120.2 kB / 0.5559 GB, free: 15.66 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001595/0.4143, allocations: 1.126 MB / 0.557 GB, free: 14.52 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002462/0.4168, allocations: 0.6297 MB / 0.5576 GB, free: 13.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01792/0.4347, allocations: 13.17 MB / 0.5705 GB, free: 436 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002244/0.4369, allocations: 2.117 MB / 0.5726 GB, free: 14.27 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002492/0.4394, allocations: 0.7816 MB / 0.5733 GB, free: 13.49 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001699/0.4411, allocations: 0.8409 MB / 0.5742 GB, free: 12.65 MB / 458.7 MB Notification: Performance of SimCode: time 1.402e-06/0.4411, allocations: 4 kB / 0.5742 GB, free: 12.64 MB / 458.7 MB Notification: Performance of Templates: time 0.2692/0.7103, allocations: 56.64 MB / 0.6295 GB, free: 168.3 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.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.878558642230928]