Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009216/0.0009218, allocations: 173.7 kB / 16.72 MB, free: 5.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.292/1.292, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008412/0.0008412, allocations: 98.23 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3/0.3, allocations: 43.56 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003533, allocations: 12 kB / 432 MB, free: 5.609 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1051, allocations: 58.85 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.2247/0.3299, allocations: 57.26 MB / 0.5352 GB, free: 9.602 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03048/0.3604, allocations: 12.56 MB / 0.5475 GB, free: 1.039 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.013/0.3735, allocations: 271.8 kB / 0.5478 GB, free: 0.9961 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009397/0.3829, allocations: 2.97 MB / 0.5507 GB, free: 15.94 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02705/0.41, allocations: 9.02 MB / 0.5595 GB, free: 12.16 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006202/0.4162, allocations: 1.343 MB / 0.5608 GB, free: 11.68 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.03298/0.4492, allocations: 24.71 MB / 0.5849 GB, free: 9.871 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01414/0.4634, allocations: 8.381 MB / 0.5931 GB, free: 1.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005473/0.4689, allocations: 2.433 MB / 0.5955 GB, free: 14.97 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0077/0.4766, allocations: 3.985 MB / 0.5994 GB, free: 10.97 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002053/0.4787, allocations: 292 kB / 0.5996 GB, free: 10.69 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004544/0.4833, allocations: 1.533 MB / 0.6011 GB, free: 9.152 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005178/0.4885, allocations: 3.277 MB / 0.6043 GB, free: 5.867 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007233/0.4957, allocations: 3.524 MB / 0.6078 GB, free: 2.316 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01358/0.5093, allocations: 10.47 MB / 0.618 GB, free: 7.816 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.5094, allocations: 4 kB / 0.618 GB, free: 7.812 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.737e-06/0.5094, allocations: 0 / 0.618 GB, free: 7.812 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005343/0.5099, allocations: 3.938 kB / 0.618 GB, free: 7.809 MB / 442.7 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.01908/0.529, allocations: 7.434 MB / 0.6253 GB, free: 296 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.5291, allocations: 8.031 kB / 0.6253 GB, free: 288 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01637/0.5455, allocations: 4.203 MB / 0.6294 GB, free: 12.06 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01286/0.5584, allocations: 5.283 MB / 0.6345 GB, free: 6.691 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007234/0.5592, allocations: 442.9 kB / 0.635 GB, free: 6.258 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003613/0.5628, allocations: 0.5933 MB / 0.6355 GB, free: 5.664 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0416/0.6044, allocations: 20.64 MB / 0.6557 GB, free: 15.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003587/0.6049, allocations: 79.19 kB / 0.6558 GB, free: 15.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002166/0.607, allocations: 271.7 kB / 0.656 GB, free: 15.54 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005911/0.613, allocations: 3.714 MB / 0.6597 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4072/1.02, allocations: 18.17 MB / 0.6774 GB, free: 126.7 MB / 490.8 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.08741/1.108, allocations: 74.58 MB / 0.7502 GB, free: 78.15 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01611/1.124, allocations: 7.441 MB / 0.7575 GB, free: 74.76 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004906/1.129, allocations: 4.099 MB / 0.7615 GB, free: 72.64 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02522/1.154, allocations: 18.19 MB / 0.7793 GB, free: 57.62 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/1.154, allocations: 68.53 kB / 0.7793 GB, free: 57.54 MB / 490.8 MB Notification: Performance of pre-optimization done (n=335): time 6.582e-06/1.154, allocations: 0 / 0.7793 GB, free: 57.54 MB / 490.8 MB Notification: Performance of matching and sorting (n=419): time 0.1028/1.257, allocations: 35.37 MB / 0.8139 GB, free: 22.04 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.45e-05/1.257, allocations: 200.8 kB / 0.8141 GB, free: 21.8 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007334/1.264, allocations: 6.471 MB / 0.8204 GB, free: 15.33 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000709/1.265, allocations: 85.7 kB / 0.8205 GB, free: 15.24 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00242/1.268, allocations: 5.369 MB / 0.8257 GB, free: 9.875 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001583/1.269, allocations: 1.545 MB / 0.8272 GB, free: 8.344 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004953/1.27, allocations: 212 kB / 0.8274 GB, free: 8.137 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0003908/1.27, allocations: 0.7649 MB / 0.8282 GB, free: 7.367 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00546/1.276, allocations: 4.292 MB / 0.8324 GB, free: 3.07 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01036/1.286, allocations: 10.23 MB / 0.8423 GB, free: 5.945 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02024/1.306, allocations: 15.63 MB / 0.8576 GB, free: 3.387 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002327/1.306, allocations: 60 kB / 0.8577 GB, free: 3.328 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.2372/1.544, allocations: 16.25 MB / 0.8735 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001153/1.544, allocations: 100 kB / 0.8736 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002127/1.544, allocations: 206.7 kB / 0.8738 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007106/1.551, allocations: 2.37 MB / 0.8762 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007454/1.559, allocations: 2.463 MB / 0.8786 GB, free: 148 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01582/1.575, allocations: 11.91 MB / 0.8902 GB, free: 142.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007359/1.582, allocations: 0.5927 MB / 0.8908 GB, free: 142.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001338/1.583, allocations: 0.5998 MB / 0.8914 GB, free: 142.4 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006404/1.59, allocations: 3.781 MB / 0.895 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00112/1.591, allocations: 0.5889 MB / 0.8956 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01671/1.608, allocations: 8.313 MB / 0.9037 GB, free: 137.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001005/1.608, allocations: 64.02 kB / 0.9038 GB, free: 137.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.627e-05/1.608, allocations: 12.81 kB / 0.9038 GB, free: 137.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.548e-05/1.608, allocations: 19.11 kB / 0.9038 GB, free: 137.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03325/1.641, allocations: 18.94 MB / 0.9223 GB, free: 130.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.74e-05/1.641, allocations: 13.72 kB / 0.9223 GB, free: 130.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002548/1.644, allocations: 0.6219 MB / 0.9229 GB, free: 130 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005929/1.65, allocations: 1.816 MB / 0.9247 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004818/1.65, allocations: 73.17 kB / 0.9248 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01345/1.664, allocations: 9.997 MB / 0.9346 GB, free: 118.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.005e-05/1.664, allocations: 19.94 kB / 0.9346 GB, free: 118.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01832/1.682, allocations: 12.45 MB / 0.9467 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002696/1.685, allocations: 1.165 MB / 0.9479 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001264/1.686, allocations: 85.39 kB / 0.9479 GB, free: 105 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003115/1.689, allocations: 195.8 kB / 0.9481 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006873/1.69, allocations: 275.2 kB / 0.9484 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003253/1.69, allocations: 112 kB / 0.9485 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006502/1.697, allocations: 4.017 MB / 0.9524 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.41e-07/1.697, allocations: 0 / 0.9524 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00848/1.705, allocations: 1.958 MB / 0.9543 GB, free: 98.45 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009073/1.706, allocations: 286.3 kB / 0.9546 GB, free: 98.17 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01317/1.719, allocations: 10.06 MB / 0.9644 GB, free: 88.13 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/1.719, allocations: 0.75 kB / 0.9644 GB, free: 88.13 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00439/1.724, allocations: 3.389 MB / 0.9677 GB, free: 84.72 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01362/1.737, allocations: 0.7662 MB / 0.9685 GB, free: 83.97 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02522/1.763, allocations: 21.71 MB / 0.9897 GB, free: 62.06 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005078/1.768, allocations: 5.569 MB / 0.9951 GB, free: 56.46 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001856/1.77, allocations: 499.4 kB / 0.9956 GB, free: 55.97 MB / 0.5105 GB Notification: Performance of SimCode: time 8.32e-07/1.77, allocations: 0 / 0.9956 GB, free: 55.97 MB / 0.5105 GB Notification: Performance of Templates: time 0.3569/2.126, allocations: 140.4 MB / 1.133 GB, free: 108.4 MB / 0.5262 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSR --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointUSR/JointUSR.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches