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.001728/0.001728, allocations: 104.2 kB / 20.48 MB, free: 1.125 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.00203/0.00203, allocations: 213.8 kB / 23.77 MB, free: 4.332 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.462/1.462, allocations: 230.5 MB / 257.4 MB, free: 7.727 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.2397/0.2397, allocations: 46.94 MB / 360.8 MB, free: 3.91 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.00229/0.00229, allocations: 84.14 kB / 0.4962 GB, free: 7.508 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3497, allocations: 66.08 MB / 0.5608 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01553/0.3652, allocations: 11.72 MB / 0.5722 GB, free: 8.391 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01076/0.376, allocations: 4.032 MB / 0.5761 GB, free: 4.348 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00237/0.3783, allocations: 75.75 kB / 0.5762 GB, free: 4.273 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0044/0.3827, allocations: 1.923 MB / 0.5781 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005349/0.3881, allocations: 1.957 MB / 0.58 GB, free: 392 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001648/0.3897, allocations: 0.5537 MB / 0.5805 GB, free: 15.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005848/0.3956, allocations: 4.045 MB / 0.5845 GB, free: 11.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003999/0.3996, allocations: 2.412 MB / 0.5868 GB, free: 9.305 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003049/0.4026, allocations: 1.472 MB / 0.5883 GB, free: 7.828 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003745/0.4064, allocations: 2.094 MB / 0.5903 GB, free: 5.727 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001122/0.4075, allocations: 312 kB / 0.5906 GB, free: 5.422 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002446/0.4099, allocations: 0.901 MB / 0.5915 GB, free: 4.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002572/0.4125, allocations: 1.901 MB / 0.5934 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003186/0.4157, allocations: 1.607 MB / 0.5949 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01007/0.4258, allocations: 7.364 MB / 0.6021 GB, free: 9.602 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4258, allocations: 0 / 0.6021 GB, free: 9.602 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4258, allocations: 0 / 0.6021 GB, free: 9.602 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002779/0.426, allocations: 0 / 0.6021 GB, free: 9.602 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.01321/0.4393, allocations: 4.945 MB / 0.6069 GB, free: 4.598 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.4393, allocations: 8.031 kB / 0.607 GB, free: 4.59 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002115/0.4414, allocations: 0.8157 MB / 0.6078 GB, free: 3.766 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01181/0.4532, allocations: 3.27 MB / 0.6109 GB, free: 500 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00582/0.459, allocations: 2.363 MB / 0.6133 GB, free: 14.09 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000289/0.4593, allocations: 234.2 kB / 0.6135 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001392/0.4607, allocations: 311.7 kB / 0.6138 GB, free: 13.55 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02304/0.4838, allocations: 12.11 MB / 0.6256 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001539/0.4839, allocations: 39.7 kB / 0.6256 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001044/0.485, allocations: 143.8 kB / 0.6258 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005228/0.4902, allocations: 2.835 MB / 0.6285 GB, free: 13.89 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02473/0.5149, allocations: 11.34 MB / 0.6396 GB, free: 2.523 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06514/0.5801, allocations: 39.23 MB / 0.6779 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01149/0.5915, allocations: 5.034 MB / 0.6828 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004258/0.5958, allocations: 2.763 MB / 0.6855 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001327/0.5971, allocations: 0.5556 MB / 0.6861 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.306e-05/0.5972, allocations: 56.55 kB / 0.6861 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=262): time 6.663e-06/0.5972, allocations: 0 / 0.6861 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of matching and sorting (n=283): time 0.05436/0.6516, allocations: 20.43 MB / 0.7061 GB, free: 13.31 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.804e-05/0.6516, allocations: 85.33 kB / 0.7062 GB, free: 13.22 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0058/0.6574, allocations: 3.206 MB / 0.7093 GB, free: 9.992 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006122/0.658, allocations: 65.7 kB / 0.7094 GB, free: 9.922 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002575/0.6606, allocations: 3.112 MB / 0.7124 GB, free: 6.785 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001591/0.6622, allocations: 1.066 MB / 0.7135 GB, free: 5.711 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002899/0.6651, allocations: 1.199 MB / 0.7146 GB, free: 4.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.6652, allocations: 305.1 kB / 0.7149 GB, free: 4.199 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006222/0.6715, allocations: 2.854 MB / 0.7177 GB, free: 1.34 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01313/0.6846, allocations: 6.029 MB / 0.7236 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2872/0.9718, allocations: 9.665 MB / 0.733 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001611/0.972, allocations: 35.5 kB / 0.7331 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.01653/0.9885, allocations: 10.05 MB / 0.7429 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.583e-05/0.9886, allocations: 51.12 kB / 0.7429 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001025/0.9887, allocations: 110.6 kB / 0.743 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003128/0.9918, allocations: 1.364 MB / 0.7444 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00438/0.9962, allocations: 1.372 MB / 0.7457 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008468/1.005, allocations: 7.631 MB / 0.7532 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004796/1.009, allocations: 389.9 kB / 0.7535 GB, free: 142 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007352/1.01, allocations: 339.6 kB / 0.7539 GB, free: 141.7 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.003301/1.013, allocations: 2.302 MB / 0.7561 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005454/1.014, allocations: 324.8 kB / 0.7564 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008955/1.023, allocations: 6.606 MB / 0.7629 GB, free: 133.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.622e-05/1.023, allocations: 59.75 kB / 0.7629 GB, free: 133.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/1.023, allocations: 4 kB / 0.7629 GB, free: 133.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-05/1.023, allocations: 11.95 kB / 0.7629 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01852/1.042, allocations: 13.38 MB / 0.776 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.401e-05/1.042, allocations: 4 kB / 0.776 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003215/1.045, allocations: 459.2 kB / 0.7764 GB, free: 119.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004938/1.05, allocations: 1.212 MB / 0.7776 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005888/1.05, allocations: 51.94 kB / 0.7777 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01174/1.062, allocations: 6.846 MB / 0.7844 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.548e-06/1.062, allocations: 11.94 kB / 0.7844 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01642/1.079, allocations: 9.871 MB / 0.794 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009126/1.079, allocations: 293.9 kB / 0.7943 GB, free: 101.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000868/1.08, allocations: 47.98 kB / 0.7943 GB, free: 101.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001967/1.082, allocations: 203.6 kB / 0.7945 GB, free: 101.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004629/1.083, allocations: 169.5 kB / 0.7947 GB, free: 101 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001727/1.083, allocations: 83.7 kB / 0.7948 GB, free: 100.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002301/1.085, allocations: 1.874 MB / 0.7966 GB, free: 99.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.085, allocations: 0 / 0.7966 GB, free: 99.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004466/1.09, allocations: 1.108 MB / 0.7977 GB, free: 97.97 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.01188/1.102, allocations: 10.53 MB / 0.808 GB, free: 87.28 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008532/1.11, allocations: 6.687 MB / 0.8145 GB, free: 80.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.351e-05/1.11, allocations: 0 / 0.8145 GB, free: 80.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00322/1.113, allocations: 2.653 MB / 0.8171 GB, free: 77.93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/1.115, allocations: 426.3 kB / 0.8175 GB, free: 77.53 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05767/1.173, allocations: 49.1 MB / 0.8654 GB, free: 23.45 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004727/1.178, allocations: 3.038 MB / 0.8684 GB, free: 20.37 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004491/1.182, allocations: 2.203 MB / 0.8706 GB, free: 18.16 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003104/1.185, allocations: 2.069 MB / 0.8726 GB, free: 16.09 MB / 0.5606 GB Notification: Performance of SimCode: time 1.503e-06/1.185, allocations: 0 / 0.8726 GB, free: 16.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1304/1.316, allocations: 70.76 MB / 0.9417 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.6/17.92, allocations: 4 kB / 0.9417 GB, free: 9.867 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: 21.093724609992933]