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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 114.4 kB / 17.08 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.001141, allocations: 194.5 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2376/0.2376, allocations: 43.52 MB / 314.8 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 65.41 kB / 442.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.14, allocations: 57.79 MB / 0.4885 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01913/0.1591, allocations: 16.38 MB / 0.5045 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0134/0.1726, allocations: 5.315 MB / 0.5097 GB, free: 5.996 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003861/0.1765, allocations: 95.75 kB / 0.5098 GB, free: 5.902 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008938/0.1855, allocations: 4.166 MB / 0.5139 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009037/0.1946, allocations: 2.766 MB / 0.5166 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003535/0.1982, allocations: 1.267 MB / 0.5178 GB, free: 13.67 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01277/0.211, allocations: 7.446 MB / 0.5251 GB, free: 6.207 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0109/0.2219, allocations: 5.86 MB / 0.5308 GB, free: 276 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3253/0.5473, allocations: 2.689 MB / 0.5334 GB, free: 9.066 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009111/0.5564, allocations: 3.792 MB / 0.5371 GB, free: 8.691 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00273/0.5592, allocations: 0.595 MB / 0.5377 GB, free: 8.691 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005721/0.5649, allocations: 1.761 MB / 0.5394 GB, free: 8.691 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006248/0.5712, allocations: 3.344 MB / 0.5427 GB, free: 8.363 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009104/0.5803, allocations: 3.81 MB / 0.5464 GB, free: 7.051 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02084/0.6012, allocations: 12.39 MB / 0.5585 GB, free: 4.348 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.6013, allocations: 0 / 0.5585 GB, free: 4.348 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.6013, allocations: 0 / 0.5585 GB, free: 4.348 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005365/0.6018, allocations: 0.8438 kB / 0.5585 GB, free: 4.348 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.02692/0.6287, allocations: 7.904 MB / 0.5662 GB, free: 15.36 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.6288, allocations: 12.95 kB / 0.5663 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01764/0.6465, allocations: 3.941 MB / 0.5701 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01187/0.6584, allocations: 4.47 MB / 0.5745 GB, free: 10.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003333/0.6588, allocations: 406.5 kB / 0.5749 GB, free: 10.76 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002567/0.6613, allocations: 0.5503 MB / 0.5754 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04436/0.7057, allocations: 18.87 MB / 0.5938 GB, free: 9.484 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004448/0.7062, allocations: 70.83 kB / 0.5939 GB, free: 9.445 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002953/0.7092, allocations: 248.5 kB / 0.5941 GB, free: 9.266 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00629/0.7155, allocations: 3.429 MB / 0.5975 GB, free: 5.879 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04267/0.7582, allocations: 16.63 MB / 0.6137 GB, free: 5.523 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.1098/0.868, allocations: 66.6 MB / 0.6788 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01671/0.8848, allocations: 6.281 MB / 0.6849 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004424/0.8892, allocations: 2.828 MB / 0.6877 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02541/0.9147, allocations: 13.84 MB / 0.7012 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.911e-05/0.9148, allocations: 67.16 kB / 0.7012 GB, free: 10.05 MB / 0.545 GB Notification: Performance of pre-optimization done (n=284): time 6.763e-06/0.9148, allocations: 0 / 0.7012 GB, free: 10.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=345): time 0.09494/1.01, allocations: 25.1 MB / 0.7257 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/1.01, allocations: 191.1 kB / 0.7259 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01603/1.026, allocations: 5.913 MB / 0.7317 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0007878/1.027, allocations: 71.89 kB / 0.7318 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00477/1.032, allocations: 4.963 MB / 0.7366 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00199/1.034, allocations: 1.284 MB / 0.7379 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006797/1.04, allocations: 1.901 MB / 0.7397 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001373/1.041, allocations: 305.1 kB / 0.74 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006876/1.047, allocations: 3.353 MB / 0.7433 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01322/1.061, allocations: 8.875 MB / 0.752 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3899/1.451, allocations: 13.19 MB / 0.7648 GB, free: 189 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002253/1.451, allocations: 55.09 kB / 0.7649 GB, free: 189 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.035/1.486, allocations: 12.99 MB / 0.7776 GB, free: 185.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001952/1.486, allocations: 88.62 kB / 0.7777 GB, free: 185.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004324/1.487, allocations: 191.8 kB / 0.7778 GB, free: 185.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005495/1.492, allocations: 1.328 MB / 0.7791 GB, free: 184.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00861/1.501, allocations: 2.209 MB / 0.7813 GB, free: 184.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01197/1.513, allocations: 7.846 MB / 0.789 GB, free: 180.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009031/1.522, allocations: 0.4952 MB / 0.7894 GB, free: 180.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002557/1.525, allocations: 0.5555 MB / 0.79 GB, free: 180.2 MB / 0.5919 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.009579/1.534, allocations: 3.457 MB / 0.7934 GB, free: 178.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001989/1.536, allocations: 0.5228 MB / 0.7939 GB, free: 178.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0122/1.548, allocations: 5.402 MB / 0.7992 GB, free: 176.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.007e-05/1.548, allocations: 34.8 kB / 0.7992 GB, free: 176.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-05/1.548, allocations: 7.625 kB / 0.7992 GB, free: 176.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.438e-05/1.548, allocations: 14.58 kB / 0.7992 GB, free: 176.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02903/1.578, allocations: 13.93 MB / 0.8128 GB, free: 166.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.666e-05/1.578, allocations: 12 kB / 0.8128 GB, free: 166.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002086/1.58, allocations: 0.495 MB / 0.8133 GB, free: 166 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00315/1.583, allocations: 0.8132 MB / 0.8141 GB, free: 165.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003149/1.583, allocations: 68.44 kB / 0.8142 GB, free: 165.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008709/1.592, allocations: 5.81 MB / 0.8198 GB, free: 160.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-05/1.592, allocations: 15.94 kB / 0.8198 GB, free: 160.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0133/1.605, allocations: 8.303 MB / 0.828 GB, free: 152.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002716/1.608, allocations: 0.9207 MB / 0.8289 GB, free: 151.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001164/1.609, allocations: 71.95 kB / 0.8289 GB, free: 151.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002338/1.612, allocations: 131.9 kB / 0.829 GB, free: 151.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004634/1.612, allocations: 222.3 kB / 0.8293 GB, free: 151.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001973/1.612, allocations: 105.9 kB / 0.8294 GB, free: 151.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005874/1.618, allocations: 3.674 MB / 0.833 GB, free: 147.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.01e-07/1.618, allocations: 3.938 kB / 0.833 GB, free: 147.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009621/1.628, allocations: 1.646 MB / 0.8346 GB, free: 145.8 MB / 0.5919 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.0008433/1.629, allocations: 263 kB / 0.8348 GB, free: 145.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0117/1.64, allocations: 7.936 MB / 0.8426 GB, free: 137.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/1.64, allocations: 0 / 0.8426 GB, free: 137.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003163/1.644, allocations: 2.378 MB / 0.8449 GB, free: 135.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004479/1.648, allocations: 0.7061 MB / 0.8456 GB, free: 134.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03116/1.679, allocations: 15.97 MB / 0.8612 GB, free: 118.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007116/1.686, allocations: 5.147 MB / 0.8662 GB, free: 113.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002032/1.688, allocations: 455.4 kB / 0.8666 GB, free: 112.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.252e-06/1.689, allocations: 5.578 kB / 0.8666 GB, free: 112.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.5467/2.235, allocations: 127.3 MB / 0.9909 GB, free: 198.6 MB / 0.6075 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches