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.001296/0.001296, allocations: 80.36 kB / 20.67 MB, free: 3.891 MB / 18.57 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.000888/0.000888, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8636/0.8636, allocations: 177 MB / 204.1 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.2488/0.2488, allocations: 34.24 MB / 294.8 MB, free: 0.707 MB / 266.7 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 1.974e-06/1.974e-06, allocations: 3.938 kB / 442.1 MB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.412e-05/2.609e-05, allocations: 9.031 kB / 442.1 MB, free: 1.562 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.1658/0.1659, allocations: 14.13 MB / 456.3 MB, free: 36.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00726/0.1731, allocations: 5.113 MB / 461.4 MB, free: 32.83 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001925/0.1751, allocations: 111.2 kB / 461.5 MB, free: 32.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00374/0.1788, allocations: 4.269 MB / 465.8 MB, free: 31 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004116/0.1829, allocations: 2.899 MB / 468.7 MB, free: 29.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.1846, allocations: 1.402 MB / 470.1 MB, free: 29.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.006276/0.1909, allocations: 8.794 MB / 478.9 MB, free: 25.83 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005025/0.1959, allocations: 5.47 MB / 484.3 MB, free: 23.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006085/0.202, allocations: 4.14 MB / 488.5 MB, free: 21.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00584/0.2078, allocations: 4.232 MB / 492.7 MB, free: 20.55 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002099/0.2099, allocations: 0.6071 MB / 493.3 MB, free: 20.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00371/0.2136, allocations: 1.745 MB / 495.1 MB, free: 20.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004135/0.2178, allocations: 3.534 MB / 498.6 MB, free: 18.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004962/0.2227, allocations: 2.241 MB / 0.4891 GB, free: 17.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01179/0.2345, allocations: 12.61 MB / 0.5014 GB, free: 9.332 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2345, allocations: 0 / 0.5014 GB, free: 9.332 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2345, allocations: 4 kB / 0.5014 GB, free: 9.328 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004653/0.235, allocations: 0 / 0.5014 GB, free: 9.328 MB / 410.7 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.01356/0.2486, allocations: 8.188 MB / 0.5094 GB, free: 1.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.2486, allocations: 12.03 kB / 0.5094 GB, free: 1.168 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00138/0.25, allocations: 1.308 MB / 0.5107 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01579/0.2658, allocations: 6.186 MB / 0.5167 GB, free: 9.648 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008003/0.2738, allocations: 4.35 MB / 0.521 GB, free: 5.242 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002295/0.274, allocations: 394.4 kB / 0.5214 GB, free: 4.855 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001477/0.2755, allocations: 0.5503 MB / 0.5219 GB, free: 4.305 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02352/0.299, allocations: 18.93 MB / 0.5404 GB, free: 316 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001579/0.2992, allocations: 63.52 kB / 0.5405 GB, free: 252 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005893/0.2997, allocations: 255.8 kB / 0.5407 GB, free: 15.99 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003103/0.3028, allocations: 3.428 MB / 0.544 GB, free: 12.56 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02437/0.3272, allocations: 16.53 MB / 0.5602 GB, free: 12.02 MB / 474.7 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.07012/0.3973, allocations: 64.23 MB / 0.6229 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01031/0.4076, allocations: 5.352 MB / 0.6281 GB, free: 4.676 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00331/0.4109, allocations: 2.648 MB / 0.6307 GB, free: 2.023 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.196/0.607, allocations: 10.95 MB / 0.6414 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.607, allocations: 60.66 kB / 0.6415 GB, free: 145 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=284): time 5.46e-06/0.607, allocations: 2.938 kB / 0.6415 GB, free: 145 MB / 0.5261 GB Notification: Performance of matching and sorting (n=345): time 0.04717/0.6542, allocations: 26.14 MB / 0.667 GB, free: 137 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.753e-05/0.6543, allocations: 190.5 kB / 0.6672 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009331/0.6636, allocations: 6.722 MB / 0.6738 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007746/0.6644, allocations: 76.16 kB / 0.6738 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002982/0.6674, allocations: 5.135 MB / 0.6788 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001688/0.669, allocations: 1.326 MB / 0.6801 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002376/0.6714, allocations: 1.852 MB / 0.6819 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.816e-05/0.6715, allocations: 302.9 kB / 0.6822 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004845/0.6763, allocations: 3.315 MB / 0.6855 GB, free: 127 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006492/0.6828, allocations: 8.812 MB / 0.6941 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009605/0.6924, allocations: 13.07 MB / 0.7068 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001633/0.6926, allocations: 56 kB / 0.7069 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.01759/0.7102, allocations: 12.87 MB / 0.7195 GB, free: 95.99 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.687e-05/0.7102, allocations: 88 kB / 0.7196 GB, free: 95.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001204/0.7104, allocations: 192 kB / 0.7197 GB, free: 95.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002219/0.7126, allocations: 1.314 MB / 0.721 GB, free: 94.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00415/0.7167, allocations: 2.184 MB / 0.7232 GB, free: 92.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006983/0.7237, allocations: 7.636 MB / 0.7306 GB, free: 85.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007121/0.7308, allocations: 0.6283 MB / 0.7312 GB, free: 85.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00109/0.7319, allocations: 0.5463 MB / 0.7318 GB, free: 84.93 MB / 0.5261 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.004741/0.7367, allocations: 3.451 MB / 0.7351 GB, free: 81.91 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001293/0.738, allocations: 0.5549 MB / 0.7357 GB, free: 81.36 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006068/0.744, allocations: 5.388 MB / 0.7409 GB, free: 76.86 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.069e-05/0.7441, allocations: 39.28 kB / 0.741 GB, free: 76.82 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/0.7441, allocations: 4 kB / 0.741 GB, free: 76.82 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.623e-05/0.7441, allocations: 19.09 kB / 0.741 GB, free: 76.82 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01867/0.7628, allocations: 13.35 MB / 0.754 GB, free: 63.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-05/0.7628, allocations: 15.94 kB / 0.754 GB, free: 63.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/0.764, allocations: 0.4915 MB / 0.7545 GB, free: 63.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001668/0.7656, allocations: 0.8104 MB / 0.7553 GB, free: 62.61 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001593/0.7658, allocations: 68.16 kB / 0.7554 GB, free: 62.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004992/0.7708, allocations: 5.624 MB / 0.7609 GB, free: 56.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/0.7708, allocations: 15.94 kB / 0.7609 GB, free: 56.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008291/0.7791, allocations: 8.303 MB / 0.769 GB, free: 48.21 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001835/0.7809, allocations: 0.5741 MB / 0.7696 GB, free: 47.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005638/0.7815, allocations: 63.98 kB / 0.7696 GB, free: 47.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/0.7828, allocations: 195.8 kB / 0.7698 GB, free: 47.38 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000313/0.7831, allocations: 229.4 kB / 0.77 GB, free: 47.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00014/0.7833, allocations: 107.8 kB / 0.7701 GB, free: 47.05 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004135/0.7874, allocations: 4.054 MB / 0.7741 GB, free: 43.03 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-08/0.7874, allocations: 0 / 0.7741 GB, free: 43.03 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006654/0.7941, allocations: 1.742 MB / 0.7758 GB, free: 41.29 MB / 0.5261 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.008013/0.8021, allocations: 9.073 MB / 0.7846 GB, free: 31.93 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008902/0.811, allocations: 7.509 MB / 0.792 GB, free: 24.43 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-05/0.811, allocations: 4 kB / 0.792 GB, free: 24.43 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002509/0.8135, allocations: 2.218 MB / 0.7941 GB, free: 22.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004858/0.8184, allocations: 0.713 MB / 0.7948 GB, free: 21.52 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2644/1.083, allocations: 75.24 MB / 0.8683 GB, free: 146.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005036/1.088, allocations: 4.669 MB / 0.8729 GB, free: 145.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.005157/1.093, allocations: 2.981 MB / 0.8758 GB, free: 145.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004342/1.097, allocations: 3.35 MB / 0.8791 GB, free: 142.4 MB / 0.5573 GB Notification: Performance of SimCode: time 2.194e-06/1.097, allocations: 2.531 kB / 0.8791 GB, free: 142.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1124/1.21, allocations: 113.4 MB / 0.9898 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/14.6, allocations: 3.953 kB / 0.9898 GB, free: 54.29 MB / 0.5573 GB " [Timeout remaining time 645] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins/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: 17.21858714800328]