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.001394/0.001394, allocations: 113.2 kB / 17.78 MB, free: 5.129 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.001229/0.001229, allocations: 181 kB / 18.71 MB, free: 4.207 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.384/1.384, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2218/0.2218, allocations: 44.19 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 71.89 kB / 470 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.345, allocations: 60.82 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01718/0.3622, allocations: 16.28 MB / 0.5343 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01231/0.3746, allocations: 5.345 MB / 0.5395 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002974/0.3776, allocations: 100.5 kB / 0.5396 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00831/0.3859, allocations: 4.165 MB / 0.5437 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00822/0.3942, allocations: 2.747 MB / 0.5464 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003004/0.3972, allocations: 1.27 MB / 0.5476 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01151/0.4088, allocations: 7.6 MB / 0.555 GB, free: 6.523 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007946/0.4167, allocations: 5.86 MB / 0.5608 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004943/0.4217, allocations: 2.671 MB / 0.5634 GB, free: 13.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00644/0.4282, allocations: 3.778 MB / 0.5671 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002304/0.4305, allocations: 0.5938 MB / 0.5676 GB, free: 9.523 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004216/0.4348, allocations: 1.756 MB / 0.5694 GB, free: 7.766 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003686/0.4385, allocations: 3.316 MB / 0.5726 GB, free: 4.441 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005929/0.4444, allocations: 3.842 MB / 0.5763 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01705/0.4615, allocations: 12.5 MB / 0.5886 GB, free: 4.027 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.353e-06/0.4615, allocations: 4 kB / 0.5886 GB, free: 4.023 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4615, allocations: 0 / 0.5886 GB, free: 4.023 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004366/0.462, allocations: 0 / 0.5886 GB, free: 4.023 MB / 446.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.02135/0.4833, allocations: 8.213 MB / 0.5966 GB, free: 11.71 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.4834, allocations: 8.031 kB / 0.5966 GB, free: 11.7 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003109/0.4865, allocations: 1.299 MB / 0.5979 GB, free: 10.39 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0301/0.5166, allocations: 5.753 MB / 0.6035 GB, free: 4.621 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01225/0.5289, allocations: 5.222 MB / 0.6086 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004144/0.5294, allocations: 406 kB / 0.609 GB, free: 14.94 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002346/0.5317, allocations: 0.5504 MB / 0.6095 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0367/0.5684, allocations: 18.82 MB / 0.6279 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001834/0.5686, allocations: 63.52 kB / 0.6279 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007084/0.5694, allocations: 243.8 kB / 0.6282 GB, free: 10.22 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005346/0.5747, allocations: 3.432 MB / 0.6315 GB, free: 6.785 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0365/0.6112, allocations: 16.52 MB / 0.6477 GB, free: 6.25 MB / 0.4981 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 preOpt removeSimpleEquations (simulation): time 0.09684/0.7081, allocations: 66.62 MB / 0.7127 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.47/1.178, allocations: 6.262 MB / 0.7188 GB, free: 164.4 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004046/1.182, allocations: 2.836 MB / 0.7216 GB, free: 163.3 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02296/1.205, allocations: 13.85 MB / 0.7351 GB, free: 156.2 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.55e-05/1.205, allocations: 75.61 kB / 0.7352 GB, free: 156.2 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=284): time 6.132e-06/1.205, allocations: 0 / 0.7352 GB, free: 156.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=345): time 0.07668/1.282, allocations: 25.45 MB / 0.76 GB, free: 142.1 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/1.282, allocations: 184.3 kB / 0.7602 GB, free: 141.9 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007115/1.289, allocations: 5.912 MB / 0.766 GB, free: 136.1 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0007104/1.29, allocations: 73.7 kB / 0.7661 GB, free: 136 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002409/1.292, allocations: 5.19 MB / 0.7711 GB, free: 131.2 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001208/1.294, allocations: 1.342 MB / 0.7724 GB, free: 129.9 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001919/1.296, allocations: 1.881 MB / 0.7743 GB, free: 128 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.015e-05/1.296, allocations: 301.1 kB / 0.7746 GB, free: 127.7 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003864/1.299, allocations: 3.294 MB / 0.7778 GB, free: 124.4 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005915/1.305, allocations: 8.759 MB / 0.7863 GB, free: 112.9 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0111/1.317, allocations: 13.06 MB / 0.7991 GB, free: 97.15 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001341/1.317, allocations: 59.94 kB / 0.7991 GB, free: 97.09 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.02215/1.339, allocations: 12.83 MB / 0.8117 GB, free: 84.21 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001203/1.339, allocations: 88.06 kB / 0.8118 GB, free: 84.13 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002454/1.339, allocations: 192 kB / 0.8119 GB, free: 83.94 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004029/1.343, allocations: 1.314 MB / 0.8132 GB, free: 82.62 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006692/1.35, allocations: 2.164 MB / 0.8153 GB, free: 80.46 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01064/1.361, allocations: 7.836 MB / 0.823 GB, free: 72.49 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00654/1.367, allocations: 0.5034 MB / 0.8235 GB, free: 71.99 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001449/1.369, allocations: 0.5462 MB / 0.824 GB, free: 71.45 MB / 0.5607 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.006358/1.375, allocations: 3.444 MB / 0.8274 GB, free: 67.98 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001196/1.376, allocations: 0.5549 MB / 0.8279 GB, free: 67.43 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009761/1.386, allocations: 5.42 MB / 0.8332 GB, free: 61.95 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.407e-05/1.386, allocations: 36 kB / 0.8333 GB, free: 61.91 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/1.386, allocations: 4 kB / 0.8333 GB, free: 61.91 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.609e-05/1.386, allocations: 19.89 kB / 0.8333 GB, free: 61.89 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0221/1.408, allocations: 13.93 MB / 0.8469 GB, free: 47.73 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.961e-05/1.408, allocations: 16.25 kB / 0.8469 GB, free: 47.72 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002082/1.41, allocations: 0.4933 MB / 0.8474 GB, free: 47.23 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003061/1.414, allocations: 0.8127 MB / 0.8482 GB, free: 46.41 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003288/1.414, allocations: 68 kB / 0.8482 GB, free: 46.34 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007637/1.422, allocations: 5.819 MB / 0.8539 GB, free: 40.39 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/1.422, allocations: 15.94 kB / 0.8539 GB, free: 40.37 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01157/1.433, allocations: 8.322 MB / 0.8621 GB, free: 31.77 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001459/1.435, allocations: 0.5909 MB / 0.8626 GB, free: 31.16 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006648/1.435, allocations: 67.98 kB / 0.8627 GB, free: 31.09 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001924/1.437, allocations: 131.9 kB / 0.8628 GB, free: 30.96 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004093/1.438, allocations: 225.4 kB / 0.863 GB, free: 30.74 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001838/1.438, allocations: 107.7 kB / 0.8631 GB, free: 30.64 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004539/1.442, allocations: 3.668 MB / 0.8667 GB, free: 27 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.91e-07/1.442, allocations: 0 / 0.8667 GB, free: 27 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007161/1.45, allocations: 1.633 MB / 0.8683 GB, free: 25.37 MB / 0.5607 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.01182/1.461, allocations: 9.073 MB / 0.8772 GB, free: 16 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01073/1.472, allocations: 7.849 MB / 0.8848 GB, free: 8.168 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.474e-05/1.472, allocations: 4 kB / 0.8849 GB, free: 8.164 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.003212/1.475, allocations: 2.372 MB / 0.8872 GB, free: 5.777 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003714/1.479, allocations: 0.7059 MB / 0.8879 GB, free: 5.082 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4071/1.886, allocations: 73.7 MB / 0.9598 GB, free: 198 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006623/1.893, allocations: 5.163 MB / 0.9649 GB, free: 196.3 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.006015/1.899, allocations: 2.963 MB / 0.9678 GB, free: 196.2 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004382/1.903, allocations: 3.333 MB / 0.971 GB, free: 193.5 MB / 0.6232 GB Notification: Performance of SimCode: time 1.363e-06/1.903, allocations: 0 / 0.971 GB, free: 193.5 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1509/2.054, allocations: 110.6 MB / 1.079 GB, free: 90.85 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.95/27.01, allocations: 21.66 kB / 1.079 GB, free: 90.83 MB / 0.6232 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 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.csv","/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