Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001247/0.001247, allocations: 199.3 kB / 19.23 MB, free: 3.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 222.9 MB / 242.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2146/0.2146, allocations: 44.18 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 65.28 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1121, allocations: 60.82 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01768/0.1298, allocations: 17.67 MB / 487.6 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01389/0.1438, allocations: 5.71 MB / 493.3 MB, free: 6.891 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00413/0.148, allocations: 111.7 kB / 493.4 MB, free: 6.781 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009524/0.1575, allocations: 4.587 MB / 498 MB, free: 2.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008528/0.1661, allocations: 3.007 MB / 0.4893 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003914/0.1701, allocations: 1.497 MB / 0.4907 GB, free: 13.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01289/0.183, allocations: 8.747 MB / 0.4993 GB, free: 4.898 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2803/0.4634, allocations: 6.451 MB / 0.5056 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007529/0.471, allocations: 3.004 MB / 0.5085 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009699/0.4807, allocations: 4.267 MB / 0.5127 GB, free: 15.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003925/0.4847, allocations: 0.6631 MB / 0.5133 GB, free: 15.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007276/0.492, allocations: 1.845 MB / 0.5151 GB, free: 15.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006682/0.4987, allocations: 3.715 MB / 0.5187 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009505/0.5082, allocations: 4.214 MB / 0.5229 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0175/0.5258, allocations: 13.13 MB / 0.5357 GB, free: 6.617 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.5258, allocations: 0 / 0.5357 GB, free: 6.617 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5259, allocations: 3 kB / 0.5357 GB, free: 6.617 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005401/0.5264, allocations: 0 / 0.5357 GB, free: 6.617 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.02464/0.5511, allocations: 9.023 MB / 0.5445 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.5511, allocations: 14.22 kB / 0.5445 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01804/0.5692, allocations: 4.099 MB / 0.5485 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01247/0.5817, allocations: 5.097 MB / 0.5535 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003961/0.5821, allocations: 439.8 kB / 0.5539 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002531/0.5847, allocations: 0.5934 MB / 0.5545 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04222/0.6269, allocations: 20.63 MB / 0.5746 GB, free: 3.777 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003859/0.6273, allocations: 76.62 kB / 0.5747 GB, free: 3.734 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002531/0.6299, allocations: 271.7 kB / 0.575 GB, free: 3.535 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006335/0.6362, allocations: 3.711 MB / 0.5786 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04253/0.6788, allocations: 18.19 MB / 0.5964 GB, free: 13.98 MB / 446.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.1483/0.8271, allocations: 74.63 MB / 0.6692 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01939/0.8466, allocations: 7.455 MB / 0.6765 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006566/0.8532, allocations: 4.118 MB / 0.6805 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03438/0.8876, allocations: 18.2 MB / 0.6983 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.877e-05/0.8877, allocations: 67.5 kB / 0.6984 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=335): time 7.114e-06/0.8877, allocations: 0 / 0.6984 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of matching and sorting (n=419): time 0.3632/1.251, allocations: 35.02 MB / 0.7326 GB, free: 173.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.653e-05/1.251, allocations: 201.9 kB / 0.7328 GB, free: 173.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008704/1.26, allocations: 6.471 MB / 0.7391 GB, free: 170.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008861/1.261, allocations: 86.25 kB / 0.7392 GB, free: 170.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003349/1.264, allocations: 5.374 MB / 0.7444 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001934/1.266, allocations: 1.542 MB / 0.7459 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003113/1.269, allocations: 2.131 MB / 0.748 GB, free: 164.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.042e-05/1.269, allocations: 301.1 kB / 0.7483 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005989/1.275, allocations: 4.335 MB / 0.7525 GB, free: 160.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008897/1.284, allocations: 10.28 MB / 0.7626 GB, free: 147.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01559/1.3, allocations: 15.67 MB / 0.7779 GB, free: 128.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001792/1.3, allocations: 56 kB / 0.7779 GB, free: 128.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.0303/1.33, allocations: 16.36 MB / 0.7939 GB, free: 112.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001117/1.33, allocations: 92 kB / 0.794 GB, free: 112.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001999/1.331, allocations: 212.2 kB / 0.7942 GB, free: 112 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007168/1.338, allocations: 2.373 MB / 0.7965 GB, free: 109.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007899/1.346, allocations: 2.464 MB / 0.7989 GB, free: 107.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01683/1.363, allocations: 12.76 MB / 0.8114 GB, free: 94.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009229/1.372, allocations: 0.5854 MB / 0.8119 GB, free: 93.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002295/1.374, allocations: 0.6001 MB / 0.8125 GB, free: 93.08 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 943 * Number of states: 0 () * Number of discrete variables: 49 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[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 (1316): * Single equations (assignments): 1309 * 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,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00836/1.383, allocations: 3.772 MB / 0.8162 GB, free: 89.29 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001666/1.384, allocations: 0.5939 MB / 0.8168 GB, free: 88.69 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01714/1.401, allocations: 8.32 MB / 0.8249 GB, free: 80.32 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-05/1.402, allocations: 63.98 kB / 0.825 GB, free: 80.26 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.789e-05/1.402, allocations: 12 kB / 0.825 GB, free: 80.25 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-05/1.402, allocations: 19.88 kB / 0.825 GB, free: 80.23 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03979/1.441, allocations: 18.96 MB / 0.8435 GB, free: 60.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.275e-05/1.442, allocations: 15.98 kB / 0.8435 GB, free: 60.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002949/1.444, allocations: 0.6281 MB / 0.8442 GB, free: 60.28 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006468/1.451, allocations: 1.807 MB / 0.8459 GB, free: 58.47 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007579/1.452, allocations: 75.98 kB / 0.846 GB, free: 58.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01519/1.467, allocations: 10.82 MB / 0.8566 GB, free: 47.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.138e-05/1.467, allocations: 19.92 kB / 0.8566 GB, free: 47.41 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02004/1.487, allocations: 12.47 MB / 0.8688 GB, free: 34.66 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00185/1.489, allocations: 0.6261 MB / 0.8694 GB, free: 34.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001837/1.491, allocations: 75.98 kB / 0.8694 GB, free: 33.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003784/1.495, allocations: 210.6 kB / 0.8696 GB, free: 33.73 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008795/1.496, allocations: 265.6 kB / 0.8699 GB, free: 33.47 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004318/1.496, allocations: 112 kB / 0.87 GB, free: 33.36 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00677/1.503, allocations: 4.02 MB / 0.8739 GB, free: 29.35 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.91e-07/1.503, allocations: 0 / 0.8739 GB, free: 29.35 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009785/1.513, allocations: 1.96 MB / 0.8758 GB, free: 27.4 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 55 * 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 (331): * Single equations (assignments): 324 * 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,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001157/1.514, allocations: 296 kB / 0.8761 GB, free: 27.12 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02491/1.539, allocations: 15.89 MB / 0.8916 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.598e-05/1.539, allocations: 4 kB / 0.8916 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005186/1.544, allocations: 3.378 MB / 0.8949 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006554/1.551, allocations: 0.8022 MB / 0.8957 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2248/1.775, allocations: 18.66 MB / 0.9139 GB, free: 163.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009438/1.785, allocations: 5.557 MB / 0.9194 GB, free: 161.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002017/1.787, allocations: 493.9 kB / 0.9198 GB, free: 161.2 MB / 0.5294 GB Notification: Performance of SimCode: time 1.022e-06/1.787, allocations: 0 / 0.9198 GB, free: 161.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.1745/1.961, allocations: 141.3 MB / 1.058 GB, free: 34.39 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointUSR/JointUSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches