Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.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.00151/0.00151, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001443/0.001443, allocations: 214.2 kB / 24.52 MB, free: 3.918 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.443/1.443, allocations: 230.5 MB / 258.2 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.2342/0.2342, allocations: 46.94 MB / 361.6 MB, free: 3.934 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.Joints.Revolute,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002236/0.002236, allocations: 79.88 kB / 0.4969 GB, free: 7.555 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3556, allocations: 66.07 MB / 0.5614 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01484/0.3704, allocations: 10.65 MB / 0.5718 GB, free: 9.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009592/0.38, allocations: 3.738 MB / 0.5755 GB, free: 5.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002168/0.3821, allocations: 71.75 kB / 0.5756 GB, free: 5.52 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003476/0.3856, allocations: 1.304 MB / 0.5768 GB, free: 4.211 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004958/0.3906, allocations: 1.775 MB / 0.5786 GB, free: 2.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.3921, allocations: 499 kB / 0.579 GB, free: 1.941 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005438/0.3975, allocations: 3.616 MB / 0.5826 GB, free: 14.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002737/0.4003, allocations: 1.823 MB / 0.5843 GB, free: 12.46 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002289/0.4025, allocations: 1.218 MB / 0.5855 GB, free: 11.24 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003216/0.4058, allocations: 1.892 MB / 0.5874 GB, free: 9.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007695/0.4065, allocations: 232 kB / 0.5876 GB, free: 9.113 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002024/0.4086, allocations: 0.8541 MB / 0.5884 GB, free: 8.258 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002062/0.4106, allocations: 1.612 MB / 0.59 GB, free: 6.641 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002148/0.4128, allocations: 1.346 MB / 0.5913 GB, free: 5.285 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008759/0.4215, allocations: 6.235 MB / 0.5974 GB, free: 15.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.387e-06/0.4215, allocations: 0 / 0.5974 GB, free: 15.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.4215, allocations: 0 / 0.5974 GB, free: 15.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002353/0.4218, allocations: 0 / 0.5974 GB, free: 15.02 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01013/0.4319, allocations: 4.178 MB / 0.6015 GB, free: 10.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.4319, allocations: 8.031 kB / 0.6015 GB, free: 10.78 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001451/0.4321, allocations: 93.03 kB / 0.6016 GB, free: 10.69 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001282/0.4334, allocations: 0.7083 MB / 0.6023 GB, free: 9.969 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01086/0.4442, allocations: 3.114 MB / 0.6053 GB, free: 6.848 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004979/0.4492, allocations: 2.054 MB / 0.6073 GB, free: 4.762 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00019/0.4494, allocations: 192.8 kB / 0.6075 GB, free: 4.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000905/0.4503, allocations: 247.8 kB / 0.6078 GB, free: 4.328 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01815/0.4685, allocations: 10.48 MB / 0.618 GB, free: 9.406 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.445e-05/0.4685, allocations: 19.81 kB / 0.618 GB, free: 9.387 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004917/0.469, allocations: 123.8 kB / 0.6181 GB, free: 9.266 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004522/0.4736, allocations: 2.545 MB / 0.6206 GB, free: 6.719 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02075/0.4943, allocations: 9.929 MB / 0.6303 GB, free: 12.78 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05226/0.5466, allocations: 32.67 MB / 0.6622 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009316/0.5559, allocations: 4.032 MB / 0.6662 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003089/0.559, allocations: 2.12 MB / 0.6682 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/0.5602, allocations: 0.5556 MB / 0.6688 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.182e-05/0.5602, allocations: 52.56 kB / 0.6688 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 5.441e-06/0.5602, allocations: 0 / 0.6688 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.03384/0.5941, allocations: 13.94 MB / 0.6824 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.264e-05/0.5941, allocations: 77.41 kB / 0.6825 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003691/0.5978, allocations: 2.644 MB / 0.6851 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002877/0.5981, allocations: 57.7 kB / 0.6851 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002171/0.6003, allocations: 2.737 MB / 0.6878 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00109/0.6014, allocations: 0.8874 MB / 0.6887 GB, free: 60 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001538/0.6029, allocations: 1.045 MB / 0.6897 GB, free: 15 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.603, allocations: 301.1 kB / 0.69 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003276/0.6063, allocations: 2.2 MB / 0.6921 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005748/0.6121, allocations: 5.059 MB / 0.6971 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01/0.6221, allocations: 7.957 MB / 0.7048 GB, free: 12.67 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.718e-05/0.6221, allocations: 28 kB / 0.7049 GB, free: 12.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01339/0.6355, allocations: 7.873 MB / 0.7126 GB, free: 4.766 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.512e-05/0.6356, allocations: 48 kB / 0.7126 GB, free: 4.719 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001164/0.6357, allocations: 100 kB / 0.7127 GB, free: 4.621 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00223/0.638, allocations: 0.793 MB / 0.7135 GB, free: 3.824 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003548/0.6415, allocations: 1.181 MB / 0.7146 GB, free: 2.641 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005814/0.6473, allocations: 4.376 MB / 0.7189 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002718/0.65, allocations: 295.7 kB / 0.7192 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004305/0.6505, allocations: 296 kB / 0.7195 GB, free: 13.58 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (631): * Single equations (assignments): 624 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003018/0.6535, allocations: 2.025 MB / 0.7214 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004077/0.6539, allocations: 278.1 kB / 0.7217 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007789/0.6617, allocations: 4.706 MB / 0.7263 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.444e-05/0.6617, allocations: 55.92 kB / 0.7264 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.6618, allocations: 96 / 0.7264 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.768e-05/0.6618, allocations: 15.91 kB / 0.7264 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2495/0.9113, allocations: 10.15 MB / 0.7363 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.405e-05/0.9113, allocations: 3.969 kB / 0.7363 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/0.9127, allocations: 362 kB / 0.7366 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001786/0.9145, allocations: 0.649 MB / 0.7373 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001799/0.9146, allocations: 48.97 kB / 0.7373 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00381/0.9184, allocations: 3.768 MB / 0.741 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/0.9184, allocations: 15.69 kB / 0.741 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00836/0.9268, allocations: 7.145 MB / 0.748 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005178/0.9273, allocations: 244.3 kB / 0.7482 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003596/0.9277, allocations: 36 kB / 0.7483 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.9287, allocations: 146.5 kB / 0.7484 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002936/0.929, allocations: 138 kB / 0.7485 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/0.9292, allocations: 63.89 kB / 0.7486 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001896/0.9311, allocations: 1.626 MB / 0.7502 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9311, allocations: 0 / 0.7502 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00361/0.9347, allocations: 0.9162 MB / 0.7511 GB, free: 147.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.w) * 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 (178): * Single equations (assignments): 171 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007826/0.9425, allocations: 7.784 MB / 0.7587 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005535/0.948, allocations: 5.142 MB / 0.7637 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.9481, allocations: 2 kB / 0.7637 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001787/0.9498, allocations: 1.879 MB / 0.7655 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/0.9515, allocations: 359.2 kB / 0.7659 GB, free: 133.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03942/0.9909, allocations: 39.77 MB / 0.8047 GB, free: 89.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002515/0.9934, allocations: 2.622 MB / 0.8073 GB, free: 86.59 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003372/0.9968, allocations: 1.965 MB / 0.8092 GB, free: 84.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002007/0.9988, allocations: 1.714 MB / 0.8109 GB, free: 82.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.062e-06/0.9988, allocations: 0 / 0.8109 GB, free: 82.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09516/1.094, allocations: 56.76 MB / 0.8663 GB, free: 26.64 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.99/24.09, allocations: 8.062 kB / 0.8663 GB, free: 26.63 MB / 0.5606 GB " [Timeout remaining time 636] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.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.684669155976735]