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.001508/0.001508, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001865/0.001865, allocations: 208.2 kB / 24.53 MB, free: 4.07 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.552/1.552, allocations: 230.5 MB / 258.2 MB, free: 8.035 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.2623/0.2623, allocations: 46.93 MB / 361.6 MB, free: 4.176 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.002504/0.002504, allocations: 75.88 kB / 0.497 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3862, allocations: 66.08 MB / 0.5615 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01855/0.4047, allocations: 12.35 MB / 0.5736 GB, free: 7.879 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009883/0.4146, allocations: 3.992 MB / 0.5775 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001721/0.4163, allocations: 67.75 kB / 0.5775 GB, free: 3.812 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00304/0.4193, allocations: 1.343 MB / 0.5788 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004695/0.424, allocations: 1.774 MB / 0.5806 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001472/0.4255, allocations: 0.4951 MB / 0.5811 GB, free: 196 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006482/0.432, allocations: 3.606 MB / 0.5846 GB, free: 12.58 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003963/0.436, allocations: 1.821 MB / 0.5864 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002929/0.4389, allocations: 1.214 MB / 0.5875 GB, free: 9.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004113/0.443, allocations: 1.892 MB / 0.5894 GB, free: 7.602 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001207/0.4442, allocations: 236 kB / 0.5896 GB, free: 7.371 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003049/0.4473, allocations: 0.975 MB / 0.5906 GB, free: 6.395 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003269/0.4505, allocations: 1.608 MB / 0.5921 GB, free: 4.781 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004611/0.4551, allocations: 1.879 MB / 0.594 GB, free: 2.891 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01271/0.4678, allocations: 6.208 MB / 0.6 GB, free: 12.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.575e-05/0.4679, allocations: 4 kB / 0.6 GB, free: 12.65 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.4679, allocations: 0 / 0.6 GB, free: 12.65 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003056/0.4682, allocations: 7.875 kB / 0.6 GB, free: 12.64 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.01386/0.482, allocations: 4.178 MB / 0.6041 GB, free: 8.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.4821, allocations: 8.031 kB / 0.6041 GB, free: 8.402 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001647/0.4822, allocations: 93.03 kB / 0.6042 GB, free: 8.309 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001998/0.4842, allocations: 0.7083 MB / 0.6049 GB, free: 7.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01148/0.4957, allocations: 3.118 MB / 0.608 GB, free: 4.465 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004839/0.5006, allocations: 2.031 MB / 0.6099 GB, free: 2.402 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002225/0.5008, allocations: 192.8 kB / 0.6101 GB, free: 2.211 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001108/0.5019, allocations: 247.8 kB / 0.6104 GB, free: 1.969 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02301/0.5249, allocations: 10.48 MB / 0.6206 GB, free: 7.047 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001967/0.5251, allocations: 27.75 kB / 0.6206 GB, free: 7.02 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001522/0.5266, allocations: 119.8 kB / 0.6207 GB, free: 6.902 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005485/0.5321, allocations: 2.557 MB / 0.6232 GB, free: 4.344 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02556/0.5577, allocations: 9.915 MB / 0.6329 GB, free: 10.42 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06157/0.6192, allocations: 34.21 MB / 0.6663 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01017/0.6294, allocations: 4.052 MB / 0.6703 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003423/0.6328, allocations: 2.112 MB / 0.6723 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001292/0.6341, allocations: 0.5595 MB / 0.6729 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.474e-05/0.6342, allocations: 60.48 kB / 0.6729 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 6.622e-06/0.6342, allocations: 4 kB / 0.6729 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.0377/0.6719, allocations: 13.89 MB / 0.6865 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.824e-05/0.672, allocations: 77.34 kB / 0.6866 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004887/0.6768, allocations: 2.64 MB / 0.6892 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004128/0.6773, allocations: 49.7 kB / 0.6892 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002554/0.6798, allocations: 2.741 MB / 0.6919 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001321/0.6811, allocations: 0.8874 MB / 0.6928 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002808/0.6839, allocations: 1.048 MB / 0.6938 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.6841, allocations: 301.1 kB / 0.6941 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004379/0.6885, allocations: 2.196 MB / 0.6962 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007567/0.696, allocations: 5.063 MB / 0.7012 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01167/0.7077, allocations: 7.953 MB / 0.7089 GB, free: 8.797 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001138/0.7078, allocations: 32 kB / 0.709 GB, free: 8.766 MB / 0.545 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01699/0.7248, allocations: 7.869 MB / 0.7166 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001479/0.725, allocations: 48 kB / 0.7167 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001922/0.7252, allocations: 107.9 kB / 0.7168 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002685/0.7278, allocations: 0.7935 MB / 0.7176 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004255/0.7321, allocations: 1.177 MB / 0.7187 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007106/0.7392, allocations: 4.418 MB / 0.723 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003392/0.7426, allocations: 291.8 kB / 0.7233 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009212/0.7435, allocations: 300 kB / 0.7236 GB, free: 9.656 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.004172/0.7477, allocations: 2.018 MB / 0.7256 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006539/0.7483, allocations: 282.1 kB / 0.7258 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009582/0.7579, allocations: 4.714 MB / 0.7304 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.378e-05/0.758, allocations: 47.92 kB / 0.7305 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/0.758, allocations: 4 kB / 0.7305 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.352e-05/0.7581, allocations: 7.969 kB / 0.7305 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.326/1.084, allocations: 10.48 MB / 0.7407 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.028e-05/1.084, allocations: 9.375 kB / 0.7407 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001691/1.086, allocations: 358.3 kB / 0.7411 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001935/1.088, allocations: 0.6567 MB / 0.7417 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004719/1.088, allocations: 47.66 kB / 0.7418 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004271/1.092, allocations: 3.796 MB / 0.7455 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.092, allocations: 14.48 kB / 0.7455 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01041/1.103, allocations: 7.145 MB / 0.7525 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008249/1.104, allocations: 245.6 kB / 0.7527 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008347/1.105, allocations: 43.8 kB / 0.7527 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/1.106, allocations: 144.6 kB / 0.7529 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005182/1.107, allocations: 130.5 kB / 0.753 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002185/1.107, allocations: 66.91 kB / 0.7531 GB, free: 147 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002663/1.11, allocations: 1.621 MB / 0.7546 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.81e-07/1.11, allocations: 0 / 0.7546 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00507/1.115, allocations: 0.9128 MB / 0.7555 GB, free: 144.7 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.01041/1.125, allocations: 7.794 MB / 0.7631 GB, free: 137 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007288/1.132, allocations: 5.137 MB / 0.7682 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/1.132, allocations: 4 kB / 0.7682 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002435/1.135, allocations: 1.878 MB / 0.77 GB, free: 130.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002259/1.137, allocations: 357 kB / 0.7703 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06086/1.198, allocations: 39.78 MB / 0.8092 GB, free: 85.74 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005676/1.204, allocations: 3.171 MB / 0.8123 GB, free: 82.54 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005036/1.209, allocations: 1.957 MB / 0.8142 GB, free: 80.57 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003771/1.212, allocations: 1.706 MB / 0.8159 GB, free: 78.87 MB / 0.5606 GB Notification: Performance of SimCode: time 1.993e-06/1.212, allocations: 2.078 kB / 0.8159 GB, free: 78.87 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1113/1.324, allocations: 59.2 MB / 0.8737 GB, free: 19.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.9/24.23, allocations: 15.17 kB / 0.8737 GB, free: 19.9 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: 28.016157272970304]