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.001278/0.001278, allocations: 114 kB / 20.43 MB, free: 1.457 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.001577/0.001577, allocations: 214.9 kB / 23.74 MB, free: 4.672 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.473/1.473, allocations: 230.5 MB / 257.4 MB, free: 7.98 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.2379/0.2379, allocations: 46.93 MB / 360.8 MB, free: 4.148 MB / 286.1 MB " [Timeout remaining time 179] 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.002333/0.002333, allocations: 79.88 kB / 0.4962 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3502, allocations: 66.08 MB / 0.5607 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.02104/0.3712, allocations: 16.34 MB / 0.5767 GB, free: 3.863 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01267/0.3839, allocations: 5.408 MB / 0.582 GB, free: 14.44 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002746/0.3866, allocations: 119.5 kB / 0.5821 GB, free: 14.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009004/0.3956, allocations: 4.224 MB / 0.5862 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007849/0.4035, allocations: 2.809 MB / 0.5889 GB, free: 7.262 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003449/0.4069, allocations: 1.263 MB / 0.5902 GB, free: 5.996 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0133/0.4202, allocations: 7.738 MB / 0.5977 GB, free: 14.24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008416/0.4286, allocations: 4.735 MB / 0.6024 GB, free: 9.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005671/0.4343, allocations: 2.714 MB / 0.605 GB, free: 6.707 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007493/0.4418, allocations: 4.089 MB / 0.609 GB, free: 2.605 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002237/0.444, allocations: 0.5938 MB / 0.6096 GB, free: 2.012 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00472/0.4488, allocations: 1.806 MB / 0.6114 GB, free: 208 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005417/0.4542, allocations: 3.381 MB / 0.6147 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007872/0.462, allocations: 3.802 MB / 0.6184 GB, free: 8.984 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01935/0.4814, allocations: 12.43 MB / 0.6305 GB, free: 12.51 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.4814, allocations: 0 / 0.6305 GB, free: 12.51 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4814, allocations: 0 / 0.6305 GB, free: 12.51 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005013/0.4819, allocations: 0 / 0.6305 GB, free: 12.51 MB / 478.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.02325/0.5052, allocations: 8.095 MB / 0.6384 GB, free: 4.332 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.5052, allocations: 8.031 kB / 0.6384 GB, free: 4.324 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004427/0.5096, allocations: 1.303 MB / 0.6397 GB, free: 3.008 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02998/0.5396, allocations: 5.749 MB / 0.6453 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01403/0.5536, allocations: 4.807 MB / 0.65 GB, free: 8.383 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005286/0.5542, allocations: 398 kB / 0.6504 GB, free: 7.992 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002615/0.5568, allocations: 0.5581 MB / 0.6509 GB, free: 7.434 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04316/0.5999, allocations: 18.82 MB / 0.6693 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003291/0.6003, allocations: 67.41 kB / 0.6694 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001762/0.602, allocations: 255.8 kB / 0.6696 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005716/0.6078, allocations: 3.428 MB / 0.673 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03753/0.6453, allocations: 16.53 MB / 0.6891 GB, free: 15.27 MB / 0.5294 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.3925/1.038, allocations: 66.66 MB / 0.7542 GB, free: 109.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0146/1.052, allocations: 5.127 MB / 0.7592 GB, free: 109.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003431/1.056, allocations: 2.656 MB / 0.7618 GB, free: 109 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01886/1.075, allocations: 11.25 MB / 0.7728 GB, free: 105.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.191e-05/1.075, allocations: 61.25 kB / 0.7729 GB, free: 105.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=284): time 6.883e-06/1.075, allocations: 0 / 0.7729 GB, free: 105.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=345): time 0.07493/1.15, allocations: 25.1 MB / 0.7974 GB, free: 83.97 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.369e-05/1.15, allocations: 187.7 kB / 0.7975 GB, free: 83.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006977/1.157, allocations: 5.913 MB / 0.8033 GB, free: 77.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000674/1.157, allocations: 73.38 kB / 0.8034 GB, free: 77.91 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002476/1.16, allocations: 5.188 MB / 0.8085 GB, free: 73.01 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001258/1.161, allocations: 1.338 MB / 0.8098 GB, free: 71.69 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002002/1.163, allocations: 1.882 MB / 0.8116 GB, free: 69.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.709e-05/1.163, allocations: 305.1 kB / 0.8119 GB, free: 69.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003995/1.167, allocations: 3.294 MB / 0.8151 GB, free: 66.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006486/1.174, allocations: 8.764 MB / 0.8237 GB, free: 54.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01286/1.186, allocations: 13.06 MB / 0.8364 GB, free: 39.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001678/1.187, allocations: 59.56 kB / 0.8365 GB, free: 39.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.02647/1.213, allocations: 12.83 MB / 0.849 GB, free: 26.23 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001402/1.213, allocations: 90.5 kB / 0.8491 GB, free: 26.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002636/1.214, allocations: 192 kB / 0.8493 GB, free: 25.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004009/1.218, allocations: 1.31 MB / 0.8506 GB, free: 24.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007517/1.225, allocations: 2.172 MB / 0.8527 GB, free: 22.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01053/1.236, allocations: 7.728 MB / 0.8602 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008281/1.244, allocations: 0.5034 MB / 0.8607 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001846/1.246, allocations: 0.5462 MB / 0.8612 GB, free: 13.58 MB / 0.5606 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.007638/1.253, allocations: 3.448 MB / 0.8646 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001606/1.255, allocations: 0.5626 MB / 0.8652 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01308/1.268, allocations: 5.39 MB / 0.8704 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.236e-05/1.268, allocations: 36 kB / 0.8705 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.824e-05/1.268, allocations: 8 kB / 0.8705 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.199e-05/1.268, allocations: 19.94 kB / 0.8705 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03602/1.304, allocations: 13.9 MB / 0.8841 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.228e-05/1.304, allocations: 13.88 kB / 0.8841 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002332/1.307, allocations: 0.492 MB / 0.8846 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003473/1.31, allocations: 0.8242 MB / 0.8854 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004141/1.311, allocations: 67.98 kB / 0.8854 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01055/1.321, allocations: 5.696 MB / 0.891 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.681e-05/1.321, allocations: 15.94 kB / 0.891 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01684/1.338, allocations: 8.326 MB / 0.8991 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00198/1.34, allocations: 0.5156 MB / 0.8996 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001093/1.341, allocations: 66.25 kB / 0.8997 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002363/1.343, allocations: 131.9 kB / 0.8998 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005517/1.344, allocations: 229.4 kB / 0.9 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002322/1.344, allocations: 106.5 kB / 0.9001 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007115/1.351, allocations: 3.663 MB / 0.9037 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.81e-07/1.351, allocations: 0 / 0.9037 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009671/1.361, allocations: 1.6 MB / 0.9053 GB, free: 15.82 MB / 0.6075 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.0169/1.378, allocations: 9.065 MB / 0.9141 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01486/1.393, allocations: 7.504 MB / 0.9215 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-05/1.393, allocations: 4.5 kB / 0.9215 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004392/1.397, allocations: 2.218 MB / 0.9236 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00479/1.402, allocations: 0.7216 MB / 0.9243 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4601/1.862, allocations: 73.81 MB / 0.9964 GB, free: 253.9 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006236/1.868, allocations: 5.154 MB / 1.001 GB, free: 253 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.005947/1.874, allocations: 2.97 MB / 1.004 GB, free: 252.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004407/1.879, allocations: 3.323 MB / 1.008 GB, free: 251.3 MB / 0.6856 GB Notification: Performance of SimCode: time 1.874e-06/1.879, allocations: 3.938 kB / 1.008 GB, free: 251.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1721/2.051, allocations: 115 MB / 1.12 GB, free: 147.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.89/28.94, allocations: 10.33 kB / 1.12 GB, free: 147.6 MB / 0.6856 GB " [Timeout remaining time 631] (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: 33.00118986098096]