Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 175.2 kB / 16.72 MB, free: 5.082 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.341/1.341, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007896/0.0007897, allocations: 95.58 kB / 271.2 MB, free: 8.246 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.3616/0.3616, allocations: 43.56 MB / 363.1 MB, free: 52.06 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003815, allocations: 12 kB / 432.1 MB, free: 5.734 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1274, allocations: 58.84 MB / 490.9 MB, free: 10.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.2802/0.4076, allocations: 52.83 MB / 0.531 GB, free: 12.86 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03004/0.4377, allocations: 11.65 MB / 0.5424 GB, free: 4.926 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01416/0.4519, allocations: 251.5 kB / 0.5426 GB, free: 4.887 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009793/0.4617, allocations: 2.747 MB / 0.5453 GB, free: 3.914 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02596/0.4878, allocations: 8.297 MB / 0.5534 GB, free: 456 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005915/0.4937, allocations: 1.13 MB / 0.5545 GB, free: 20 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.03335/0.5271, allocations: 23.5 MB / 0.5775 GB, free: 1.742 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01181/0.5389, allocations: 7.563 MB / 0.5848 GB, free: 10.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005181/0.5442, allocations: 2.156 MB / 0.5869 GB, free: 7.941 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005937/0.5501, allocations: 3.505 MB / 0.5904 GB, free: 4.426 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002009/0.5522, allocations: 264 kB / 0.5906 GB, free: 4.168 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004572/0.5568, allocations: 1.486 MB / 0.5921 GB, free: 2.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004799/0.5616, allocations: 2.902 MB / 0.5949 GB, free: 15.77 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006937/0.5686, allocations: 3.229 MB / 0.5981 GB, free: 12.52 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01399/0.5826, allocations: 9.644 MB / 0.6075 GB, free: 2.848 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.5827, allocations: 0 / 0.6075 GB, free: 2.848 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5827, allocations: 0 / 0.6075 GB, free: 2.848 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004803/0.5832, allocations: 0 / 0.6075 GB, free: 2.848 MB / 426.7 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.01655/0.5997, allocations: 6.564 MB / 0.6139 GB, free: 12.2 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.072e-05/0.5998, allocations: 12.03 kB / 0.6139 GB, free: 12.19 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004194/0.604, allocations: 1.299 MB / 0.6152 GB, free: 10.88 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02951/0.6336, allocations: 5.814 MB / 0.6208 GB, free: 5.043 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01295/0.6466, allocations: 5.6 MB / 0.6263 GB, free: 15.38 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005532/0.6471, allocations: 398 kB / 0.6267 GB, free: 14.99 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002395/0.6496, allocations: 0.5541 MB / 0.6272 GB, free: 14.44 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03745/0.6871, allocations: 18.84 MB / 0.6456 GB, free: 10.55 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001882/0.6873, allocations: 71.31 kB / 0.6457 GB, free: 10.48 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006378/0.688, allocations: 251.7 kB / 0.6459 GB, free: 10.23 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004868/0.6928, allocations: 3.436 MB / 0.6493 GB, free: 6.797 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03501/0.7279, allocations: 16.47 MB / 0.6654 GB, free: 6.297 MB / 490.7 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.5196/1.247, allocations: 66.81 MB / 0.7306 GB, free: 87.66 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01698/1.265, allocations: 6.264 MB / 0.7367 GB, free: 85.08 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005391/1.27, allocations: 2.812 MB / 0.7395 GB, free: 84.02 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02788/1.298, allocations: 13.84 MB / 0.753 GB, free: 76.48 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.457e-05/1.298, allocations: 64.44 kB / 0.7531 GB, free: 76.42 MB / 490.8 MB Notification: Performance of pre-optimization done (n=284): time 6.973e-06/1.298, allocations: 3.969 kB / 0.7531 GB, free: 76.42 MB / 490.8 MB Notification: Performance of matching and sorting (n=345): time 0.0834/1.381, allocations: 25.39 MB / 0.7779 GB, free: 60.57 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.712e-05/1.381, allocations: 184.3 kB / 0.778 GB, free: 60.35 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006586/1.388, allocations: 5.92 MB / 0.7838 GB, free: 54.45 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005666/1.389, allocations: 72.91 kB / 0.7839 GB, free: 54.38 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002164/1.391, allocations: 4.986 MB / 0.7888 GB, free: 49.39 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00111/1.392, allocations: 1.278 MB / 0.79 GB, free: 48.12 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000351/1.392, allocations: 188 kB / 0.7902 GB, free: 47.94 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0003416/1.393, allocations: 0.7108 MB / 0.7909 GB, free: 47.22 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004014/1.397, allocations: 3.255 MB / 0.7941 GB, free: 43.96 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005776/1.402, allocations: 8.729 MB / 0.8026 GB, free: 32.54 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01204/1.415, allocations: 13 MB / 0.8153 GB, free: 16.81 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001307/1.415, allocations: 56 kB / 0.8153 GB, free: 16.76 MB / 490.8 MB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.02369/1.438, allocations: 12.74 MB / 0.8278 GB, free: 3.977 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001073/1.439, allocations: 88 kB / 0.8279 GB, free: 3.891 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001826/1.439, allocations: 192 kB / 0.828 GB, free: 3.703 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003943/1.443, allocations: 1.321 MB / 0.8293 GB, free: 2.379 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006407/1.449, allocations: 2.167 MB / 0.8314 GB, free: 216 kB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01147/1.461, allocations: 7.295 MB / 0.8386 GB, free: 8.789 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006914/1.468, allocations: 0.4994 MB / 0.8391 GB, free: 8.289 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001372/1.469, allocations: 0.539 MB / 0.8396 GB, free: 7.75 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 874 * 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 (1152): * Single equations (assignments): 1145 * 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%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006286/1.475, allocations: 3.455 MB / 0.843 GB, free: 4.281 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001049/1.476, allocations: 0.5321 MB / 0.8435 GB, free: 3.742 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0108/1.487, allocations: 5.402 MB / 0.8488 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-05/1.487, allocations: 36 kB / 0.8488 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/1.487, allocations: 12 kB / 0.8488 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.152e-05/1.487, allocations: 15.94 kB / 0.8488 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2602/1.747, allocations: 14.01 MB / 0.8625 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.73e-05/1.748, allocations: 11.03 kB / 0.8625 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00271/1.75, allocations: 0.4913 MB / 0.863 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003685/1.754, allocations: 0.8131 MB / 0.8638 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007187/1.755, allocations: 69.28 kB / 0.8638 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009903/1.765, allocations: 5.33 MB / 0.8691 GB, free: 147.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.78e-05/1.765, allocations: 21.55 kB / 0.8691 GB, free: 147.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0142/1.779, allocations: 8.264 MB / 0.8771 GB, free: 145.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002461/1.781, allocations: 0.9377 MB / 0.8781 GB, free: 145 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00065/1.782, allocations: 65.33 kB / 0.8781 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001977/1.784, allocations: 135.4 kB / 0.8783 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006256/1.785, allocations: 214.1 kB / 0.8785 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002056/1.785, allocations: 108.8 kB / 0.8786 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005689/1.791, allocations: 3.673 MB / 0.8821 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.6e-07/1.791, allocations: 0 / 0.8821 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007448/1.798, allocations: 1.627 MB / 0.8837 GB, free: 143.5 MB / 0.5105 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 (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%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01233/1.81, allocations: 9.019 MB / 0.8925 GB, free: 139.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01169/1.822, allocations: 7.743 MB / 0.9001 GB, free: 136.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.591e-05/1.822, allocations: 2.469 kB / 0.9001 GB, free: 136.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003788/1.826, allocations: 2.372 MB / 0.9024 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0122/1.838, allocations: 0.6853 MB / 0.9031 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09771/1.936, allocations: 59 MB / 0.9607 GB, free: 87.66 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00563/1.942, allocations: 5.185 MB / 0.9658 GB, free: 83.68 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00358/1.945, allocations: 3.411 MB / 0.9691 GB, free: 80.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.162e-06/1.945, allocations: 0 / 0.9691 GB, free: 80.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 10.26/12.2, allocations: 153.5 MB / 1.119 GB, free: 135.8 MB / 0.5262 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_FourbarVariants_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_FourbarVariants_JointSSR.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches