Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 128.5 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.474/1.474, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2358/0.2358, allocations: 46.92 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 67.91 kB / 0.4909 GB, free: 7.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1395, allocations: 65.98 MB / 0.5554 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01598/0.1555, allocations: 12.33 MB / 0.5674 GB, free: 9.441 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009054/0.1645, allocations: 3.964 MB / 0.5713 GB, free: 5.461 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002022/0.1666, allocations: 63.81 kB / 0.5714 GB, free: 5.398 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003309/0.1699, allocations: 1.343 MB / 0.5727 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004533/0.1744, allocations: 1.767 MB / 0.5744 GB, free: 2.277 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.1758, allocations: 491 kB / 0.5749 GB, free: 1.797 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005364/0.1811, allocations: 3.615 MB / 0.5784 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002966/0.1841, allocations: 1.771 MB / 0.5801 GB, free: 12.37 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002238/0.1863, allocations: 1.211 MB / 0.5813 GB, free: 11.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003008/0.1893, allocations: 1.892 MB / 0.5831 GB, free: 9.254 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008582/0.1902, allocations: 236 kB / 0.5834 GB, free: 9.023 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002256/0.1925, allocations: 0.9672 MB / 0.5843 GB, free: 8.055 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00208/0.1945, allocations: 1.612 MB / 0.5859 GB, free: 6.438 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002944/0.1975, allocations: 1.879 MB / 0.5877 GB, free: 4.547 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.293/0.4905, allocations: 6.209 MB / 0.5938 GB, free: 12.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.4905, allocations: 0.7188 kB / 0.5938 GB, free: 12.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4905, allocations: 0 / 0.5938 GB, free: 12.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002321/0.4907, allocations: 0 / 0.5938 GB, free: 12.06 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.01096/0.5017, allocations: 4.249 MB / 0.5979 GB, free: 10.22 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/0.5017, allocations: 10.31 kB / 0.598 GB, free: 10.22 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001565/0.5033, allocations: 0.7065 MB / 0.5986 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01261/0.5159, allocations: 3.113 MB / 0.6017 GB, free: 9.859 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005365/0.5213, allocations: 2.107 MB / 0.6037 GB, free: 9.359 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001801/0.5215, allocations: 189.1 kB / 0.6039 GB, free: 9.352 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001135/0.5226, allocations: 250.8 kB / 0.6042 GB, free: 9.348 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0191/0.5417, allocations: 10.49 MB / 0.6144 GB, free: 7.109 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.655e-05/0.5418, allocations: 25.5 kB / 0.6144 GB, free: 7.109 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003902/0.5422, allocations: 117.8 kB / 0.6145 GB, free: 7.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004163/0.5463, allocations: 2.551 MB / 0.617 GB, free: 6.656 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01662/0.563, allocations: 9.918 MB / 0.6267 GB, free: 3.297 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04812/0.6111, allocations: 34.34 MB / 0.6602 GB, free: 1.664 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009986/0.6211, allocations: 4.971 MB / 0.6651 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003157/0.6242, allocations: 2.116 MB / 0.6672 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001917/0.6261, allocations: 1.879 MB / 0.669 GB, free: 8.156 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.045e-05/0.6262, allocations: 57.06 kB / 0.6691 GB, free: 8.094 MB / 494.1 MB Notification: Performance of pre-optimization done (n=229): time 4.569e-06/0.6262, allocations: 0 / 0.6691 GB, free: 8.094 MB / 494.1 MB Notification: Performance of matching and sorting (n=235): time 0.03478/0.661, allocations: 14.05 MB / 0.6828 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/0.661, allocations: 73.34 kB / 0.6828 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003745/0.6648, allocations: 2.637 MB / 0.6854 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002503/0.665, allocations: 59.67 kB / 0.6855 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002068/0.6671, allocations: 2.736 MB / 0.6882 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009609/0.6681, allocations: 0.8912 MB / 0.689 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001537/0.6696, allocations: 1.048 MB / 0.69 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.6697, allocations: 301.1 kB / 0.6903 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003431/0.6732, allocations: 2.195 MB / 0.6925 GB, free: 92 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005897/0.6791, allocations: 5.061 MB / 0.6974 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01033/0.6894, allocations: 7.961 MB / 0.7052 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.328e-05/0.6895, allocations: 28 kB / 0.7052 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01446/0.7039, allocations: 7.869 MB / 0.7129 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.636e-05/0.704, allocations: 48 kB / 0.7129 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001177/0.7041, allocations: 100 kB / 0.713 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002423/0.7066, allocations: 0.8013 MB / 0.7138 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003969/0.7105, allocations: 1.181 MB / 0.715 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00675/0.7173, allocations: 4.508 MB / 0.7194 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003632/0.7209, allocations: 302.8 kB / 0.7197 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009193/0.7218, allocations: 308 kB / 0.72 GB, free: 1.891 MB / 0.5294 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.004034/0.7259, allocations: 2.015 MB / 0.7219 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005789/0.7264, allocations: 278.1 kB / 0.7222 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009374/0.7358, allocations: 4.709 MB / 0.7268 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.507e-05/0.7359, allocations: 47.98 kB / 0.7268 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.7359, allocations: 0 / 0.7268 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.949e-05/0.7359, allocations: 15.83 kB / 0.7269 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01979/0.7557, allocations: 10.5 MB / 0.7371 GB, free: 212 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.206e-05/0.7557, allocations: 8 kB / 0.7371 GB, free: 204 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001818/0.7576, allocations: 364.3 kB / 0.7375 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002313/0.7599, allocations: 0.656 MB / 0.7381 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003062/0.7602, allocations: 46.56 kB / 0.7381 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005678/0.7659, allocations: 3.894 MB / 0.742 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.749e-06/0.7659, allocations: 11.94 kB / 0.742 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01247/0.7783, allocations: 7.154 MB / 0.7489 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007606/0.7791, allocations: 323.2 kB / 0.7493 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000357/0.7795, allocations: 43.98 kB / 0.7493 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/0.7806, allocations: 142.4 kB / 0.7494 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003533/0.781, allocations: 129.1 kB / 0.7496 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001741/0.7812, allocations: 71.92 kB / 0.7496 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002684/0.7839, allocations: 1.627 MB / 0.7512 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.7839, allocations: 288 / 0.7512 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00372/0.7876, allocations: 0.9122 MB / 0.7521 GB, free: 0.5703 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.01217/0.7997, allocations: 7.79 MB / 0.7597 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008871/0.8086, allocations: 5.147 MB / 0.7647 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/0.8086, allocations: 4 kB / 0.7647 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002966/0.8116, allocations: 1.875 MB / 0.7666 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002156/0.8137, allocations: 353.6 kB / 0.7669 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06646/0.8802, allocations: 39.67 MB / 0.8057 GB, free: 5.359 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004411/0.8846, allocations: 3.156 MB / 0.8087 GB, free: 2.172 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.004568/0.8892, allocations: 1.965 MB / 0.8107 GB, free: 204 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003131/0.8923, allocations: 1.716 MB / 0.8123 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of SimCode: time 1.583e-06/0.8923, allocations: 0 / 0.8123 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3962/1.289, allocations: 54.83 MB / 0.8659 GB, free: 237.1 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.05/23.34, allocations: 9.547 kB / 0.8659 GB, free: 237 MB / 0.6544 GB " [Timeout remaining time 637] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 26.573352880077437]