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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001454/0.001454, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001538/0.001538, allocations: 209.5 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 230.5 MB / 257.4 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2275/0.2275, allocations: 46.94 MB / 360.8 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002558/0.002558, allocations: 83.88 kB / 0.4962 GB, free: 7.562 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3629, allocations: 66.08 MB / 0.5607 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01869/0.3816, allocations: 14.13 MB / 0.5745 GB, free: 5.711 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01231/0.3939, allocations: 5.12 MB / 0.5795 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003132/0.397, allocations: 119.4 kB / 0.5796 GB, free: 468 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00854/0.4056, allocations: 4.057 MB / 0.5836 GB, free: 12.39 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008671/0.4142, allocations: 2.809 MB / 0.5863 GB, free: 9.566 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003712/0.418, allocations: 1.26 MB / 0.5875 GB, free: 8.305 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0124/0.4304, allocations: 7.723 MB / 0.5951 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007433/0.4378, allocations: 4.72 MB / 0.5997 GB, free: 11.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006443/0.4442, allocations: 2.718 MB / 0.6023 GB, free: 9.039 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007893/0.4521, allocations: 3.863 MB / 0.6061 GB, free: 5.164 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002325/0.4545, allocations: 0.5938 MB / 0.6067 GB, free: 4.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004576/0.459, allocations: 1.65 MB / 0.6083 GB, free: 2.918 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004779/0.4638, allocations: 3.377 MB / 0.6116 GB, free: 15.53 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004849/0.4687, allocations: 2.823 MB / 0.6144 GB, free: 12.69 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01586/0.4845, allocations: 12.49 MB / 0.6266 GB, free: 148 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.4845, allocations: 0 / 0.6266 GB, free: 148 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4845, allocations: 0 / 0.6266 GB, free: 148 kB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004872/0.485, allocations: 3.938 kB / 0.6266 GB, free: 144 kB / 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.01988/0.5049, allocations: 8.095 MB / 0.6345 GB, free: 7.961 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.5049, allocations: 15.97 kB / 0.6345 GB, free: 7.945 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002538/0.5075, allocations: 1.295 MB / 0.6358 GB, free: 6.637 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02993/0.5374, allocations: 5.756 MB / 0.6414 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01294/0.5503, allocations: 4.826 MB / 0.6461 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004272/0.5508, allocations: 398 kB / 0.6465 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002247/0.553, allocations: 0.5581 MB / 0.647 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03936/0.5924, allocations: 18.87 MB / 0.6654 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000227/0.5926, allocations: 75.39 kB / 0.6655 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008762/0.5935, allocations: 247.8 kB / 0.6657 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005365/0.5988, allocations: 3.428 MB / 0.6691 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03539/0.6342, allocations: 16.5 MB / 0.6852 GB, free: 2.84 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.6173/1.252, allocations: 63.38 MB / 0.7471 GB, free: 111.9 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02084/1.272, allocations: 5.132 MB / 0.7521 GB, free: 111.8 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003818/1.276, allocations: 2.64 MB / 0.7547 GB, free: 111.2 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02179/1.298, allocations: 10.67 MB / 0.7651 GB, free: 107.6 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/1.298, allocations: 59.38 kB / 0.7652 GB, free: 107.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=284): time 6.272e-06/1.298, allocations: 3.844 kB / 0.7652 GB, free: 107.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=345): time 0.07582/1.374, allocations: 25.14 MB / 0.7897 GB, free: 85.91 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.157e-05/1.374, allocations: 187.8 kB / 0.7899 GB, free: 85.69 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00712/1.381, allocations: 6.238 MB / 0.796 GB, free: 79.71 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0006208/1.382, allocations: 69.7 kB / 0.7961 GB, free: 79.64 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002356/1.384, allocations: 5.187 MB / 0.8011 GB, free: 74.63 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001292/1.385, allocations: 1.34 MB / 0.8024 GB, free: 73.3 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002271/1.388, allocations: 1.877 MB / 0.8043 GB, free: 71.42 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.471e-05/1.388, allocations: 305.1 kB / 0.8046 GB, free: 71.12 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004244/1.392, allocations: 3.294 MB / 0.8078 GB, free: 67.82 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006609/1.398, allocations: 8.791 MB / 0.8164 GB, free: 56.41 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01267/1.411, allocations: 13.05 MB / 0.8291 GB, free: 40.82 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002072/1.411, allocations: 56 kB / 0.8292 GB, free: 40.77 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.02332/1.435, allocations: 12.85 MB / 0.8417 GB, free: 27.88 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001137/1.435, allocations: 88 kB / 0.8418 GB, free: 27.79 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001904/1.435, allocations: 192 kB / 0.842 GB, free: 27.61 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003937/1.439, allocations: 1.314 MB / 0.8433 GB, free: 26.29 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006596/1.445, allocations: 2.168 MB / 0.8454 GB, free: 24.12 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/1.456, allocations: 7.63 MB / 0.8528 GB, free: 16.38 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006567/1.463, allocations: 0.5069 MB / 0.8533 GB, free: 15.87 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001408/1.464, allocations: 0.5426 MB / 0.8539 GB, free: 15.33 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.004815/1.469, allocations: 3.448 MB / 0.8572 GB, free: 11.87 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001079/1.47, allocations: 0.5588 MB / 0.8578 GB, free: 11.3 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01026/1.48, allocations: 5.393 MB / 0.863 GB, free: 5.852 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.478e-05/1.48, allocations: 47.83 kB / 0.8631 GB, free: 5.809 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/1.48, allocations: 4 kB / 0.8631 GB, free: 5.805 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.134e-05/1.48, allocations: 15.95 kB / 0.8631 GB, free: 5.789 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03005/1.51, allocations: 13.17 MB / 0.876 GB, free: 8.449 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.302e-05/1.51, allocations: 16.25 kB / 0.876 GB, free: 8.434 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002406/1.513, allocations: 0.4953 MB / 0.8765 GB, free: 7.938 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003464/1.516, allocations: 0.8097 MB / 0.8773 GB, free: 7.125 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004389/1.517, allocations: 67.98 kB / 0.8773 GB, free: 7.059 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01065/1.527, allocations: 5.621 MB / 0.8828 GB, free: 1.324 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.51e-05/1.527, allocations: 23.88 kB / 0.8828 GB, free: 1.301 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01647/1.544, allocations: 8.32 MB / 0.891 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002231/1.546, allocations: 0.5156 MB / 0.8915 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001269/1.547, allocations: 67.42 kB / 0.8915 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002421/1.55, allocations: 135.9 kB / 0.8917 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005551/1.55, allocations: 221.4 kB / 0.8919 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002403/1.551, allocations: 107.3 kB / 0.892 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007084/1.558, allocations: 3.671 MB / 0.8956 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.81e-07/1.558, allocations: 0 / 0.8956 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008964/1.567, allocations: 1.601 MB / 0.8971 GB, free: 2.414 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.01748/1.584, allocations: 9.055 MB / 0.906 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01589/1.6, allocations: 7.514 MB / 0.9133 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.012e-05/1.6, allocations: 4 kB / 0.9133 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004344/1.604, allocations: 2.213 MB / 0.9155 GB, free: 15.33 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004309/1.609, allocations: 0.7294 MB / 0.9162 GB, free: 14.62 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1328/1.741, allocations: 73.79 MB / 0.9882 GB, free: 11.85 MB / 0.7013 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008248/1.75, allocations: 4.678 MB / 0.9928 GB, free: 7.121 MB / 0.7013 GB Notification: Performance of simCode: alias equations: time 0.007343/1.757, allocations: 2.962 MB / 0.9957 GB, free: 4.148 MB / 0.7013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005759/1.763, allocations: 3.331 MB / 0.9989 GB, free: 0.8164 MB / 0.7013 GB Notification: Performance of SimCode: time 9.92e-07/1.763, allocations: 0 / 0.9989 GB, free: 0.8164 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7277/2.491, allocations: 111.1 MB / 1.107 GB, free: 185.8 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.63/23.12, allocations: 11.42 kB / 1.107 GB, free: 185.8 MB / 0.7013 GB " [Timeout remaining time 637] (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 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointSSR.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 27.277723392937332]