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.00091/0.00091, allocations: 92.31 kB / 20.95 MB, free: 3.602 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.001074/0.001074, allocations: 164.9 kB / 24.26 MB, free: 296 kB / 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.8701/0.8701, allocations: 177 MB / 204.5 MB, free: 5.613 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.2207/0.2207, allocations: 34.25 MB / 295.2 MB, free: 0.6641 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.042e-06/1.042e-06, allocations: 0 / 376.7 MB, free: 3.434 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.528e-06/1.057e-05, allocations: 6.312 kB / 376.7 MB, free: 3.426 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.007273/0.007284, allocations: 10.73 MB / 387.4 MB, free: 8.637 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005074/0.01236, allocations: 3.771 MB / 391.2 MB, free: 4.855 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000764/0.01312, allocations: 67.75 kB / 391.3 MB, free: 4.789 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001566/0.01469, allocations: 1.362 MB / 392.6 MB, free: 3.422 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001988/0.01668, allocations: 1.84 MB / 394.5 MB, free: 1.574 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006433/0.01732, allocations: 0.5144 MB / 395 MB, free: 1.059 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002418/0.01974, allocations: 3.994 MB / 399 MB, free: 13.06 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001709/0.02145, allocations: 2.153 MB / 401.1 MB, free: 10.86 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001261/0.02271, allocations: 1.843 MB / 403 MB, free: 9.016 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001385/0.02409, allocations: 1.937 MB / 404.9 MB, free: 7.074 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002185/0.02431, allocations: 236 kB / 405.1 MB, free: 6.844 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000897/0.02521, allocations: 0.9047 MB / 406 MB, free: 5.938 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009566/0.02616, allocations: 1.679 MB / 407.7 MB, free: 4.254 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000619/0.02678, allocations: 1 MB / 408.7 MB, free: 3.25 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003639/0.03042, allocations: 6.182 MB / 414.9 MB, free: 13.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.03043, allocations: 0 / 414.9 MB, free: 13.05 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.03043, allocations: 0 / 414.9 MB, free: 13.05 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.978e-05/0.03052, allocations: 4 kB / 414.9 MB, free: 13.04 MB / 394.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.00443/0.03495, allocations: 4.182 MB / 419.1 MB, free: 8.805 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.03499, allocations: 12.03 kB / 419.1 MB, free: 8.793 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005426/0.03553, allocations: 0.7044 MB / 419.8 MB, free: 8.078 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006313/0.04184, allocations: 3.754 MB / 423.6 MB, free: 4.316 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001971/0.04381, allocations: 1.909 MB / 425.5 MB, free: 2.375 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.642e-05/0.0439, allocations: 193 kB / 425.7 MB, free: 2.184 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003098/0.04421, allocations: 240.2 kB / 425.9 MB, free: 1.949 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008379/0.05259, allocations: 10.5 MB / 436.4 MB, free: 7.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.42e-05/0.05263, allocations: 23.81 kB / 436.4 MB, free: 6.996 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002298/0.05286, allocations: 119.8 kB / 436.5 MB, free: 6.879 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002197/0.05506, allocations: 2.549 MB / 439.1 MB, free: 4.328 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1363/0.1914, allocations: 9.902 MB / 449 MB, free: 93.76 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02407/0.2154, allocations: 32.96 MB / 481.9 MB, free: 74.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00564/0.2211, allocations: 4.158 MB / 486.1 MB, free: 73.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001824/0.2229, allocations: 2.121 MB / 488.2 MB, free: 72.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006711/0.2236, allocations: 0.56 MB / 488.8 MB, free: 72.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.2236, allocations: 54.88 kB / 488.8 MB, free: 72.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=229): time 3.988e-06/0.2236, allocations: 1.156 kB / 488.8 MB, free: 72.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=235): time 0.01805/0.2416, allocations: 14.43 MB / 0.4915 GB, free: 65.81 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.2417, allocations: 74.11 kB / 0.4915 GB, free: 65.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002169/0.2438, allocations: 2.969 MB / 0.4944 GB, free: 63.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.273e-05/0.2439, allocations: 53.7 kB / 0.4945 GB, free: 63.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000777/0.2447, allocations: 2.721 MB / 0.4971 GB, free: 60.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003576/0.2451, allocations: 0.8743 MB / 0.498 GB, free: 60 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006858/0.2457, allocations: 1.024 MB / 0.499 GB, free: 59.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.251e-05/0.2458, allocations: 305.1 kB / 0.4993 GB, free: 58.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/0.2474, allocations: 2.198 MB / 0.5014 GB, free: 56.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002286/0.2497, allocations: 5.062 MB / 0.5064 GB, free: 50.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004407/0.2541, allocations: 7.962 MB / 0.5142 GB, free: 42.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.796e-05/0.2541, allocations: 29.83 kB / 0.5142 GB, free: 42.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.006666/0.2608, allocations: 8.136 MB / 0.5221 GB, free: 34.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.582e-05/0.2608, allocations: 51.94 kB / 0.5222 GB, free: 34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.379e-05/0.2609, allocations: 100 kB / 0.5223 GB, free: 33.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/0.262, allocations: 0.7889 MB / 0.523 GB, free: 33.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001743/0.2637, allocations: 1.185 MB / 0.5242 GB, free: 31.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002922/0.2666, allocations: 4.394 MB / 0.5285 GB, free: 27.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/0.2683, allocations: 327 kB / 0.5288 GB, free: 27.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002273/0.2685, allocations: 300 kB / 0.5291 GB, free: 26.8 MB / 410.7 MB 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.001832/0.2704, allocations: 2.027 MB / 0.5311 GB, free: 24.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002742/0.2706, allocations: 334.1 kB / 0.5314 GB, free: 24.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003831/0.2745, allocations: 4.714 MB / 0.536 GB, free: 19.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.982e-05/0.2745, allocations: 51.81 kB / 0.536 GB, free: 19.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2745, allocations: 7.312 kB / 0.5361 GB, free: 19.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.2745, allocations: 7.969 kB / 0.5361 GB, free: 19.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008284/0.2828, allocations: 10.22 MB / 0.546 GB, free: 9.316 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.2828, allocations: 8.906 kB / 0.546 GB, free: 9.309 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007396/0.2835, allocations: 363.4 kB / 0.5464 GB, free: 8.953 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009609/0.2845, allocations: 0.6522 MB / 0.547 GB, free: 8.297 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.266e-05/0.2846, allocations: 43.94 kB / 0.5471 GB, free: 8.254 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002425/0.287, allocations: 3.813 MB / 0.5508 GB, free: 4.324 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.287, allocations: 15.92 kB / 0.5508 GB, free: 4.309 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00568/0.2927, allocations: 7.176 MB / 0.5578 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003582/0.2931, allocations: 270.1 kB / 0.5581 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/0.2933, allocations: 48.03 kB / 0.5581 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006846/0.294, allocations: 174.6 kB / 0.5583 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/0.2941, allocations: 137 kB / 0.5584 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.026e-05/0.2942, allocations: 63.98 kB / 0.5585 GB, free: 12.35 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001557/0.2958, allocations: 1.748 MB / 0.5602 GB, free: 10.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.2958, allocations: 0 / 0.5602 GB, free: 10.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002482/0.2983, allocations: 0.9959 MB / 0.5612 GB, free: 9.598 MB / 426.7 MB 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.006652/0.3049, allocations: 7.847 MB / 0.5688 GB, free: 1.625 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004711/0.3096, allocations: 5.15 MB / 0.5738 GB, free: 12.49 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.3096, allocations: 0 / 0.5738 GB, free: 12.49 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001512/0.3111, allocations: 1.88 MB / 0.5757 GB, free: 10.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.3122, allocations: 365.7 kB / 0.576 GB, free: 10.26 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1477/0.4599, allocations: 40.45 MB / 0.6155 GB, free: 125.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002035/0.462, allocations: 2.625 MB / 0.6181 GB, free: 124.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00228/0.4642, allocations: 1.964 MB / 0.62 GB, free: 124.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001239/0.4655, allocations: 1.715 MB / 0.6217 GB, free: 123.3 MB / 458.7 MB Notification: Performance of SimCode: time 2.695e-06/0.4655, allocations: 1.531 kB / 0.6217 GB, free: 123.3 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05503/0.5205, allocations: 56.41 MB / 0.6768 GB, free: 89.47 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.173/9.694, allocations: 11.94 kB / 0.6768 GB, free: 89.46 MB / 458.7 MB " [Timeout remaining time 650] (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: 11.631426837295294]