Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002445/0.002449, allocations: 182.8 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.22/2.22, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001149/0.001149, allocations: 93.22 kB / 270.9 MB, free: 8.367 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.5743/0.5743, allocations: 43.56 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004672/0.0004673, allocations: 8 kB / 431.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1421, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.4008/0.5429, allocations: 58.6 MB / 0.5359 GB, free: 8.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03974/0.5827, allocations: 14.16 MB / 0.5498 GB, free: 15.25 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01497/0.5977, allocations: 301.9 kB / 0.5501 GB, free: 15.2 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01111/0.6089, allocations: 2.905 MB / 0.5529 GB, free: 14.24 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03641/0.6453, allocations: 8.371 MB / 0.5611 GB, free: 10.23 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007541/0.6529, allocations: 1.148 MB / 0.5622 GB, free: 9.789 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.1099/0.7629, allocations: 40.34 MB / 0.6016 GB, free: 8.449 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01844/0.7814, allocations: 8.089 MB / 0.6095 GB, free: 312 kB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005252/0.7867, allocations: 1.752 MB / 0.6112 GB, free: 14.54 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00592/0.7927, allocations: 2.364 MB / 0.6135 GB, free: 12.17 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001879/0.7946, allocations: 240 kB / 0.6137 GB, free: 11.94 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004788/0.7995, allocations: 1.194 MB / 0.6149 GB, free: 10.75 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005314/0.8048, allocations: 2.661 MB / 0.6175 GB, free: 8.078 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003311/0.8082, allocations: 1.326 MB / 0.6188 GB, free: 6.742 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01648/0.8247, allocations: 9.559 MB / 0.6281 GB, free: 13.16 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.8248, allocations: 0 / 0.6281 GB, free: 13.16 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.387e-06/0.8248, allocations: 4 kB / 0.6281 GB, free: 13.16 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004284/0.8252, allocations: 0 / 0.6281 GB, free: 13.16 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.02828/0.8535, allocations: 7.04 MB / 0.635 GB, free: 6.035 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.8536, allocations: 8.031 kB / 0.635 GB, free: 6.027 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1275/0.9811, allocations: 11.1 MB / 0.6459 GB, free: 10.91 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02098/1.002, allocations: 5.864 MB / 0.6516 GB, free: 4.965 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005705/1.003, allocations: 377.8 kB / 0.6519 GB, free: 4.594 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002881/1.006, allocations: 0.5152 MB / 0.6524 GB, free: 4.078 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05265/1.058, allocations: 15.62 MB / 0.6677 GB, free: 3.559 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004144/1.059, allocations: 67.42 kB / 0.6678 GB, free: 3.492 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002462/1.061, allocations: 239.8 kB / 0.668 GB, free: 3.258 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007681/1.069, allocations: 2.544 MB / 0.6705 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3956/1.465, allocations: 13.1 MB / 0.6833 GB, free: 132.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1234/1.588, allocations: 57.4 MB / 0.7393 GB, free: 94.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03357/1.622, allocations: 6.449 MB / 0.7456 GB, free: 92.29 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02786/1.65, allocations: 11.43 MB / 0.7568 GB, free: 84.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.637e-05/1.65, allocations: 66.47 kB / 0.7568 GB, free: 84.12 MB / 490.7 MB Notification: Performance of pre-optimization done (n=245): time 7.154e-06/1.65, allocations: 0 / 0.7568 GB, free: 84.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=338): time 0.2482/1.898, allocations: 40.87 MB / 0.7968 GB, free: 43.14 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.701e-05/1.898, allocations: 243.8 kB / 0.797 GB, free: 42.85 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01202/1.91, allocations: 6.122 MB / 0.803 GB, free: 36.75 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009257/1.911, allocations: 77.7 kB / 0.803 GB, free: 36.67 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00345/1.915, allocations: 4.244 MB / 0.8072 GB, free: 32.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002028/1.917, allocations: 1.236 MB / 0.8084 GB, free: 31.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001105/1.918, allocations: 175.9 kB / 0.8086 GB, free: 31.03 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005256/1.918, allocations: 0.6539 MB / 0.8092 GB, free: 30.37 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009172/1.928, allocations: 3.729 MB / 0.8128 GB, free: 26.63 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01228/1.94, allocations: 8.242 MB / 0.8209 GB, free: 16.15 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01268/1.953, allocations: 5.426 MB / 0.8262 GB, free: 10.71 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001332/1.953, allocations: 44 kB / 0.8262 GB, free: 10.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=1067) (initialization): time 0.05216/2.005, allocations: 15.17 MB / 0.841 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001472/2.005, allocations: 76 kB / 0.8411 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003021/2.006, allocations: 156 kB / 0.8413 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0254/2.031, allocations: 4.12 MB / 0.8453 GB, free: 7.094 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01162/2.043, allocations: 1.801 MB / 0.847 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06014/2.103, allocations: 20.29 MB / 0.8669 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009818/2.113, allocations: 498.5 kB / 0.8673 GB, free: 392 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.3513/2.464, allocations: 472 kB / 0.8678 GB, free: 150 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 717 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (966): * Single equations (assignments): 962 * Array equations: 3 * 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 {(1,100.0%) 77} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009206/2.473, allocations: 3.111 MB / 0.8708 GB, free: 149.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001615/2.475, allocations: 0.53 MB / 0.8713 GB, free: 149.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.038/2.513, allocations: 9.596 MB / 0.8807 GB, free: 148.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001065/2.513, allocations: 34.16 kB / 0.8807 GB, free: 148.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.521e-05/2.513, allocations: 14.28 kB / 0.8808 GB, free: 148.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.563e-05/2.513, allocations: 16.86 kB / 0.8808 GB, free: 148.6 MB / 0.5105 GB 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 postOpt removeSimpleEquations (simulation): time 0.06693/2.58, allocations: 19.8 MB / 0.9001 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.843e-05/2.58, allocations: 5.922 kB / 0.9001 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004523/2.585, allocations: 494.9 kB / 0.9006 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02378/2.609, allocations: 3.66 MB / 0.9042 GB, free: 140.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009646/2.61, allocations: 60.72 kB / 0.9042 GB, free: 140.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04828/2.658, allocations: 17.84 MB / 0.9216 GB, free: 133 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.698e-06/2.658, allocations: 11.12 kB / 0.9216 GB, free: 133 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04481/2.703, allocations: 15.16 MB / 0.9365 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004447/2.707, allocations: 1.159 MB / 0.9376 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001934/2.709, allocations: 60.5 kB / 0.9376 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005961/2.715, allocations: 232 kB / 0.9379 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001569/2.717, allocations: 219.5 kB / 0.9381 GB, free: 125 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005187/2.717, allocations: 87.92 kB / 0.9382 GB, free: 125 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009285/2.727, allocations: 3.938 MB / 0.942 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.31e-07/2.727, allocations: 4 kB / 0.942 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01072/2.738, allocations: 1.721 MB / 0.9437 GB, free: 119.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 2 (revolute.phi,revolute.w) * 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 (256): * Single equations (assignments): 252 * Array equations: 3 * 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 {(1,100.0%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00155/2.739, allocations: 263.2 kB / 0.9439 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0207/2.76, allocations: 9.188 MB / 0.9529 GB, free: 110 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-05/2.76, allocations: 0 / 0.9529 GB, free: 110 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008631/2.769, allocations: 3.631 MB / 0.9565 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006036/2.775, allocations: 0.6839 MB / 0.9571 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04078/2.815, allocations: 18.86 MB / 0.9755 GB, free: 86.87 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009567/2.825, allocations: 4.974 MB / 0.9804 GB, free: 81.86 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002752/2.828, allocations: 415.4 kB / 0.9808 GB, free: 81.45 MB / 0.5105 GB Notification: Performance of SimCode: time 1.473e-06/2.828, allocations: 0 / 0.9808 GB, free: 81.45 MB / 0.5105 GB Notification: Performance of Templates: time 0.5963/3.424, allocations: 118.2 MB / 1.096 GB, free: 108.2 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches