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.001666/0.001666, allocations: 120.1 kB / 18.49 MB, free: 4.59 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.001914/0.001914, allocations: 214.2 kB / 21.45 MB, free: 1.637 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.466/1.466, allocations: 230.5 MB / 254.7 MB, free: 15.19 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.91 MB / 357.7 MB, free: 10.21 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.002347/0.002347, allocations: 71.89 kB / 0.4917 GB, free: 7.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1264, allocations: 66.05 MB / 0.5562 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01548/0.1419, allocations: 12.32 MB / 0.5682 GB, free: 9.156 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009327/0.1512, allocations: 3.962 MB / 0.5721 GB, free: 5.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002234/0.1534, allocations: 67.75 kB / 0.5721 GB, free: 5.113 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003422/0.1568, allocations: 1.343 MB / 0.5734 GB, free: 3.766 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004953/0.1618, allocations: 1.77 MB / 0.5752 GB, free: 1.992 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.1634, allocations: 487 kB / 0.5756 GB, free: 1.516 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005831/0.1692, allocations: 3.609 MB / 0.5792 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003019/0.1722, allocations: 1.771 MB / 0.5809 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002347/0.1746, allocations: 1.214 MB / 0.5821 GB, free: 10.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003247/0.1778, allocations: 1.892 MB / 0.5839 GB, free: 8.977 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008351/0.1786, allocations: 239.9 kB / 0.5841 GB, free: 8.742 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002446/0.1811, allocations: 0.9633 MB / 0.5851 GB, free: 7.777 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002319/0.1834, allocations: 1.608 MB / 0.5867 GB, free: 6.164 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003065/0.1865, allocations: 1.886 MB / 0.5885 GB, free: 4.266 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2709/0.4574, allocations: 6.199 MB / 0.5946 GB, free: 11.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.4574, allocations: 1.062 kB / 0.5946 GB, free: 11.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4574, allocations: 2.062 kB / 0.5946 GB, free: 11.94 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002039/0.4576, allocations: 0.9375 kB / 0.5946 GB, free: 11.94 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.009046/0.4667, allocations: 4.249 MB / 0.5987 GB, free: 10.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.4667, allocations: 9.5 kB / 0.5987 GB, free: 10.1 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001698/0.4669, allocations: 99.8 kB / 0.5988 GB, free: 10.09 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001145/0.468, allocations: 0.7098 MB / 0.5995 GB, free: 10.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01186/0.4799, allocations: 3.112 MB / 0.6025 GB, free: 9.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005318/0.4852, allocations: 2.105 MB / 0.6046 GB, free: 9.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001821/0.4854, allocations: 188 kB / 0.6048 GB, free: 9.223 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001053/0.4864, allocations: 250 kB / 0.605 GB, free: 9.215 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01841/0.5048, allocations: 10.49 MB / 0.6153 GB, free: 7.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001053/0.5049, allocations: 23.09 kB / 0.6153 GB, free: 7.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005245/0.5055, allocations: 115.8 kB / 0.6154 GB, free: 6.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004478/0.51, allocations: 2.555 MB / 0.6179 GB, free: 6.566 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01814/0.5281, allocations: 9.916 MB / 0.6276 GB, free: 3.176 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05294/0.581, allocations: 34.34 MB / 0.6611 GB, free: 1.41 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01051/0.5915, allocations: 4.971 MB / 0.666 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003544/0.5951, allocations: 2.116 MB / 0.668 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002051/0.5971, allocations: 1.878 MB / 0.6699 GB, free: 7.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.596e-05/0.5972, allocations: 56.56 kB / 0.6699 GB, free: 7.844 MB / 494.1 MB Notification: Performance of pre-optimization done (n=229): time 7.714e-06/0.5972, allocations: 0 / 0.6699 GB, free: 7.844 MB / 494.1 MB Notification: Performance of matching and sorting (n=235): time 0.03833/0.6355, allocations: 14.04 MB / 0.6836 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.722e-05/0.6356, allocations: 77.34 kB / 0.6837 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004518/0.6401, allocations: 2.643 MB / 0.6863 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005443/0.6407, allocations: 49.7 kB / 0.6863 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002413/0.6431, allocations: 2.743 MB / 0.689 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001455/0.6446, allocations: 0.8911 MB / 0.6899 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001737/0.6463, allocations: 1.043 MB / 0.6909 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.6465, allocations: 305.1 kB / 0.6912 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003757/0.6502, allocations: 2.196 MB / 0.6933 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006511/0.6567, allocations: 5.057 MB / 0.6983 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01148/0.6682, allocations: 7.96 MB / 0.706 GB, free: 480 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001265/0.6684, allocations: 28 kB / 0.7061 GB, free: 452 kB / 0.5137 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01729/0.6856, allocations: 7.873 MB / 0.7138 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.719e-05/0.6857, allocations: 51.98 kB / 0.7138 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001437/0.6859, allocations: 100 kB / 0.7139 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002595/0.6885, allocations: 0.787 MB / 0.7147 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004789/0.6933, allocations: 1.189 MB / 0.7158 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007027/0.7003, allocations: 4.523 MB / 0.7203 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004195/0.7045, allocations: 293.8 kB / 0.7205 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009149/0.7054, allocations: 300 kB / 0.7208 GB, free: 1.648 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.00447/0.7099, allocations: 2.015 MB / 0.7228 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006959/0.7106, allocations: 274.1 kB / 0.723 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009494/0.7201, allocations: 4.72 MB / 0.7277 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.933e-05/0.7201, allocations: 39.98 kB / 0.7277 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/0.7202, allocations: 7.938 kB / 0.7277 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.021e-05/0.7202, allocations: 7.969 kB / 0.7277 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02148/0.7417, allocations: 10.49 MB / 0.738 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.07e-05/0.7417, allocations: 8 kB / 0.738 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001787/0.7435, allocations: 363.4 kB / 0.7383 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00222/0.7457, allocations: 0.6645 MB / 0.739 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003207/0.746, allocations: 47.58 kB / 0.739 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005811/0.7518, allocations: 3.907 MB / 0.7428 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.347e-05/0.7518, allocations: 11.94 kB / 0.7428 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01244/0.7643, allocations: 7.153 MB / 0.7498 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000938/0.7652, allocations: 327.1 kB / 0.7501 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005077/0.7657, allocations: 40 kB / 0.7502 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/0.767, allocations: 139.8 kB / 0.7503 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003774/0.7674, allocations: 137 kB / 0.7504 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001716/0.7676, allocations: 62.81 kB / 0.7505 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002745/0.7703, allocations: 1.619 MB / 0.7521 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7703, allocations: 0 / 0.7521 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004662/0.775, allocations: 0.9062 MB / 0.753 GB, free: 324 kB / 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.01314/0.7881, allocations: 7.799 MB / 0.7606 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009742/0.7979, allocations: 5.138 MB / 0.7656 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/0.7979, allocations: 4.25 kB / 0.7656 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003127/0.801, allocations: 1.872 MB / 0.7674 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002334/0.8033, allocations: 370.6 kB / 0.7678 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07316/0.8765, allocations: 39.67 MB / 0.8065 GB, free: 5.098 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004388/0.8809, allocations: 3.159 MB / 0.8096 GB, free: 1.906 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.004742/0.8856, allocations: 1.961 MB / 0.8115 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003081/0.8887, allocations: 1.714 MB / 0.8132 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of SimCode: time 1.272e-06/0.8887, allocations: 0 / 0.8132 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.412/1.301, allocations: 54.84 MB / 0.8667 GB, free: 236.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.9/23.2, allocations: 13.86 kB / 0.8668 GB, free: 236.9 MB / 0.6544 GB " [Timeout remaining time 637] (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: 26.928773391991854]