Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_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.001489/0.001489, allocations: 105.9 kB / 16.4 MB, free: 6.461 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.001651/0.001651, allocations: 192.2 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1967/0.1967, allocations: 43.52 MB / 314.1 MB, free: 440 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 65.47 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1067, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01688/0.1236, allocations: 16.38 MB / 0.5034 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01247/0.1361, allocations: 5.315 MB / 0.5086 GB, free: 6.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003114/0.1392, allocations: 99.69 kB / 0.5087 GB, free: 6.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007891/0.1472, allocations: 4.17 MB / 0.5127 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007165/0.1544, allocations: 2.836 MB / 0.5155 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003098/0.1575, allocations: 1.263 MB / 0.5167 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01197/0.1695, allocations: 7.461 MB / 0.524 GB, free: 6.625 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008388/0.1779, allocations: 5.86 MB / 0.5298 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2349/0.4128, allocations: 2.689 MB / 0.5324 GB, free: 9.609 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006452/0.4193, allocations: 3.799 MB / 0.5361 GB, free: 9.391 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002593/0.422, allocations: 0.5952 MB / 0.5367 GB, free: 9.391 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005718/0.4277, allocations: 1.756 MB / 0.5384 GB, free: 9.391 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006519/0.4342, allocations: 3.348 MB / 0.5417 GB, free: 9.062 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008963/0.4432, allocations: 3.853 MB / 0.5454 GB, free: 7.738 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01881/0.4621, allocations: 12.54 MB / 0.5577 GB, free: 4.895 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.4621, allocations: 1.219 kB / 0.5577 GB, free: 4.895 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4621, allocations: 0 / 0.5577 GB, free: 4.895 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005243/0.4627, allocations: 0 / 0.5577 GB, free: 4.895 MB / 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.02573/0.4884, allocations: 8.261 MB / 0.5657 GB, free: 15.62 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/0.4885, allocations: 16.98 kB / 0.5657 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004236/0.4927, allocations: 1.307 MB / 0.567 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03005/0.5228, allocations: 5.743 MB / 0.5726 GB, free: 11.94 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01323/0.5361, allocations: 5.678 MB / 0.5782 GB, free: 8.906 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003173/0.5364, allocations: 399.6 kB / 0.5786 GB, free: 8.781 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002472/0.5389, allocations: 0.5589 MB / 0.5791 GB, free: 8.637 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03679/0.5757, allocations: 18.82 MB / 0.5975 GB, free: 5.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001781/0.5759, allocations: 68.77 kB / 0.5975 GB, free: 5.285 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007793/0.5767, allocations: 254.2 kB / 0.5978 GB, free: 5.102 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004791/0.5815, allocations: 3.426 MB / 0.6011 GB, free: 1.719 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03488/0.6164, allocations: 16.51 MB / 0.6173 GB, free: 1.484 MB / 462.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.1056/0.7221, allocations: 66.67 MB / 0.6824 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01772/0.7398, allocations: 6.289 MB / 0.6885 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004993/0.7449, allocations: 2.814 MB / 0.6912 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02916/0.774, allocations: 13.87 MB / 0.7048 GB, free: 6.059 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.674e-05/0.7741, allocations: 71.61 kB / 0.7049 GB, free: 5.984 MB / 0.545 GB Notification: Performance of pre-optimization done (n=284): time 5.841e-06/0.7742, allocations: 0 / 0.7049 GB, free: 5.984 MB / 0.545 GB Notification: Performance of matching and sorting (n=345): time 0.09094/0.8651, allocations: 25.6 MB / 0.7299 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002002/0.8653, allocations: 192.3 kB / 0.73 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009762/0.8751, allocations: 5.957 MB / 0.7359 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0007055/0.8758, allocations: 76.83 kB / 0.7359 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.003687/0.8795, allocations: 5.196 MB / 0.741 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001695/0.8812, allocations: 1.34 MB / 0.7423 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002601/0.8839, allocations: 1.878 MB / 0.7442 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.884, allocations: 307.8 kB / 0.7444 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005156/0.8891, allocations: 3.29 MB / 0.7477 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2936/1.183, allocations: 8.758 MB / 0.7562 GB, free: 196.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01631/1.199, allocations: 13.05 MB / 0.769 GB, free: 188.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002373/1.199, allocations: 62.06 kB / 0.769 GB, free: 188.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.02695/1.226, allocations: 12.84 MB / 0.7816 GB, free: 183.6 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002254/1.227, allocations: 86.75 kB / 0.7816 GB, free: 183.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003385/1.227, allocations: 191.4 kB / 0.7818 GB, free: 183.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004568/1.231, allocations: 1.326 MB / 0.7831 GB, free: 183.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007343/1.239, allocations: 2.163 MB / 0.7852 GB, free: 183.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01161/1.25, allocations: 7.841 MB / 0.7929 GB, free: 179 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007628/1.258, allocations: 0.4926 MB / 0.7934 GB, free: 178.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002024/1.26, allocations: 0.5443 MB / 0.7939 GB, free: 178.8 MB / 0.5919 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.00795/1.268, allocations: 3.447 MB / 0.7973 GB, free: 177.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001334/1.27, allocations: 0.5558 MB / 0.7978 GB, free: 177.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0115/1.281, allocations: 5.428 MB / 0.8031 GB, free: 174.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.291e-05/1.281, allocations: 36 kB / 0.8031 GB, free: 174.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.38e-05/1.281, allocations: 8 kB / 0.8031 GB, free: 174.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.596e-05/1.281, allocations: 15.23 kB / 0.8032 GB, free: 174.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02993/1.311, allocations: 13.95 MB / 0.8168 GB, free: 163.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-05/1.311, allocations: 12.77 kB / 0.8168 GB, free: 163.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002036/1.313, allocations: 0.499 MB / 0.8173 GB, free: 162.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002972/1.316, allocations: 0.813 MB / 0.8181 GB, free: 162.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003676/1.317, allocations: 69.77 kB / 0.8181 GB, free: 162.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007668/1.324, allocations: 5.806 MB / 0.8238 GB, free: 157 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/1.324, allocations: 20.48 kB / 0.8238 GB, free: 157 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01155/1.336, allocations: 8.331 MB / 0.832 GB, free: 149.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002761/1.339, allocations: 0.9539 MB / 0.8329 GB, free: 148.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009873/1.34, allocations: 63.98 kB / 0.833 GB, free: 148.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002135/1.342, allocations: 132.8 kB / 0.8331 GB, free: 148 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003705/1.342, allocations: 226.4 kB / 0.8333 GB, free: 147.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001849/1.342, allocations: 106.3 kB / 0.8334 GB, free: 147.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005484/1.348, allocations: 3.7 MB / 0.837 GB, free: 144 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.91e-07/1.348, allocations: 0 / 0.837 GB, free: 144 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009241/1.357, allocations: 1.627 MB / 0.8386 GB, free: 142.4 MB / 0.5919 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.01219/1.369, allocations: 9.086 MB / 0.8475 GB, free: 133 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01152/1.381, allocations: 7.835 MB / 0.8551 GB, free: 125.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/1.381, allocations: 4 kB / 0.8551 GB, free: 125.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003137/1.384, allocations: 2.382 MB / 0.8575 GB, free: 122.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004035/1.388, allocations: 0.7144 MB / 0.8582 GB, free: 122.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09272/1.481, allocations: 73.95 MB / 0.9304 GB, free: 39.16 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005301/1.486, allocations: 5.182 MB / 0.9354 GB, free: 33.94 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006165/1.492, allocations: 2.967 MB / 0.9383 GB, free: 30.96 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004341/1.497, allocations: 3.342 MB / 0.9416 GB, free: 27.62 MB / 0.5919 GB Notification: Performance of SimCode: time 2.725e-06/1.497, allocations: 0 / 0.9416 GB, free: 27.62 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4293/1.926, allocations: 111 MB / 1.05 GB, free: 167.8 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.88/24.8, allocations: 6.75 kB / 1.05 GB, free: 167.8 MB / 0.6075 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointSSR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches