Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00158/0.00158, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001317/0.001317, allocations: 204.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2248/0.2248, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 74.03 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1205, allocations: 62.45 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01773/0.1382, allocations: 16.23 MB / 496.4 MB, free: 4.883 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01374/0.152, allocations: 5.364 MB / 0.49 GB, free: 15.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004307/0.1564, allocations: 95.75 kB / 0.4901 GB, free: 15.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00855/0.165, allocations: 4.154 MB / 0.4941 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007015/0.1721, allocations: 2.708 MB / 0.4968 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003299/0.1754, allocations: 1.267 MB / 0.498 GB, free: 7.258 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2696/0.445, allocations: 7.71 MB / 0.5055 GB, free: 13.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01166/0.4567, allocations: 5.857 MB / 0.5112 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006588/0.4633, allocations: 2.663 MB / 0.5138 GB, free: 13.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007586/0.471, allocations: 3.769 MB / 0.5175 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002741/0.4737, allocations: 0.5935 MB / 0.5181 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00485/0.4786, allocations: 1.752 MB / 0.5198 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005429/0.484, allocations: 3.279 MB / 0.523 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006929/0.491, allocations: 3.804 MB / 0.5267 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01819/0.5092, allocations: 11.96 MB / 0.5384 GB, free: 3.297 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.5093, allocations: 0 / 0.5384 GB, free: 3.297 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.5093, allocations: 3.469 kB / 0.5384 GB, free: 3.297 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000468/0.5098, allocations: 3.094 kB / 0.5384 GB, free: 3.297 MB / 382.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.02209/0.5319, allocations: 7.95 MB / 0.5462 GB, free: 14.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.5319, allocations: 14.72 kB / 0.5462 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003742/0.5357, allocations: 1.31 MB / 0.5475 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03102/0.5667, allocations: 5.699 MB / 0.553 GB, free: 7.797 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01312/0.5799, allocations: 4.814 MB / 0.5577 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004875/0.5804, allocations: 403.5 kB / 0.5581 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002781/0.5832, allocations: 0.5563 MB / 0.5587 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04588/0.6291, allocations: 18.83 MB / 0.5771 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004131/0.6296, allocations: 69.61 kB / 0.5771 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002481/0.6321, allocations: 250.3 kB / 0.5774 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005892/0.638, allocations: 3.432 MB / 0.5807 GB, free: 11.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03899/0.677, allocations: 16.51 MB / 0.5968 GB, free: 10.98 MB / 446.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.09986/0.7769, allocations: 66.81 MB / 0.6621 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01748/0.7944, allocations: 6.275 MB / 0.6682 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004786/0.7992, allocations: 2.831 MB / 0.671 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02548/0.8248, allocations: 13.92 MB / 0.6846 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.13e-05/0.8249, allocations: 67.22 kB / 0.6846 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=284): time 6.813e-06/0.8249, allocations: 0 / 0.6846 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of matching and sorting (n=345): time 0.08806/0.9129, allocations: 24.88 MB / 0.7089 GB, free: 6.336 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.9131, allocations: 184.3 kB / 0.7091 GB, free: 6.117 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01115/0.9242, allocations: 5.902 MB / 0.7149 GB, free: 244 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005957/0.9249, allocations: 73.7 kB / 0.7149 GB, free: 164 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.2632/1.188, allocations: 4.971 MB / 0.7198 GB, free: 187.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001631/1.19, allocations: 1.284 MB / 0.7211 GB, free: 186.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003396/1.193, allocations: 1.865 MB / 0.7229 GB, free: 186 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.841e-05/1.193, allocations: 303.4 kB / 0.7232 GB, free: 185.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005856/1.199, allocations: 3.299 MB / 0.7264 GB, free: 184.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009876/1.209, allocations: 8.769 MB / 0.7349 GB, free: 176.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01691/1.226, allocations: 13.05 MB / 0.7477 GB, free: 165.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004112/1.226, allocations: 54.94 kB / 0.7477 GB, free: 165.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.02849/1.255, allocations: 12.83 MB / 0.7603 GB, free: 160.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001402/1.255, allocations: 86.41 kB / 0.7604 GB, free: 160.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000243/1.255, allocations: 194.7 kB / 0.7605 GB, free: 160.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004052/1.259, allocations: 1.318 MB / 0.7618 GB, free: 160.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006822/1.266, allocations: 2.163 MB / 0.7639 GB, free: 159.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01055/1.277, allocations: 7.847 MB / 0.7716 GB, free: 154.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007595/1.284, allocations: 0.4959 MB / 0.7721 GB, free: 154.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001495/1.286, allocations: 0.5447 MB / 0.7726 GB, free: 153.5 MB / 0.545 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.007636/1.294, allocations: 3.451 MB / 0.776 GB, free: 150.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001182/1.295, allocations: 0.5319 MB / 0.7765 GB, free: 150 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01032/1.305, allocations: 5.413 MB / 0.7818 GB, free: 145.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.951e-05/1.305, allocations: 38.03 kB / 0.7818 GB, free: 145.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.815e-05/1.305, allocations: 8 kB / 0.7818 GB, free: 145.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.568e-05/1.305, allocations: 15.05 kB / 0.7819 GB, free: 145.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02627/1.332, allocations: 14.01 MB / 0.7955 GB, free: 132.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.551e-05/1.332, allocations: 10.53 kB / 0.7955 GB, free: 132.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002046/1.334, allocations: 0.4992 MB / 0.796 GB, free: 132.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003119/1.337, allocations: 0.8151 MB / 0.7968 GB, free: 131.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002696/1.337, allocations: 71.92 kB / 0.7969 GB, free: 131.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007999/1.345, allocations: 5.805 MB / 0.8026 GB, free: 125.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/1.345, allocations: 19.88 kB / 0.8026 GB, free: 125.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01223/1.357, allocations: 8.313 MB / 0.8107 GB, free: 116.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002275/1.36, allocations: 0.5566 MB / 0.8112 GB, free: 116.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001665/1.361, allocations: 74.64 kB / 0.8113 GB, free: 116 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002478/1.364, allocations: 132.7 kB / 0.8114 GB, free: 115.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004666/1.364, allocations: 217.4 kB / 0.8117 GB, free: 115.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001842/1.365, allocations: 106.8 kB / 0.8118 GB, free: 115.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006651/1.371, allocations: 3.663 MB / 0.8153 GB, free: 111.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.81e-07/1.371, allocations: 4 kB / 0.8153 GB, free: 111.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01094/1.382, allocations: 1.597 MB / 0.8169 GB, free: 110.3 MB / 0.545 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.01301/1.395, allocations: 9.056 MB / 0.8257 GB, free: 101 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01734/1.413, allocations: 11.21 MB / 0.8367 GB, free: 89.81 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/1.413, allocations: 4 kB / 0.8367 GB, free: 89.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003305/1.416, allocations: 2.383 MB / 0.839 GB, free: 87.41 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003916/1.42, allocations: 0.7171 MB / 0.8397 GB, free: 86.71 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1081/1.528, allocations: 87.21 MB / 0.9249 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2457/1.774, allocations: 5.152 MB / 0.9299 GB, free: 197.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.008942/1.783, allocations: 2.96 MB / 0.9328 GB, free: 197.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005324/1.788, allocations: 3.324 MB / 0.9361 GB, free: 196.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.553e-06/1.788, allocations: 0 / 0.9361 GB, free: 196.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1664/1.955, allocations: 116.2 MB / 1.05 GB, free: 104.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/14.78, allocations: 17.81 kB / 1.05 GB, free: 104.1 MB / 0.5606 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_FourbarVariants_JointSSR.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches