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.001363/0.001363, allocations: 104.8 kB / 16.4 MB, free: 5.961 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.001248/0.001248, allocations: 195.7 kB / 17.34 MB, free: 5.566 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.516/1.516, 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.2239/0.2239, allocations: 43.52 MB / 314.1 MB, free: 452 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.002022/0.002022, allocations: 75.89 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1174, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01889/0.1363, allocations: 16.38 MB / 0.5034 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01141/0.1478, allocations: 5.319 MB / 0.5086 GB, free: 6.512 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002836/0.1507, allocations: 99.75 kB / 0.5087 GB, free: 6.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008308/0.159, allocations: 4.174 MB / 0.5128 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007905/0.167, allocations: 2.754 MB / 0.5154 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003507/0.1705, allocations: 1.263 MB / 0.5167 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01162/0.1821, allocations: 7.446 MB / 0.5239 GB, free: 6.727 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008106/0.1903, allocations: 5.864 MB / 0.5297 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2592/0.4495, allocations: 2.69 MB / 0.5323 GB, free: 9.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009239/0.4588, allocations: 3.791 MB / 0.536 GB, free: 9.477 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003796/0.4626, allocations: 0.5952 MB / 0.5366 GB, free: 9.477 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007992/0.4707, allocations: 1.754 MB / 0.5383 GB, free: 9.477 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00912/0.4798, allocations: 3.317 MB / 0.5415 GB, free: 9.145 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01546/0.4953, allocations: 3.854 MB / 0.5453 GB, free: 7.824 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02897/0.5243, allocations: 12.54 MB / 0.5575 GB, free: 4.922 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.838e-06/0.5244, allocations: 1.406 kB / 0.5575 GB, free: 4.922 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.5244, allocations: 0 / 0.5575 GB, free: 4.922 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006497/0.5251, allocations: 3.906 kB / 0.5575 GB, free: 4.922 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.03755/0.5626, allocations: 8.258 MB / 0.5656 GB, free: 15.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/0.5627, allocations: 13.73 kB / 0.5656 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006155/0.5689, allocations: 1.308 MB / 0.5669 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04768/0.6166, allocations: 5.747 MB / 0.5725 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01862/0.6353, allocations: 5.678 MB / 0.5781 GB, free: 8.938 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000544/0.6359, allocations: 404 kB / 0.5784 GB, free: 8.809 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003377/0.6393, allocations: 0.5488 MB / 0.579 GB, free: 8.668 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04911/0.6884, allocations: 18.83 MB / 0.5974 GB, free: 5.402 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002531/0.6887, allocations: 70.22 kB / 0.5974 GB, free: 5.363 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001145/0.6898, allocations: 246.3 kB / 0.5977 GB, free: 5.184 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005877/0.6957, allocations: 3.427 MB / 0.601 GB, free: 1.801 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03949/0.7352, allocations: 16.51 MB / 0.6171 GB, free: 1.559 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.1184/0.8537, allocations: 66.67 MB / 0.6822 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01786/0.8716, allocations: 6.285 MB / 0.6884 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005302/0.8769, allocations: 2.814 MB / 0.6911 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02991/0.9069, allocations: 13.87 MB / 0.7047 GB, free: 6.133 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.471e-05/0.907, allocations: 67.59 kB / 0.7047 GB, free: 6.062 MB / 0.545 GB Notification: Performance of pre-optimization done (n=284): time 6.493e-06/0.907, allocations: 0 / 0.7047 GB, free: 6.062 MB / 0.545 GB Notification: Performance of matching and sorting (n=345): time 0.09971/1.007, allocations: 25.6 MB / 0.7297 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/1.007, allocations: 184.3 kB / 0.7299 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01306/1.02, allocations: 5.961 MB / 0.7357 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008139/1.021, allocations: 77.64 kB / 0.7358 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.006078/1.027, allocations: 5.192 MB / 0.7409 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002456/1.029, allocations: 1.337 MB / 0.7422 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004408/1.034, allocations: 1.885 MB / 0.744 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001496/1.034, allocations: 301.1 kB / 0.7443 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006516/1.04, allocations: 3.29 MB / 0.7475 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2619/1.302, allocations: 8.76 MB / 0.7561 GB, free: 196.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01524/1.318, allocations: 13.05 MB / 0.7688 GB, free: 188.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001727/1.318, allocations: 54.97 kB / 0.7689 GB, free: 188.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.02728/1.345, allocations: 12.85 MB / 0.7814 GB, free: 183.6 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001183/1.345, allocations: 87.97 kB / 0.7815 GB, free: 183.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002014/1.346, allocations: 191.9 kB / 0.7817 GB, free: 183.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004159/1.35, allocations: 1.332 MB / 0.783 GB, free: 183.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007097/1.357, allocations: 2.162 MB / 0.7851 GB, free: 183.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01098/1.368, allocations: 7.845 MB / 0.7928 GB, free: 179 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008083/1.376, allocations: 0.4931 MB / 0.7932 GB, free: 178.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001739/1.378, allocations: 0.5431 MB / 0.7938 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.007247/1.385, allocations: 3.459 MB / 0.7972 GB, free: 177.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009804/1.386, allocations: 0.5598 MB / 0.7977 GB, free: 177.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01019/1.396, allocations: 5.42 MB / 0.803 GB, free: 174.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-05/1.396, allocations: 37 kB / 0.803 GB, free: 174.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.716e-05/1.396, allocations: 9.969 kB / 0.803 GB, free: 174.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.542e-05/1.396, allocations: 11.72 kB / 0.803 GB, free: 174.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02975/1.426, allocations: 13.94 MB / 0.8167 GB, free: 163.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-05/1.426, allocations: 12 kB / 0.8167 GB, free: 163.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002319/1.429, allocations: 0.4922 MB / 0.8172 GB, free: 162.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00319/1.432, allocations: 0.8142 MB / 0.818 GB, free: 162.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004838/1.432, allocations: 67.98 kB / 0.818 GB, free: 162.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008219/1.44, allocations: 5.814 MB / 0.8237 GB, free: 157 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.261e-05/1.44, allocations: 19.19 kB / 0.8237 GB, free: 157 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01324/1.454, allocations: 8.335 MB / 0.8319 GB, free: 149.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002585/1.456, allocations: 0.9501 MB / 0.8328 GB, free: 148.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001473/1.458, allocations: 67.98 kB / 0.8328 GB, free: 148.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003035/1.461, allocations: 130.5 kB / 0.833 GB, free: 148 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005587/1.461, allocations: 225.5 kB / 0.8332 GB, free: 147.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002114/1.462, allocations: 101.2 kB / 0.8333 GB, free: 147.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006844/1.469, allocations: 3.704 MB / 0.8369 GB, free: 144 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.81e-07/1.469, allocations: 0 / 0.8369 GB, free: 144 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01016/1.479, allocations: 1.631 MB / 0.8385 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.01359/1.492, allocations: 9.082 MB / 0.8474 GB, free: 133 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01256/1.505, allocations: 7.835 MB / 0.855 GB, free: 125.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.469e-05/1.505, allocations: 2 kB / 0.855 GB, free: 125.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003733/1.509, allocations: 2.378 MB / 0.8573 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.005489/1.514, allocations: 0.7166 MB / 0.858 GB, free: 122.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1167/1.631, allocations: 73.96 MB / 0.9303 GB, free: 39.18 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008877/1.64, allocations: 5.173 MB / 0.9353 GB, free: 33.96 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00779/1.648, allocations: 2.982 MB / 0.9382 GB, free: 30.98 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006891/1.655, allocations: 3.338 MB / 0.9415 GB, free: 27.64 MB / 0.5919 GB Notification: Performance of SimCode: time 2.104e-06/1.655, allocations: 4 kB / 0.9415 GB, free: 27.63 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4779/2.133, allocations: 111 MB / 1.05 GB, free: 168 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.13/26.26, allocations: 6.812 kB / 1.05 GB, free: 168 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