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.0007944/0.0007944, allocations: 80.34 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.0007668/0.0007668, allocations: 156.9 kB / 23.95 MB, free: 0.6094 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.8616/0.8616, allocations: 177 MB / 204.1 MB, free: 5.754 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.2291/0.2291, allocations: 34.25 MB / 294.8 MB, free: 0.6953 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.Joints.Revolute,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 442.2 MB, free: 1.586 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.583e-05/1.732e-05, allocations: 8.953 kB / 442.2 MB, free: 1.578 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.1751/0.1751, allocations: 10.73 MB / 452.9 MB, free: 38.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003866/0.179, allocations: 3.752 MB / 456.6 MB, free: 35.94 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005684/0.1795, allocations: 70.28 kB / 456.7 MB, free: 35.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001219/0.1808, allocations: 1.34 MB / 458.1 MB, free: 35.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001588/0.1824, allocations: 1.837 MB / 459.9 MB, free: 34.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005105/0.1829, allocations: 0.5171 MB / 460.4 MB, free: 34.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001652/0.1845, allocations: 3.985 MB / 464.4 MB, free: 32.9 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.1855, allocations: 2.08 MB / 466.5 MB, free: 32 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00097/0.1865, allocations: 1.848 MB / 468.3 MB, free: 31.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.1876, allocations: 1.933 MB / 470.3 MB, free: 30.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001817/0.1877, allocations: 238.7 kB / 470.5 MB, free: 30.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007438/0.1885, allocations: 0.9066 MB / 471.4 MB, free: 30.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005777/0.1891, allocations: 1.672 MB / 473.1 MB, free: 29.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004748/0.1895, allocations: 0.9983 MB / 474.1 MB, free: 29.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002804/0.1923, allocations: 6.179 MB / 480.2 MB, free: 27.26 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1923, allocations: 0 / 480.2 MB, free: 27.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1923, allocations: 0 / 480.2 MB, free: 27.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.676e-05/0.1924, allocations: 0 / 480.2 MB, free: 27.26 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.004345/0.1968, allocations: 4.184 MB / 484.4 MB, free: 24.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.1968, allocations: 13.28 kB / 484.4 MB, free: 24.82 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005845/0.1974, allocations: 0.7055 MB / 485.1 MB, free: 24.47 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005933/0.2033, allocations: 3.158 MB / 488.3 MB, free: 24.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002254/0.2056, allocations: 1.9 MB / 490.2 MB, free: 23.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.015e-05/0.2057, allocations: 185.2 kB / 490.4 MB, free: 23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003513/0.206, allocations: 249.8 kB / 490.6 MB, free: 22.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00926/0.2153, allocations: 10.5 MB / 0.4894 GB, free: 18.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.485e-05/0.2153, allocations: 31.02 kB / 0.4894 GB, free: 18.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002653/0.2156, allocations: 118.8 kB / 0.4895 GB, free: 18.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002472/0.2181, allocations: 2.549 MB / 0.492 GB, free: 17.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009949/0.228, allocations: 9.901 MB / 0.5017 GB, free: 8.754 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02631/0.2543, allocations: 32.9 MB / 0.5338 GB, free: 7.066 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00502/0.2593, allocations: 4.153 MB / 0.5379 GB, free: 2.91 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001786/0.2611, allocations: 2.119 MB / 0.5399 GB, free: 0.793 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006024/0.2617, allocations: 0.5455 MB / 0.5405 GB, free: 252 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.2618, allocations: 55.81 kB / 0.5405 GB, free: 192 kB / 442.7 MB Notification: Performance of pre-optimization done (n=229): time 3.887e-06/0.2618, allocations: 0 / 0.5405 GB, free: 192 kB / 442.7 MB Notification: Performance of matching and sorting (n=235): time 0.01919/0.2809, allocations: 14.35 MB / 0.5545 GB, free: 1.816 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.281, allocations: 73.41 kB / 0.5546 GB, free: 1.734 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002934/0.2839, allocations: 2.966 MB / 0.5575 GB, free: 14.74 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001193/0.284, allocations: 53.7 kB / 0.5576 GB, free: 14.68 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001105/0.2852, allocations: 2.718 MB / 0.5602 GB, free: 11.94 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005763/0.2857, allocations: 0.8835 MB / 0.5611 GB, free: 11.05 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000962/0.2867, allocations: 1.021 MB / 0.5621 GB, free: 10.02 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.2869, allocations: 309 kB / 0.5624 GB, free: 9.715 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002032/0.2889, allocations: 2.2 MB / 0.5645 GB, free: 7.508 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003446/0.2924, allocations: 5.061 MB / 0.5695 GB, free: 1.043 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006635/0.299, allocations: 7.965 MB / 0.5772 GB, free: 7.668 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.637e-05/0.2991, allocations: 28 kB / 0.5773 GB, free: 7.641 MB / 490.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.008588/0.3077, allocations: 7.869 MB / 0.5849 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.035e-05/0.3077, allocations: 48 kB / 0.585 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-05/0.3078, allocations: 100 kB / 0.5851 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.309, allocations: 0.7933 MB / 0.5859 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001978/0.311, allocations: 1.181 MB / 0.587 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003949/0.315, allocations: 4.399 MB / 0.5913 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/0.317, allocations: 319.7 kB / 0.5916 GB, free: 8.809 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002704/0.3172, allocations: 308 kB / 0.5919 GB, free: 8.508 MB / 0.4948 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.002814/0.32, allocations: 2.012 MB / 0.5939 GB, free: 6.484 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002871/0.3203, allocations: 274.1 kB / 0.5941 GB, free: 6.215 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004877/0.3252, allocations: 4.721 MB / 0.5987 GB, free: 1.465 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-05/0.3252, allocations: 40 kB / 0.5988 GB, free: 1.426 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.3253, allocations: 7.984 kB / 0.5988 GB, free: 1.418 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.3253, allocations: 7.969 kB / 0.5988 GB, free: 1.41 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01091/0.3362, allocations: 10.23 MB / 0.6088 GB, free: 7.035 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.367e-06/0.3362, allocations: 8 kB / 0.6088 GB, free: 7.027 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009522/0.3371, allocations: 363.4 kB / 0.6091 GB, free: 6.672 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001088/0.3382, allocations: 0.6483 MB / 0.6098 GB, free: 6.02 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001188/0.3383, allocations: 43.98 kB / 0.6098 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003214/0.3416, allocations: 3.804 MB / 0.6135 GB, free: 2.055 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/0.3416, allocations: 11.94 kB / 0.6135 GB, free: 2.043 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006707/0.3483, allocations: 7.129 MB / 0.6205 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004088/0.3487, allocations: 270.1 kB / 0.6208 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000192/0.3489, allocations: 43.97 kB / 0.6208 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006966/0.3496, allocations: 171.7 kB / 0.621 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/0.3498, allocations: 140.9 kB / 0.6211 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.236e-05/0.3499, allocations: 60 kB / 0.6212 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001589/0.3515, allocations: 1.744 MB / 0.6229 GB, free: 8.379 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3515, allocations: 0 / 0.6229 GB, free: 8.379 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002663/0.3541, allocations: 1.004 MB / 0.6238 GB, free: 7.375 MB / 0.5261 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.1798/0.5339, allocations: 7.788 MB / 0.6315 GB, free: 153.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005308/0.5393, allocations: 5.139 MB / 0.6365 GB, free: 152.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.5393, allocations: 2.844 kB / 0.6365 GB, free: 152.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001439/0.5407, allocations: 1.881 MB / 0.6383 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/0.5423, allocations: 361.9 kB / 0.6387 GB, free: 151.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03488/0.5771, allocations: 40.13 MB / 0.6778 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002863/0.58, allocations: 2.615 MB / 0.6804 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002703/0.5827, allocations: 1.967 MB / 0.6823 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001353/0.584, allocations: 1.717 MB / 0.684 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of SimCode: time 9.51e-07/0.584, allocations: 0 / 0.684 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05369/0.6377, allocations: 56.11 MB / 0.7388 GB, free: 79.48 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.836/10.47, allocations: 8.047 kB / 0.7388 GB, free: 79.48 MB / 0.5261 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 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.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins/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: 12.545784565620124]