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.008253/0.008253, allocations: 101.2 kB / 15.88 MB, free: 6.309 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.001529/0.001529, allocations: 193.5 kB / 16.79 MB, free: 6.238 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.74/1.74, allocations: 205.1 MB / 222.6 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3773/0.3773, allocations: 43.5 MB / 313.5 MB, free: 8.254 MB / 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.001422/0.001423, allocations: 66.56 kB / 382 MB, free: 8.512 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1571, allocations: 57.79 MB / 439.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.3288/0.4859, allocations: 58.26 MB / 498.1 MB, free: 13.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03557/0.5215, allocations: 12.3 MB / 0.4984 GB, free: 5.688 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01658/0.5381, allocations: 250.8 kB / 0.4987 GB, free: 5.648 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009508/0.5477, allocations: 4.149 MB / 0.5027 GB, free: 3.742 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01173/0.5595, allocations: 2.616 MB / 0.5053 GB, free: 2.586 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004055/0.5636, allocations: 1.148 MB / 0.5064 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01768/0.5813, allocations: 10.53 MB / 0.5167 GB, free: 15.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01262/0.5939, allocations: 5.749 MB / 0.5223 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008047/0.602, allocations: 2.365 MB / 0.5246 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008019/0.6101, allocations: 3.996 MB / 0.5285 GB, free: 6.434 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00262/0.6128, allocations: 415.9 kB / 0.5289 GB, free: 6.027 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005816/0.6186, allocations: 1.65 MB / 0.5305 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006103/0.6247, allocations: 3.175 MB / 0.5336 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009209/0.634, allocations: 3.635 MB / 0.5372 GB, free: 13.53 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0178/0.6518, allocations: 11.82 MB / 0.5487 GB, free: 1.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.617e-06/0.6519, allocations: 0 / 0.5487 GB, free: 1.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.6519, allocations: 0 / 0.5487 GB, free: 1.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005891/0.6525, allocations: 4 kB / 0.5487 GB, free: 1.676 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.02862/0.6811, allocations: 7.891 MB / 0.5564 GB, free: 9.699 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.087e-05/0.6812, allocations: 8.031 kB / 0.5564 GB, free: 9.691 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01721/0.6984, allocations: 3.941 MB / 0.5603 GB, free: 5.734 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01317/0.7117, allocations: 4.405 MB / 0.5646 GB, free: 1.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000516/0.7122, allocations: 406 kB / 0.565 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003391/0.7156, allocations: 0.5503 MB / 0.5655 GB, free: 328 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04585/0.7615, allocations: 18.87 MB / 0.5839 GB, free: 12.4 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006301/0.7622, allocations: 75.3 kB / 0.584 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004032/0.7663, allocations: 247.7 kB / 0.5842 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006267/0.7726, allocations: 3.428 MB / 0.5876 GB, free: 8.656 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04066/0.8133, allocations: 16.63 MB / 0.6038 GB, free: 8.004 MB / 478.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.371/1.184, allocations: 66.92 MB / 0.6692 GB, free: 92.85 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01431/1.199, allocations: 6.268 MB / 0.6753 GB, free: 90.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004295/1.203, allocations: 2.819 MB / 0.678 GB, free: 89.24 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02672/1.23, allocations: 13.86 MB / 0.6916 GB, free: 81.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.311e-05/1.23, allocations: 66.91 kB / 0.6917 GB, free: 81.69 MB / 494.1 MB Notification: Performance of pre-optimization done (n=284): time 8.546e-06/1.23, allocations: 1.594 kB / 0.6917 GB, free: 81.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=345): time 0.09642/1.326, allocations: 25.09 MB / 0.7162 GB, free: 73.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/1.326, allocations: 189.3 kB / 0.7163 GB, free: 73.27 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01102/1.337, allocations: 5.907 MB / 0.7221 GB, free: 71.19 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007148/1.338, allocations: 79.34 kB / 0.7222 GB, free: 71.12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003155/1.341, allocations: 4.958 MB / 0.727 GB, free: 66.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002205/1.344, allocations: 1.288 MB / 0.7283 GB, free: 65.76 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005615/1.349, allocations: 1.907 MB / 0.7301 GB, free: 64.68 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.764e-05/1.349, allocations: 305.1 kB / 0.7304 GB, free: 64.38 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005853/1.355, allocations: 3.355 MB / 0.7337 GB, free: 62.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008355/1.364, allocations: 8.875 MB / 0.7424 GB, free: 50.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01495/1.379, allocations: 13.19 MB / 0.7552 GB, free: 34.97 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003594/1.379, allocations: 59.66 kB / 0.7553 GB, free: 34.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02689/1.406, allocations: 12.99 MB / 0.768 GB, free: 21.89 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002897/1.406, allocations: 92.06 kB / 0.7681 GB, free: 21.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003559/1.407, allocations: 192 kB / 0.7683 GB, free: 21.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004159/1.411, allocations: 1.326 MB / 0.7696 GB, free: 20.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00754/1.418, allocations: 2.21 MB / 0.7717 GB, free: 18.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01068/1.429, allocations: 7.282 MB / 0.7788 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009163/1.438, allocations: 0.4994 MB / 0.7793 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002177/1.44, allocations: 0.5547 MB / 0.7799 GB, free: 9.605 MB / 494.1 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 (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.009427/1.45, allocations: 3.459 MB / 0.7832 GB, free: 6.133 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002004/1.452, allocations: 0.5244 MB / 0.7837 GB, free: 5.602 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01294/1.465, allocations: 5.408 MB / 0.789 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-05/1.465, allocations: 39.91 kB / 0.7891 GB, free: 100 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.646e-05/1.465, allocations: 11.98 kB / 0.7891 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.799e-05/1.465, allocations: 11.95 kB / 0.7891 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04515/1.51, allocations: 14.02 MB / 0.8028 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.324e-05/1.51, allocations: 19.81 kB / 0.8028 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002589/1.513, allocations: 0.4922 MB / 0.8033 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003519/1.517, allocations: 0.8086 MB / 0.8041 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006957/1.517, allocations: 71.19 kB / 0.8041 GB, free: 452 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.011/1.528, allocations: 5.339 MB / 0.8093 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.729e-05/1.528, allocations: 15.94 kB / 0.8094 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01959/1.548, allocations: 8.294 MB / 0.8175 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003972/1.552, allocations: 0.9274 MB / 0.8184 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002566/1.555, allocations: 62.73 kB / 0.8184 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00393/1.559, allocations: 135.9 kB / 0.8186 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009521/1.56, allocations: 217.5 kB / 0.8188 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005734/1.56, allocations: 103.6 kB / 0.8189 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.3342/1.894, allocations: 3.68 MB / 0.8225 GB, free: 151.7 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.31e-07/1.894, allocations: 0 / 0.8225 GB, free: 151.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01077/1.905, allocations: 1.645 MB / 0.8241 GB, free: 151.7 MB / 0.5137 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.001063/1.906, allocations: 269.9 kB / 0.8243 GB, free: 151.6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01327/1.92, allocations: 7.887 MB / 0.832 GB, free: 150.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.568e-05/1.92, allocations: 6.188 kB / 0.832 GB, free: 150.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00406/1.924, allocations: 2.378 MB / 0.8343 GB, free: 149.6 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005992/1.93, allocations: 0.6644 MB / 0.835 GB, free: 149.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03224/1.962, allocations: 18.89 MB / 0.8534 GB, free: 139.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01003/1.972, allocations: 5.165 MB / 0.8585 GB, free: 137.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.01031/1.982, allocations: 2.962 MB / 0.8614 GB, free: 137.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001892/1.984, allocations: 386.6 kB / 0.8618 GB, free: 137.2 MB / 0.5137 GB Notification: Performance of SimCode: time 2.324e-06/1.984, allocations: 4 kB / 0.8618 GB, free: 137.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.1224/2.107, allocations: 58.81 MB / 0.9192 GB, free: 97.45 MB / 0.5137 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches