Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.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.001911/0.001911, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001573/0.001573, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.481/1.481, allocations: 230.5 MB / 257.4 MB, free: 7.797 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.2263/0.2263, allocations: 46.95 MB / 360.8 MB, free: 3.914 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.Universal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002396/0.002396, allocations: 75.88 kB / 0.4962 GB, free: 7.539 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3857, allocations: 66.08 MB / 0.5607 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01632/0.402, allocations: 11.73 MB / 0.5721 GB, free: 8.262 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01012/0.4121, allocations: 4.021 MB / 0.5761 GB, free: 4.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002504/0.4146, allocations: 83.69 kB / 0.5762 GB, free: 4.148 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004888/0.4195, allocations: 1.919 MB / 0.578 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006309/0.4258, allocations: 1.95 MB / 0.5799 GB, free: 272 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00184/0.4277, allocations: 0.5537 MB / 0.5805 GB, free: 15.71 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007258/0.4349, allocations: 4.044 MB / 0.5844 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004022/0.4389, allocations: 2.42 MB / 0.5868 GB, free: 9.184 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003187/0.4421, allocations: 1.468 MB / 0.5882 GB, free: 7.711 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003843/0.446, allocations: 2.098 MB / 0.5903 GB, free: 5.605 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008412/0.4468, allocations: 308 kB / 0.5906 GB, free: 5.305 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002337/0.4492, allocations: 0.9127 MB / 0.5915 GB, free: 4.391 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002264/0.4514, allocations: 1.893 MB / 0.5933 GB, free: 2.492 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002481/0.4539, allocations: 1.607 MB / 0.5949 GB, free: 0.875 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01027/0.4642, allocations: 7.36 MB / 0.6021 GB, free: 9.484 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.4642, allocations: 3.938 kB / 0.6021 GB, free: 9.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.4642, allocations: 4 kB / 0.6021 GB, free: 9.477 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002412/0.4644, allocations: 4 kB / 0.6021 GB, free: 9.473 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: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.01144/0.4759, allocations: 4.937 MB / 0.6069 GB, free: 4.477 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.651e-05/0.4759, allocations: 12.03 kB / 0.6069 GB, free: 4.465 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001349/0.4773, allocations: 0.8157 MB / 0.6077 GB, free: 3.641 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01105/0.4883, allocations: 3.172 MB / 0.6108 GB, free: 472 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005629/0.4939, allocations: 2.363 MB / 0.6131 GB, free: 14.06 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002089/0.4942, allocations: 238.2 kB / 0.6133 GB, free: 13.83 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006949/0.4949, allocations: 311.7 kB / 0.6136 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.022/0.5169, allocations: 12.08 MB / 0.6254 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001158/0.517, allocations: 43.64 kB / 0.6255 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004628/0.5174, allocations: 151.8 kB / 0.6256 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005422/0.5229, allocations: 2.831 MB / 0.6284 GB, free: 13.88 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02391/0.5468, allocations: 11.32 MB / 0.6394 GB, free: 2.535 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06665/0.6134, allocations: 39.06 MB / 0.6776 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01195/0.6254, allocations: 4.907 MB / 0.6824 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004328/0.6297, allocations: 2.763 MB / 0.6851 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001223/0.6309, allocations: 0.5517 MB / 0.6856 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.611e-05/0.631, allocations: 60.5 kB / 0.6857 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=262): time 5.872e-06/0.631, allocations: 0 / 0.6857 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=283): time 0.05368/0.6847, allocations: 20.04 MB / 0.7052 GB, free: 14.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.6848, allocations: 73.41 kB / 0.7053 GB, free: 13.94 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005551/0.6903, allocations: 3.218 MB / 0.7084 GB, free: 10.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000705/0.691, allocations: 61.7 kB / 0.7085 GB, free: 10.64 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002833/0.6939, allocations: 3.116 MB / 0.7115 GB, free: 7.492 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001741/0.6956, allocations: 1.07 MB / 0.7126 GB, free: 6.414 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001952/0.6976, allocations: 1.195 MB / 0.7138 GB, free: 5.207 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.6977, allocations: 309.1 kB / 0.714 GB, free: 4.902 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004499/0.7022, allocations: 2.846 MB / 0.7168 GB, free: 2.051 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007563/0.7098, allocations: 6.018 MB / 0.7227 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3271/1.037, allocations: 9.659 MB / 0.7321 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000203/1.037, allocations: 31.56 kB / 0.7322 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.0184/1.055, allocations: 10.03 MB / 0.742 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.971e-05/1.056, allocations: 53.34 kB / 0.742 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001155/1.056, allocations: 110 kB / 0.7421 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003271/1.059, allocations: 1.363 MB / 0.7434 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004316/1.063, allocations: 1.368 MB / 0.7448 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008053/1.071, allocations: 7.633 MB / 0.7522 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004184/1.075, allocations: 362.9 kB / 0.7526 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006719/1.076, allocations: 342.9 kB / 0.7529 GB, free: 142.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 501 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],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],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.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 (718): * Single equations (assignments): 711 * 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 {(3,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003139/1.079, allocations: 2.298 MB / 0.7552 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006181/1.08, allocations: 323.5 kB / 0.7555 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009084/1.089, allocations: 6.609 MB / 0.7619 GB, free: 134.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.666e-05/1.089, allocations: 51.98 kB / 0.762 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/1.089, allocations: 4 kB / 0.762 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.368e-05/1.089, allocations: 11.95 kB / 0.762 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01917/1.108, allocations: 13.34 MB / 0.775 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/1.108, allocations: 8 kB / 0.775 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001926/1.11, allocations: 451.3 kB / 0.7755 GB, free: 120.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003069/1.113, allocations: 1.212 MB / 0.7766 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003988/1.114, allocations: 59.86 kB / 0.7767 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007151/1.121, allocations: 6.841 MB / 0.7834 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/1.121, allocations: 11.94 kB / 0.7834 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0207/1.142, allocations: 9.873 MB / 0.793 GB, free: 102.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009947/1.143, allocations: 289.7 kB / 0.7933 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008724/1.143, allocations: 59.94 kB / 0.7934 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00267/1.146, allocations: 191.7 kB / 0.7935 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006456/1.147, allocations: 169.5 kB / 0.7937 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002918/1.147, allocations: 75.81 kB / 0.7938 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003612/1.151, allocations: 1.874 MB / 0.7956 GB, free: 99.78 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.31e-07/1.151, allocations: 1.406 kB / 0.7956 GB, free: 99.78 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0101/1.161, allocations: 1.11 MB / 0.7967 GB, free: 98.68 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (218): * Single equations (assignments): 211 * 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 {(4,16,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01976/1.18, allocations: 10.53 MB / 0.807 GB, free: 87.99 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01307/1.194, allocations: 6.679 MB / 0.8135 GB, free: 81.31 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-05/1.194, allocations: 0 / 0.8135 GB, free: 81.31 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005396/1.199, allocations: 2.653 MB / 0.8161 GB, free: 78.64 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003081/1.202, allocations: 429.9 kB / 0.8165 GB, free: 78.23 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06189/1.264, allocations: 49.08 MB / 0.8644 GB, free: 24.18 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003481/1.267, allocations: 3.046 MB / 0.8674 GB, free: 21.09 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004291/1.272, allocations: 2.196 MB / 0.8695 GB, free: 18.89 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002563/1.274, allocations: 2.069 MB / 0.8716 GB, free: 16.82 MB / 0.5606 GB Notification: Performance of SimCode: time 8.52e-07/1.274, allocations: 0 / 0.8716 GB, free: 16.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1681/1.442, allocations: 70.76 MB / 0.9407 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.19/17.64, allocations: 7.609 kB / 0.9407 GB, free: 10.58 MB / 0.6231 GB " [Timeout remaining time 642] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal_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_Universal.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.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: 20.789607480634004]