Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.001897/0.001897, allocations: 114 kB / 17.13 MB, free: 5.914 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.002155/0.002155, allocations: 212.3 kB / 20.1 MB, free: 2.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 207.6 MB / 230.5 MB, free: 4.031 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3961/0.3961, allocations: 44.23 MB / 326.6 MB, free: 6.844 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002399/0.002399, allocations: 72.28 kB / 462.2 MB, free: 0.8867 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3211, allocations: 61.01 MB / 0.511 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.009858/0.331, allocations: 10.33 MB / 0.5211 GB, free: 4.566 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007581/0.3385, allocations: 3.803 MB / 0.5248 GB, free: 0.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002341/0.3409, allocations: 67.69 kB / 0.5248 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004665/0.3456, allocations: 1.978 MB / 0.5268 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005575/0.3511, allocations: 1.7 MB / 0.5284 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002058/0.3532, allocations: 0.6121 MB / 0.529 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006325/0.3595, allocations: 3.346 MB / 0.5323 GB, free: 9.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004113/0.3636, allocations: 2.208 MB / 0.5344 GB, free: 6.758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003179/0.3668, allocations: 1.265 MB / 0.5357 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003631/0.3704, allocations: 1.826 MB / 0.5375 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001184/0.3716, allocations: 256 kB / 0.5377 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002974/0.3746, allocations: 1.061 MB / 0.5387 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002702/0.3773, allocations: 1.616 MB / 0.5403 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004113/0.3814, allocations: 1.841 MB / 0.5421 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01035/0.3918, allocations: 5.87 MB / 0.5479 GB, free: 8.977 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.06e-05/0.3918, allocations: 0 / 0.5479 GB, free: 8.977 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.3918, allocations: 0 / 0.5479 GB, free: 8.977 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002513/0.392, allocations: 0 / 0.5479 GB, free: 8.977 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01244/0.4045, allocations: 4.16 MB / 0.5519 GB, free: 4.742 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.982e-05/0.4045, allocations: 19.83 kB / 0.5519 GB, free: 4.723 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00217/0.4067, allocations: 0.6004 MB / 0.5525 GB, free: 4.113 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007548/0.4143, allocations: 1.808 MB / 0.5543 GB, free: 2.301 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006085/0.4203, allocations: 2.433 MB / 0.5567 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002488/0.4206, allocations: 196.9 kB / 0.5568 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001325/0.4219, allocations: 255.8 kB / 0.5571 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01889/0.4408, allocations: 8.44 MB / 0.5653 GB, free: 6.258 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001543/0.441, allocations: 39.64 kB / 0.5654 GB, free: 6.219 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007428/0.4417, allocations: 127.9 kB / 0.5655 GB, free: 6.094 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003293/0.445, allocations: 1.692 MB / 0.5671 GB, free: 4.398 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01592/0.4609, allocations: 7.098 MB / 0.5741 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05117/0.5121, allocations: 34.1 MB / 0.6074 GB, free: 10.21 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008308/0.5204, allocations: 3.181 MB / 0.6105 GB, free: 6.871 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002442/0.5228, allocations: 1.361 MB / 0.6118 GB, free: 5.496 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009739/0.5326, allocations: 4.374 MB / 0.6161 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.494e-05/0.5326, allocations: 51 kB / 0.6161 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of pre-optimization done (n=121): time 5.811e-06/0.5326, allocations: 4 kB / 0.6161 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of matching and sorting (n=129): time 0.03618/0.5688, allocations: 11.75 MB / 0.6276 GB, free: 4.965 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001526/0.569, allocations: 174.8 kB / 0.6278 GB, free: 4.758 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008221/0.5772, allocations: 3.755 MB / 0.6314 GB, free: 1.012 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003644/0.5776, allocations: 41.7 kB / 0.6315 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003378/0.5809, allocations: 2.874 MB / 0.6343 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009721/0.5819, allocations: 0.5432 MB / 0.6348 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002116/0.584, allocations: 1.084 MB / 0.6359 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.5842, allocations: 308.9 kB / 0.6362 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003062/0.5872, allocations: 1.697 MB / 0.6378 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006664/0.5939, allocations: 5.119 MB / 0.6428 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3336/0.9275, allocations: 7.391 MB / 0.6501 GB, free: 113.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001648/0.9277, allocations: 39.12 kB / 0.6501 GB, free: 113.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01819/0.9459, allocations: 6.709 MB / 0.6566 GB, free: 111.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001215/0.946, allocations: 61.08 kB / 0.6567 GB, free: 111.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002731/0.9463, allocations: 119.5 kB / 0.6568 GB, free: 111.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009291/0.9472, allocations: 320.4 kB / 0.6571 GB, free: 111.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004517/0.9517, allocations: 1.245 MB / 0.6583 GB, free: 111.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002528/0.9542, allocations: 2.489 MB / 0.6608 GB, free: 109.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004427/0.9587, allocations: 297.1 kB / 0.661 GB, free: 109.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001179/0.9599, allocations: 334.6 kB / 0.6614 GB, free: 109.4 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 660 * Array equations: 3 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004334/0.9642, allocations: 1.793 MB / 0.6631 GB, free: 108.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007672/0.965, allocations: 328.8 kB / 0.6634 GB, free: 108.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004653/0.9696, allocations: 2.36 MB / 0.6657 GB, free: 107.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.563e-05/0.9697, allocations: 15.66 kB / 0.6658 GB, free: 107.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.9697, allocations: 3.906 kB / 0.6658 GB, free: 107.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.19e-05/0.9697, allocations: 3.656 kB / 0.6658 GB, free: 107.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01203/0.9817, allocations: 5.904 MB / 0.6715 GB, free: 105.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.97e-05/0.9817, allocations: 0 / 0.6715 GB, free: 105.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008497/0.9826, allocations: 177.4 kB / 0.6717 GB, free: 105.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002176/0.9848, allocations: 0.7205 MB / 0.6724 GB, free: 105.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001822/0.9849, allocations: 18.56 kB / 0.6724 GB, free: 105.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004973/0.9899, allocations: 4.817 MB / 0.6771 GB, free: 100.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.9899, allocations: 4 kB / 0.6771 GB, free: 100.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006163/0.9961, allocations: 4.335 MB / 0.6814 GB, free: 96.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001384/0.9975, allocations: 0.5455 MB / 0.6819 GB, free: 96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006124/0.9981, allocations: 23.91 kB / 0.6819 GB, free: 95.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001574/0.9997, allocations: 67.84 kB / 0.682 GB, free: 95.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003183/1, allocations: 68.56 kB / 0.682 GB, free: 95.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/1, allocations: 32 kB / 0.6821 GB, free: 95.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003882/1.004, allocations: 2.347 MB / 0.6844 GB, free: 93.49 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.004, allocations: 3.938 kB / 0.6844 GB, free: 93.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00557/1.01, allocations: 0.8163 MB / 0.6852 GB, free: 92.67 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (96): * Single equations (assignments): 92 * Array equations: 3 * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007258/1.017, allocations: 4.966 MB / 0.69 GB, free: 87.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006374/1.023, allocations: 3.889 MB / 0.6938 GB, free: 83.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/1.023, allocations: 0 / 0.6938 GB, free: 83.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001589/1.025, allocations: 1.029 MB / 0.6948 GB, free: 82.76 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003668/1.028, allocations: 393.2 kB / 0.6952 GB, free: 82.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06014/1.089, allocations: 37.81 MB / 0.7321 GB, free: 39.39 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005692/1.094, allocations: 2.789 MB / 0.7348 GB, free: 36.58 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004596/1.099, allocations: 1.652 MB / 0.7365 GB, free: 34.92 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003012/1.102, allocations: 1.534 MB / 0.738 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of SimCode: time 3.116e-06/1.102, allocations: 1.969 kB / 0.738 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1225/1.224, allocations: 58.26 MB / 0.7948 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.58/24.81, allocations: 4.062 kB / 0.7948 GB, free: 7.109 MB / 0.5294 GB " [Timeout remaining time 635] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_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_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.002599104991532]