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.001443/0.001443, allocations: 104.7 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00179/0.00179, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2525/0.2525, allocations: 46.11 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 78.59 kB / 417.1 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1406, allocations: 62.43 MB / 479.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.3555/0.4961, allocations: 57.8 MB / 0.5248 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03495/0.5311, allocations: 12.09 MB / 0.5366 GB, free: 4.836 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0185/0.5497, allocations: 250.9 kB / 0.5368 GB, free: 4.797 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008379/0.5581, allocations: 3.988 MB / 0.5407 GB, free: 3.004 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008262/0.5664, allocations: 2.539 MB / 0.5432 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002976/0.5694, allocations: 1.184 MB / 0.5444 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01093/0.5804, allocations: 7.926 MB / 0.5521 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007961/0.5884, allocations: 6.156 MB / 0.5581 GB, free: 6.777 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005741/0.5941, allocations: 2.718 MB / 0.5608 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006296/0.6005, allocations: 4.148 MB / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002113/0.6026, allocations: 0.5938 MB / 0.5654 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00486/0.6075, allocations: 1.767 MB / 0.5671 GB, free: 13.53 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004616/0.6121, allocations: 3.32 MB / 0.5704 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00723/0.6194, allocations: 3.837 MB / 0.5741 GB, free: 6.34 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01657/0.636, allocations: 12.03 MB / 0.5859 GB, free: 10.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.636, allocations: 0 / 0.5859 GB, free: 10.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.636, allocations: 0 / 0.5859 GB, free: 10.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004987/0.6365, allocations: 0 / 0.5859 GB, free: 10.27 MB / 430.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.02589/0.6624, allocations: 7.953 MB / 0.5936 GB, free: 2.234 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.336e-05/0.6625, allocations: 16.02 kB / 0.5936 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005246/0.6678, allocations: 1.299 MB / 0.5949 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03062/0.6984, allocations: 5.705 MB / 0.6005 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01271/0.7112, allocations: 4.822 MB / 0.6052 GB, free: 6.301 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005948/0.7118, allocations: 398 kB / 0.6056 GB, free: 5.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002932/0.7148, allocations: 0.5541 MB / 0.6061 GB, free: 5.355 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04502/0.7598, allocations: 18.84 MB / 0.6245 GB, free: 1.465 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000438/0.7603, allocations: 71.36 kB / 0.6246 GB, free: 1.395 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002567/0.7629, allocations: 247.8 kB / 0.6248 GB, free: 1.152 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006294/0.7692, allocations: 3.432 MB / 0.6282 GB, free: 13.72 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04273/0.8119, allocations: 16.51 MB / 0.6443 GB, free: 13.19 MB / 494.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.1229/0.9349, allocations: 66.81 MB / 0.7095 GB, free: 8.465 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01747/0.9524, allocations: 6.27 MB / 0.7157 GB, free: 1.941 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3026/1.255, allocations: 2.833 MB / 0.7184 GB, free: 192.3 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02548/1.281, allocations: 13.92 MB / 0.732 GB, free: 186.1 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.916e-05/1.281, allocations: 65.17 kB / 0.7321 GB, free: 186 MB / 0.545 GB Notification: Performance of pre-optimization done (n=284): time 8.616e-06/1.281, allocations: 4.75 kB / 0.7321 GB, free: 186 MB / 0.545 GB Notification: Performance of matching and sorting (n=345): time 0.09324/1.374, allocations: 24.86 MB / 0.7564 GB, free: 178.2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.782e-05/1.374, allocations: 190.2 kB / 0.7565 GB, free: 178.1 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008857/1.383, allocations: 5.898 MB / 0.7623 GB, free: 174.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007895/1.384, allocations: 71.03 kB / 0.7624 GB, free: 174 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002712/1.387, allocations: 4.984 MB / 0.7672 GB, free: 169.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001638/1.388, allocations: 1.277 MB / 0.7685 GB, free: 167.8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002497/1.391, allocations: 1.868 MB / 0.7703 GB, free: 165.9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.231e-05/1.391, allocations: 309.1 kB / 0.7706 GB, free: 165.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004242/1.395, allocations: 3.298 MB / 0.7738 GB, free: 162.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006427/1.401, allocations: 8.77 MB / 0.7824 GB, free: 150.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01169/1.413, allocations: 13.05 MB / 0.7951 GB, free: 135.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001484/1.413, allocations: 59.75 kB / 0.7952 GB, free: 135.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.02229/1.436, allocations: 12.82 MB / 0.8077 GB, free: 122.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.788e-05/1.436, allocations: 91.98 kB / 0.8078 GB, free: 122.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001798/1.436, allocations: 192.5 kB / 0.808 GB, free: 121.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003961/1.44, allocations: 1.323 MB / 0.8093 GB, free: 120.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006746/1.447, allocations: 2.16 MB / 0.8114 GB, free: 118.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01047/1.457, allocations: 7.854 MB / 0.8191 GB, free: 110.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006981/1.464, allocations: 0.5032 MB / 0.8195 GB, free: 109.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001041/1.465, allocations: 0.5468 MB / 0.8201 GB, free: 109.4 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.004579/1.47, allocations: 3.455 MB / 0.8234 GB, free: 105.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007919/1.471, allocations: 0.5245 MB / 0.824 GB, free: 105.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009944/1.481, allocations: 5.408 MB / 0.8292 GB, free: 99.94 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-05/1.481, allocations: 39.83 kB / 0.8293 GB, free: 99.9 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/1.481, allocations: 8 kB / 0.8293 GB, free: 99.89 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-05/1.481, allocations: 19.94 kB / 0.8293 GB, free: 99.88 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02278/1.504, allocations: 14.01 MB / 0.843 GB, free: 85.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.219e-05/1.504, allocations: 12 kB / 0.843 GB, free: 85.63 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002036/1.506, allocations: 0.4953 MB / 0.8435 GB, free: 85.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003212/1.509, allocations: 0.8126 MB / 0.8443 GB, free: 84.32 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002324/1.509, allocations: 71.92 kB / 0.8443 GB, free: 84.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008096/1.517, allocations: 5.805 MB / 0.85 GB, free: 78.31 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.776e-06/1.517, allocations: 23.88 kB / 0.85 GB, free: 78.29 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01226/1.529, allocations: 8.307 MB / 0.8581 GB, free: 69.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001693/1.531, allocations: 0.5527 MB / 0.8587 GB, free: 69.12 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007089/1.532, allocations: 67.98 kB / 0.8588 GB, free: 69.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001937/1.534, allocations: 139.9 kB / 0.8589 GB, free: 68.91 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004636/1.534, allocations: 220.5 kB / 0.8591 GB, free: 68.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001989/1.535, allocations: 99.98 kB / 0.8592 GB, free: 68.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005419/1.54, allocations: 3.671 MB / 0.8628 GB, free: 64.96 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/1.54, allocations: 0 / 0.8628 GB, free: 64.96 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008532/1.549, allocations: 1.597 MB / 0.8643 GB, free: 63.38 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.01271/1.561, allocations: 9.061 MB / 0.8732 GB, free: 54.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01712/1.578, allocations: 11.23 MB / 0.8841 GB, free: 42.85 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.571e-05/1.578, allocations: 0 / 0.8841 GB, free: 42.85 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003447/1.582, allocations: 2.384 MB / 0.8865 GB, free: 40.45 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004074/1.586, allocations: 0.7186 MB / 0.8872 GB, free: 39.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4052/1.991, allocations: 90.47 MB / 0.9755 GB, free: 129.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006183/1.997, allocations: 5.164 MB / 0.9806 GB, free: 126.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006733/2.004, allocations: 2.963 MB / 0.9835 GB, free: 123.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004238/2.008, allocations: 3.323 MB / 0.9867 GB, free: 120.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.563e-06/2.008, allocations: 0 / 0.9867 GB, free: 120.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1621/2.171, allocations: 116 MB / 1.1 GB, free: 4.836 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/2.171, allocations: 231.8 kB / 1.1 GB, free: 4.578 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.602/7.773, allocations: 0 / 1.1 GB, free: 4.578 MB / 0.545 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointSSR.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/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