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.00163/0.00163, allocations: 118.8 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002163/0.002163, allocations: 201.2 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 246.9 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2299/0.2299, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 75.86 kB / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3361, allocations: 62.44 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01809/0.3542, allocations: 16.23 MB / 0.5464 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01304/0.3673, allocations: 5.342 MB / 0.5516 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003476/0.3708, allocations: 103.7 kB / 0.5517 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008006/0.3789, allocations: 4.158 MB / 0.5557 GB, free: 7.863 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007759/0.3867, allocations: 2.711 MB / 0.5584 GB, free: 5.145 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003452/0.3902, allocations: 1.267 MB / 0.5596 GB, free: 3.875 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01137/0.4016, allocations: 7.71 MB / 0.5671 GB, free: 12.14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008941/0.4106, allocations: 5.863 MB / 0.5729 GB, free: 6.203 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005025/0.4156, allocations: 2.664 MB / 0.5755 GB, free: 3.531 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005452/0.4211, allocations: 3.77 MB / 0.5792 GB, free: 15.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001867/0.423, allocations: 0.5977 MB / 0.5797 GB, free: 15.15 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004015/0.427, allocations: 1.748 MB / 0.5814 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004045/0.4311, allocations: 3.308 MB / 0.5847 GB, free: 10.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006416/0.4376, allocations: 3.806 MB / 0.5884 GB, free: 6.258 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01538/0.453, allocations: 12.38 MB / 0.6005 GB, free: 9.832 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.453, allocations: 0 / 0.6005 GB, free: 9.832 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.453, allocations: 0 / 0.6005 GB, free: 9.832 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004323/0.4535, allocations: 4 kB / 0.6005 GB, free: 9.828 MB / 462.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.02311/0.4766, allocations: 7.949 MB / 0.6083 GB, free: 1.793 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.036e-05/0.4767, allocations: 12.03 kB / 0.6083 GB, free: 1.781 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004655/0.4813, allocations: 1.303 MB / 0.6095 GB, free: 476 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02856/0.5099, allocations: 5.708 MB / 0.6151 GB, free: 10.73 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01228/0.5223, allocations: 4.877 MB / 0.6199 GB, free: 5.797 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004793/0.5228, allocations: 402 kB / 0.6203 GB, free: 5.402 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002547/0.5254, allocations: 0.5542 MB / 0.6208 GB, free: 4.848 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03759/0.563, allocations: 18.83 MB / 0.6392 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000335/0.5633, allocations: 75.3 kB / 0.6393 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002055/0.5654, allocations: 247.8 kB / 0.6395 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005265/0.5707, allocations: 3.428 MB / 0.6428 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03865/0.6094, allocations: 16.52 MB / 0.659 GB, free: 12.68 MB / 0.5137 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.6476/1.257, allocations: 66.48 MB / 0.7239 GB, free: 120.7 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01507/1.272, allocations: 6.267 MB / 0.73 GB, free: 119.4 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003638/1.276, allocations: 2.839 MB / 0.7328 GB, free: 119.4 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01967/1.296, allocations: 13.92 MB / 0.7464 GB, free: 113 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.687e-05/1.296, allocations: 62.91 kB / 0.7464 GB, free: 112.9 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=284): time 6.442e-06/1.296, allocations: 0 / 0.7464 GB, free: 112.9 MB / 0.5607 GB Notification: Performance of matching and sorting (n=345): time 0.07909/1.375, allocations: 24.88 MB / 0.7707 GB, free: 95.79 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.563e-05/1.375, allocations: 190.8 kB / 0.7709 GB, free: 95.56 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006621/1.381, allocations: 5.898 MB / 0.7767 GB, free: 89.69 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0006125/1.382, allocations: 73.7 kB / 0.7768 GB, free: 89.61 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.00207/1.384, allocations: 4.984 MB / 0.7816 GB, free: 84.63 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001146/1.385, allocations: 1.284 MB / 0.7829 GB, free: 83.36 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00204/1.387, allocations: 1.861 MB / 0.7847 GB, free: 81.48 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.891e-05/1.387, allocations: 301.1 kB / 0.785 GB, free: 81.19 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003823/1.391, allocations: 3.298 MB / 0.7882 GB, free: 77.89 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005423/1.397, allocations: 8.767 MB / 0.7968 GB, free: 66.55 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0109/1.408, allocations: 13.06 MB / 0.8095 GB, free: 51.02 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000134/1.408, allocations: 52 kB / 0.8096 GB, free: 50.97 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.02231/1.43, allocations: 12.83 MB / 0.8221 GB, free: 38.1 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001108/1.43, allocations: 88 kB / 0.8222 GB, free: 38.01 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001914/1.43, allocations: 188.8 kB / 0.8224 GB, free: 37.83 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003799/1.434, allocations: 1.326 MB / 0.8237 GB, free: 36.5 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006685/1.441, allocations: 2.164 MB / 0.8258 GB, free: 34.33 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01008/1.451, allocations: 7.839 MB / 0.8334 GB, free: 26.36 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007289/1.458, allocations: 0.4954 MB / 0.8339 GB, free: 25.87 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001787/1.46, allocations: 0.5506 MB / 0.8344 GB, free: 25.32 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.00506/1.465, allocations: 3.456 MB / 0.8378 GB, free: 21.85 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000926/1.466, allocations: 0.5245 MB / 0.8383 GB, free: 21.32 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009575/1.476, allocations: 5.412 MB / 0.8436 GB, free: 15.85 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.867e-05/1.476, allocations: 36 kB / 0.8436 GB, free: 15.81 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/1.476, allocations: 8 kB / 0.8437 GB, free: 15.8 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.841e-05/1.476, allocations: 15.94 kB / 0.8437 GB, free: 15.79 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02457/1.501, allocations: 13.93 MB / 0.8573 GB, free: 1.637 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-05/1.501, allocations: 15.94 kB / 0.8573 GB, free: 1.621 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002106/1.503, allocations: 0.4954 MB / 0.8578 GB, free: 1.125 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003102/1.506, allocations: 0.8013 MB / 0.8586 GB, free: 328 kB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003659/1.506, allocations: 75.58 kB / 0.8586 GB, free: 256 kB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009977/1.516, allocations: 5.807 MB / 0.8643 GB, free: 10.3 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.451e-05/1.516, allocations: 15.94 kB / 0.8643 GB, free: 10.29 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01655/1.533, allocations: 8.307 MB / 0.8724 GB, free: 1.691 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001732/1.535, allocations: 0.5644 MB / 0.873 GB, free: 1.102 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001046/1.536, allocations: 67.41 kB / 0.873 GB, free: 1.043 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002306/1.538, allocations: 139.9 kB / 0.8732 GB, free: 0.9062 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004726/1.539, allocations: 213.5 kB / 0.8734 GB, free: 0.6992 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002046/1.539, allocations: 104 kB / 0.8735 GB, free: 0.5977 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006255/1.545, allocations: 3.667 MB / 0.8771 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.21e-07/1.545, allocations: 4 kB / 0.8771 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009025/1.554, allocations: 1.604 MB / 0.8786 GB, free: 11.36 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.01823/1.572, allocations: 9.046 MB / 0.8875 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01466/1.587, allocations: 7.852 MB / 0.8951 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.635e-05/1.587, allocations: 4 kB / 0.8951 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004424/1.591, allocations: 2.38 MB / 0.8975 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005707/1.597, allocations: 0.7223 MB / 0.8982 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1328/1.73, allocations: 73.4 MB / 0.9699 GB, free: 4.734 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.299/2.029, allocations: 5.159 MB / 0.9749 GB, free: 270.3 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.008858/2.038, allocations: 2.959 MB / 0.9778 GB, free: 270.2 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005886/2.044, allocations: 3.325 MB / 0.981 GB, free: 270.1 MB / 0.6857 GB Notification: Performance of SimCode: time 1.353e-06/2.044, allocations: 0.5625 kB / 0.981 GB, free: 270.1 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1576/2.201, allocations: 112.2 MB / 1.091 GB, free: 174.9 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.31/25.51, allocations: 3.984 kB / 1.091 GB, free: 174.9 MB / 0.6857 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