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.001884/0.001884, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.002508/0.002508, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 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 1.478/1.478, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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.2154/0.2154, allocations: 34.28 MB / 295 MB, free: 14.58 MB / 286.1 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 2.054e-06/2.054e-06, allocations: 0 / 442.7 MB, free: 5.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.708e-05, allocations: 5.234 kB / 442.7 MB, free: 5.426 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.2192/0.2192, allocations: 14.15 MB / 456.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01066/0.2299, allocations: 5.104 MB / 461.9 MB, free: 8.398 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003305/0.2332, allocations: 117.9 kB / 462 MB, free: 8.363 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008165/0.2413, allocations: 4.265 MB / 466.3 MB, free: 6.566 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008057/0.2494, allocations: 2.896 MB / 469.2 MB, free: 5.188 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003152/0.2526, allocations: 1.4 MB / 470.6 MB, free: 4.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01152/0.2641, allocations: 8.783 MB / 479.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01071/0.2748, allocations: 5.488 MB / 484.9 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01112/0.2859, allocations: 4.144 MB / 489 MB, free: 7.695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007904/0.2938, allocations: 4.221 MB / 493.2 MB, free: 3.465 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002003/0.2958, allocations: 0.6094 MB / 493.8 MB, free: 2.855 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004572/0.3004, allocations: 1.74 MB / 495.6 MB, free: 1.113 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004683/0.3051, allocations: 3.522 MB / 499.1 MB, free: 13.58 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004789/0.3098, allocations: 2.216 MB / 0.4896 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01935/0.3292, allocations: 12.52 MB / 0.5018 GB, free: 14.8 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.3292, allocations: 0 / 0.5018 GB, free: 14.8 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3292, allocations: 7.938 kB / 0.5018 GB, free: 14.79 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004312/0.3296, allocations: 0 / 0.5018 GB, free: 14.79 MB / 414.1 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.02139/0.351, allocations: 8.06 MB / 0.5097 GB, free: 6.641 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.3511, allocations: 16.03 kB / 0.5097 GB, free: 6.625 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01878/0.3699, allocations: 4.259 MB / 0.5138 GB, free: 2.355 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01148/0.3813, allocations: 4.162 MB / 0.5179 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004365/0.3818, allocations: 396 kB / 0.5183 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002746/0.3845, allocations: 0.562 MB / 0.5188 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04001/0.4245, allocations: 18.97 MB / 0.5374 GB, free: 9.156 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002066/0.4247, allocations: 75.41 kB / 0.5374 GB, free: 9.082 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008247/0.4256, allocations: 251.7 kB / 0.5377 GB, free: 8.836 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006278/0.4318, allocations: 3.424 MB / 0.541 GB, free: 5.402 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04095/0.4728, allocations: 16.65 MB / 0.5573 GB, free: 4.742 MB / 462.1 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.1001/0.5728, allocations: 62.44 MB / 0.6183 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01653/0.5894, allocations: 5.343 MB / 0.6235 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004284/0.5937, allocations: 2.651 MB / 0.6261 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02376/0.6174, allocations: 10.88 MB / 0.6367 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.795e-05/0.6175, allocations: 60.5 kB / 0.6367 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=284): time 7.775e-06/0.6175, allocations: 0 / 0.6367 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of matching and sorting (n=345): time 0.3153/0.9328, allocations: 26.04 MB / 0.6622 GB, free: 160.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.13e-05/0.9328, allocations: 195.6 kB / 0.6624 GB, free: 160.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006374/0.9392, allocations: 5.848 MB / 0.6681 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004936/0.9397, allocations: 72.95 kB / 0.6681 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002124/0.9418, allocations: 5.144 MB / 0.6732 GB, free: 154.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001003/0.9428, allocations: 1.321 MB / 0.6745 GB, free: 153.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001979/0.9448, allocations: 1.895 MB / 0.6763 GB, free: 152.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.271e-05/0.9449, allocations: 305.1 kB / 0.6766 GB, free: 152.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004993/0.9499, allocations: 3.378 MB / 0.6799 GB, free: 151.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006676/0.9565, allocations: 8.917 MB / 0.6886 GB, free: 141.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01238/0.9689, allocations: 13.21 MB / 0.7015 GB, free: 126.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001713/0.9691, allocations: 56 kB / 0.7016 GB, free: 126.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02317/0.9923, allocations: 13.01 MB / 0.7143 GB, free: 113.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001687/0.9924, allocations: 88 kB / 0.7144 GB, free: 113 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002617/0.9927, allocations: 192 kB / 0.7145 GB, free: 112.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004007/0.9967, allocations: 1.319 MB / 0.7158 GB, free: 111.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006618/1.003, allocations: 2.227 MB / 0.718 GB, free: 109.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/1.014, allocations: 7.599 MB / 0.7254 GB, free: 101.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008649/1.023, allocations: 0.632 MB / 0.726 GB, free: 100.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001316/1.024, allocations: 0.5502 MB / 0.7266 GB, free: 100.4 MB / 0.5294 GB 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 (1179): * Single equations (assignments): 1172 * 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.006041/1.03, allocations: 3.457 MB / 0.73 GB, free: 96.91 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001687/1.032, allocations: 0.5006 MB / 0.7304 GB, free: 96.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/1.042, allocations: 5.344 MB / 0.7357 GB, free: 91 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.198e-05/1.042, allocations: 40 kB / 0.7357 GB, free: 90.96 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.785e-05/1.042, allocations: 4 kB / 0.7357 GB, free: 90.96 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.344e-05/1.042, allocations: 15.95 kB / 0.7357 GB, free: 90.95 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02741/1.07, allocations: 11.69 MB / 0.7471 GB, free: 79.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.55e-05/1.07, allocations: 12 kB / 0.7471 GB, free: 79.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002177/1.072, allocations: 0.4953 MB / 0.7476 GB, free: 78.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00328/1.075, allocations: 0.8165 MB / 0.7484 GB, free: 77.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003664/1.075, allocations: 67.98 kB / 0.7485 GB, free: 77.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008259/1.084, allocations: 5.588 MB / 0.7539 GB, free: 72.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.328e-06/1.084, allocations: 23.88 kB / 0.754 GB, free: 72.02 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01277/1.096, allocations: 8.246 MB / 0.762 GB, free: 63.49 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001679/1.098, allocations: 0.4965 MB / 0.7625 GB, free: 62.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007288/1.099, allocations: 67.92 kB / 0.7626 GB, free: 62.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002396/1.101, allocations: 191.8 kB / 0.7628 GB, free: 62.73 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004708/1.102, allocations: 233.3 kB / 0.763 GB, free: 62.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002066/1.102, allocations: 111.6 kB / 0.7631 GB, free: 62.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004671/1.107, allocations: 3.401 MB / 0.7664 GB, free: 59.01 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/1.107, allocations: 1.5 kB / 0.7664 GB, free: 59.01 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0089/1.115, allocations: 1.75 MB / 0.7681 GB, free: 57.26 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * 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 (269): * Single equations (assignments): 262 * 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,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008447/1.116, allocations: 286.3 kB / 0.7684 GB, free: 56.98 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01296/1.129, allocations: 7.602 MB / 0.7758 GB, free: 49.39 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.713e-05/1.129, allocations: 5.938 kB / 0.7758 GB, free: 49.39 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003533/1.133, allocations: 2.21 MB / 0.778 GB, free: 47.17 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004224/1.137, allocations: 0.5929 MB / 0.7786 GB, free: 46.59 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02388/1.161, allocations: 15.46 MB / 0.7937 GB, free: 30.94 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005437/1.166, allocations: 4.684 MB / 0.7982 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005955/1.172, allocations: 2.919 MB / 0.8011 GB, free: 23.29 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001185/1.174, allocations: 368.4 kB / 0.8014 GB, free: 22.93 MB / 0.5294 GB Notification: Performance of SimCode: time 1.102e-06/1.174, allocations: 4 kB / 0.8014 GB, free: 22.92 MB / 0.5294 GB Notification: Performance of Templates: time 0.3014/1.475, allocations: 50.64 MB / 0.8509 GB, free: 176 MB / 0.5606 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.44646954163909]