Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.001937/0.001937, allocations: 194 kB / 18.12 MB, free: 5.383 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.449/1.449, allocations: 222.9 MB / 241.8 MB, free: 13.81 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.2452/0.2452, allocations: 44.18 MB / 336.1 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 68.3 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1317, allocations: 60.83 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.3175/0.4492, allocations: 58.16 MB / 0.5144 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02782/0.477, allocations: 12.35 MB / 0.5265 GB, free: 7.371 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01296/0.49, allocations: 250.6 kB / 0.5267 GB, free: 7.332 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007868/0.4979, allocations: 4.15 MB / 0.5308 GB, free: 6.078 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00913/0.5071, allocations: 2.593 MB / 0.5333 GB, free: 5.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004819/0.512, allocations: 1.156 MB / 0.5345 GB, free: 4.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01248/0.5245, allocations: 10.73 MB / 0.5449 GB, free: 15.56 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008124/0.5326, allocations: 5.749 MB / 0.5505 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004847/0.5375, allocations: 2.343 MB / 0.5528 GB, free: 8.566 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006313/0.5439, allocations: 3.985 MB / 0.5567 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002049/0.5459, allocations: 416 kB / 0.5571 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005361/0.5513, allocations: 1.661 MB / 0.5587 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005104/0.5564, allocations: 3.17 MB / 0.5618 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007874/0.5643, allocations: 3.66 MB / 0.5654 GB, free: 11.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01796/0.5823, allocations: 11.89 MB / 0.577 GB, free: 348 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/0.5824, allocations: 0 / 0.577 GB, free: 348 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5824, allocations: 0 / 0.577 GB, free: 348 kB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0008256/0.5832, allocations: 0 / 0.577 GB, free: 348 kB / 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.02623/0.6095, allocations: 7.995 MB / 0.5848 GB, free: 8.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/0.6096, allocations: 12.03 kB / 0.5848 GB, free: 8.418 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004419/0.614, allocations: 1.295 MB / 0.5861 GB, free: 7.172 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02977/0.6438, allocations: 5.709 MB / 0.5917 GB, free: 1.449 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01246/0.6563, allocations: 5.137 MB / 0.5967 GB, free: 12.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005971/0.6569, allocations: 402.5 kB / 0.5971 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003323/0.6603, allocations: 0.5585 MB / 0.5976 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04296/0.7033, allocations: 18.82 MB / 0.616 GB, free: 7.82 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002844/0.7036, allocations: 71.31 kB / 0.6161 GB, free: 7.75 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009095/0.7045, allocations: 252.5 kB / 0.6163 GB, free: 7.566 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005282/0.7098, allocations: 3.427 MB / 0.6197 GB, free: 4.152 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03579/0.7456, allocations: 16.51 MB / 0.6358 GB, free: 3.637 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.6401/1.386, allocations: 66.82 MB / 0.701 GB, free: 170.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01748/1.403, allocations: 6.256 MB / 0.7071 GB, free: 169.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005202/1.408, allocations: 2.829 MB / 0.7099 GB, free: 169.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02322/1.432, allocations: 13.84 MB / 0.7234 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.996e-05/1.432, allocations: 60.91 kB / 0.7235 GB, free: 163.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=284): time 6.392e-06/1.432, allocations: 0.5938 kB / 0.7235 GB, free: 163.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=345): time 0.07924/1.511, allocations: 25.06 MB / 0.7479 GB, free: 155.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.957e-05/1.511, allocations: 191.5 kB / 0.7481 GB, free: 154.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007858/1.519, allocations: 5.904 MB / 0.7539 GB, free: 151.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007123/1.52, allocations: 77.58 kB / 0.754 GB, free: 151.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002889/1.523, allocations: 4.984 MB / 0.7588 GB, free: 146.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001558/1.524, allocations: 1.285 MB / 0.7601 GB, free: 144.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002195/1.527, allocations: 1.861 MB / 0.7619 GB, free: 143 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 7.73e-05/1.527, allocations: 309.1 kB / 0.7622 GB, free: 142.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004139/1.531, allocations: 3.29 MB / 0.7654 GB, free: 139.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006136/1.537, allocations: 8.758 MB / 0.774 GB, free: 128 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01291/1.55, allocations: 13.06 MB / 0.7867 GB, free: 112.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001771/1.55, allocations: 56 kB / 0.7868 GB, free: 112.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.02188/1.572, allocations: 12.81 MB / 0.7993 GB, free: 99.47 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001683/1.572, allocations: 88 kB / 0.7994 GB, free: 99.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002327/1.572, allocations: 192 kB / 0.7996 GB, free: 99.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003896/1.576, allocations: 1.321 MB / 0.8008 GB, free: 97.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006417/1.583, allocations: 2.16 MB / 0.803 GB, free: 95.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01012/1.593, allocations: 7.283 MB / 0.8101 GB, free: 88.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007394/1.6, allocations: 0.5029 MB / 0.8106 GB, free: 87.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001582/1.602, allocations: 0.539 MB / 0.8111 GB, free: 87.26 MB / 0.5294 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 (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.006926/1.609, allocations: 3.448 MB / 0.8145 GB, free: 83.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001468/1.61, allocations: 0.5283 MB / 0.815 GB, free: 83.27 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01185/1.622, allocations: 5.408 MB / 0.8202 GB, free: 77.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.562e-05/1.622, allocations: 36 kB / 0.8203 GB, free: 77.76 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.51e-05/1.622, allocations: 7.938 kB / 0.8203 GB, free: 77.75 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.861e-05/1.622, allocations: 23.94 kB / 0.8203 GB, free: 77.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02891/1.651, allocations: 14.02 MB / 0.834 GB, free: 63.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.92e-05/1.651, allocations: 12 kB / 0.834 GB, free: 63.47 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00204/1.653, allocations: 0.4884 MB / 0.8345 GB, free: 62.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003125/1.657, allocations: 0.8237 MB / 0.8353 GB, free: 62.16 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003395/1.657, allocations: 64 kB / 0.8354 GB, free: 62.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007666/1.665, allocations: 5.335 MB / 0.8406 GB, free: 56.63 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.134e-05/1.665, allocations: 23.88 kB / 0.8406 GB, free: 56.61 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01291/1.677, allocations: 8.288 MB / 0.8487 GB, free: 48.03 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002029/1.68, allocations: 0.5605 MB / 0.8492 GB, free: 47.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006359/1.68, allocations: 63.94 kB / 0.8493 GB, free: 47.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002143/1.682, allocations: 131.9 kB / 0.8494 GB, free: 47.25 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004901/1.683, allocations: 221.5 kB / 0.8496 GB, free: 47.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002016/1.683, allocations: 111.7 kB / 0.8497 GB, free: 46.93 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005107/1.688, allocations: 3.668 MB / 0.8533 GB, free: 43.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.61e-07/1.688, allocations: 0 / 0.8533 GB, free: 43.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008259/1.696, allocations: 1.625 MB / 0.8549 GB, free: 41.68 MB / 0.5294 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.01282/1.709, allocations: 9.051 MB / 0.8637 GB, free: 32.34 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01257/1.722, allocations: 7.786 MB / 0.8714 GB, free: 24.57 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.731e-05/1.722, allocations: 0 / 0.8714 GB, free: 24.57 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004224/1.726, allocations: 2.376 MB / 0.8737 GB, free: 22.18 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004603/1.731, allocations: 0.6987 MB / 0.8744 GB, free: 21.49 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4265/2.157, allocations: 90.5 MB / 0.9627 GB, free: 131.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005894/2.163, allocations: 5.159 MB / 0.9678 GB, free: 127.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006702/2.17, allocations: 2.967 MB / 0.9707 GB, free: 124.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005473/2.175, allocations: 3.332 MB / 0.9739 GB, free: 121.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.663e-06/2.176, allocations: 0 / 0.9739 GB, free: 121.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1566/2.332, allocations: 114 MB / 1.085 GB, free: 7.965 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/2.332, allocations: 232.3 kB / 1.085 GB, free: 7.707 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.467/7.799, allocations: 0 / 1.085 GB, free: 7.707 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_JointSSR.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches