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.001051/0.001051, allocations: 114.5 kB / 17.78 MB, free: 5.262 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.001061/0.001061, allocations: 187.7 kB / 18.72 MB, free: 4.332 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.35/1.35, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.207/0.207, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 67.89 kB / 470 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.356, allocations: 60.81 MB / 0.5184 GB, free: 3.141 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01616/0.3722, allocations: 16.29 MB / 0.5343 GB, free: 7.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.012/0.3842, allocations: 5.34 MB / 0.5395 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003862/0.3881, allocations: 100.6 kB / 0.5396 GB, free: 3.203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008202/0.3964, allocations: 4.169 MB / 0.5437 GB, free: 412 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008082/0.4045, allocations: 2.833 MB / 0.5465 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00294/0.4075, allocations: 1.266 MB / 0.5477 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01037/0.4179, allocations: 7.609 MB / 0.5551 GB, free: 6.316 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007154/0.4251, allocations: 5.852 MB / 0.5608 GB, free: 396 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004561/0.4297, allocations: 2.671 MB / 0.5635 GB, free: 13.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005213/0.4349, allocations: 3.778 MB / 0.5671 GB, free: 9.918 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001762/0.4367, allocations: 0.5938 MB / 0.5677 GB, free: 9.324 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00418/0.4409, allocations: 1.764 MB / 0.5694 GB, free: 7.559 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004438/0.4453, allocations: 3.343 MB / 0.5727 GB, free: 4.207 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007525/0.4529, allocations: 3.834 MB / 0.5765 GB, free: 360 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02175/0.4747, allocations: 12.51 MB / 0.5887 GB, free: 3.801 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.487e-06/0.4747, allocations: 0 / 0.5887 GB, free: 3.801 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4747, allocations: 3.938 kB / 0.5887 GB, free: 3.797 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004917/0.4752, allocations: 0 / 0.5887 GB, free: 3.797 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.02903/0.5043, allocations: 8.213 MB / 0.5967 GB, free: 11.48 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.578e-05/0.5044, allocations: 16.03 kB / 0.5967 GB, free: 11.46 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005227/0.5096, allocations: 1.299 MB / 0.598 GB, free: 10.15 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03152/0.5412, allocations: 5.745 MB / 0.6036 GB, free: 4.395 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01108/0.5523, allocations: 5.234 MB / 0.6087 GB, free: 15.1 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003714/0.5527, allocations: 398 kB / 0.6091 GB, free: 14.71 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001891/0.5546, allocations: 0.5504 MB / 0.6096 GB, free: 14.16 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03477/0.5894, allocations: 18.82 MB / 0.628 GB, free: 10.29 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000202/0.5896, allocations: 67.5 kB / 0.6281 GB, free: 10.22 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008639/0.5905, allocations: 251.7 kB / 0.6283 GB, free: 9.977 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005228/0.5957, allocations: 3.432 MB / 0.6317 GB, free: 6.543 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03436/0.6301, allocations: 16.5 MB / 0.6478 GB, free: 6.02 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.09558/0.7257, allocations: 66.62 MB / 0.7128 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4644/1.19, allocations: 6.256 MB / 0.7189 GB, free: 164.3 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004272/1.195, allocations: 2.841 MB / 0.7217 GB, free: 163.2 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02263/1.217, allocations: 13.86 MB / 0.7352 GB, free: 156.2 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/1.217, allocations: 67.34 kB / 0.7353 GB, free: 156.1 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=284): time 6.953e-06/1.217, allocations: 0 / 0.7353 GB, free: 156.1 MB / 0.5607 GB Notification: Performance of matching and sorting (n=345): time 0.07627/1.294, allocations: 25.44 MB / 0.7602 GB, free: 141.8 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/1.294, allocations: 184.3 kB / 0.7603 GB, free: 141.5 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006233/1.3, allocations: 5.921 MB / 0.7661 GB, free: 135.8 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0005156/1.3, allocations: 73.7 kB / 0.7662 GB, free: 135.7 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002043/1.302, allocations: 5.193 MB / 0.7713 GB, free: 130.8 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001036/1.303, allocations: 1.333 MB / 0.7726 GB, free: 129.5 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001807/1.305, allocations: 1.881 MB / 0.7744 GB, free: 127.6 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.772e-05/1.305, allocations: 301.1 kB / 0.7747 GB, free: 127.3 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003716/1.309, allocations: 3.294 MB / 0.7779 GB, free: 124 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005494/1.315, allocations: 8.767 MB / 0.7865 GB, free: 112.6 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0109/1.326, allocations: 13.05 MB / 0.7992 GB, free: 96.82 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001259/1.326, allocations: 57.91 kB / 0.7993 GB, free: 96.77 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.02099/1.347, allocations: 12.84 MB / 0.8118 GB, free: 83.88 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/1.347, allocations: 90.81 kB / 0.8119 GB, free: 83.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001917/1.347, allocations: 192.9 kB / 0.8121 GB, free: 83.61 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003757/1.351, allocations: 1.318 MB / 0.8133 GB, free: 82.29 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007202/1.358, allocations: 2.16 MB / 0.8155 GB, free: 80.12 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01037/1.368, allocations: 7.836 MB / 0.8231 GB, free: 72.16 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007968/1.376, allocations: 0.4955 MB / 0.8236 GB, free: 71.66 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001489/1.378, allocations: 0.5582 MB / 0.8241 GB, free: 71.11 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.00484/1.383, allocations: 3.441 MB / 0.8275 GB, free: 67.65 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000961/1.384, allocations: 0.5549 MB / 0.828 GB, free: 67.09 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009617/1.393, allocations: 5.408 MB / 0.8333 GB, free: 61.62 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.353e-05/1.393, allocations: 39.05 kB / 0.8334 GB, free: 61.59 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.722e-05/1.393, allocations: 8 kB / 0.8334 GB, free: 61.58 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.919e-05/1.393, allocations: 19.88 kB / 0.8334 GB, free: 61.56 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02504/1.419, allocations: 13.93 MB / 0.847 GB, free: 47.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.606e-05/1.419, allocations: 12 kB / 0.847 GB, free: 47.39 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001954/1.421, allocations: 0.4922 MB / 0.8475 GB, free: 46.89 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003047/1.424, allocations: 0.8127 MB / 0.8483 GB, free: 46.08 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002511/1.424, allocations: 72.45 kB / 0.8483 GB, free: 46.01 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007745/1.432, allocations: 5.815 MB / 0.854 GB, free: 40.05 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/1.432, allocations: 15.94 kB / 0.854 GB, free: 40.04 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01208/1.444, allocations: 8.323 MB / 0.8622 GB, free: 31.43 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001698/1.445, allocations: 0.5948 MB / 0.8628 GB, free: 30.82 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006686/1.446, allocations: 63.94 kB / 0.8628 GB, free: 30.75 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002031/1.448, allocations: 131.9 kB / 0.8629 GB, free: 30.62 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004561/1.449, allocations: 228.9 kB / 0.8632 GB, free: 30.41 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001895/1.449, allocations: 99.98 kB / 0.8633 GB, free: 30.31 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004762/1.454, allocations: 3.676 MB / 0.8668 GB, free: 26.66 MB / 0.5607 GB Notification: Performance of sort global known variables: time 3.7e-07/1.454, allocations: 0 / 0.8668 GB, free: 26.66 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007668/1.461, allocations: 1.636 MB / 0.8684 GB, free: 25.03 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.01202/1.473, allocations: 9.073 MB / 0.8773 GB, free: 15.66 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01122/1.485, allocations: 7.839 MB / 0.885 GB, free: 7.832 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/1.485, allocations: 1.875 kB / 0.885 GB, free: 7.832 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.003369/1.488, allocations: 2.38 MB / 0.8873 GB, free: 5.438 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004298/1.492, allocations: 0.7095 MB / 0.888 GB, free: 4.738 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3698/1.862, allocations: 73.71 MB / 0.96 GB, free: 197.6 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006359/1.869, allocations: 5.159 MB / 0.965 GB, free: 195.9 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.006159/1.875, allocations: 2.968 MB / 0.9679 GB, free: 195.8 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00401/1.879, allocations: 3.329 MB / 0.9711 GB, free: 193.1 MB / 0.6232 GB Notification: Performance of SimCode: time 1.493e-06/1.879, allocations: 0 / 0.9711 GB, free: 193.1 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1523/2.031, allocations: 110.6 MB / 1.079 GB, free: 90.43 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.18/25.21, allocations: 13.66 kB / 1.079 GB, free: 90.42 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