Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.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.0011/0.0011, allocations: 84.34 kB / 20.67 MB, free: 3.883 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.001247/0.001247, allocations: 156.9 kB / 23.95 MB, free: 0.6055 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.9804/0.9804, allocations: 177 MB / 204.1 MB, free: 5.75 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.2945/0.2945, allocations: 34.23 MB / 294.8 MB, free: 0.6914 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.JointUPS2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 442.2 MB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.777e-05, allocations: 4.531 kB / 442.2 MB, free: 1.566 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.204/0.204, allocations: 10.46 MB / 452.6 MB, free: 38.47 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00646/0.2105, allocations: 4.189 MB / 456.8 MB, free: 35.85 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001682/0.2122, allocations: 87.94 kB / 456.9 MB, free: 35.82 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002935/0.2151, allocations: 2.818 MB / 459.7 MB, free: 34.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005469/0.2206, allocations: 2.136 MB / 461.9 MB, free: 33.61 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001868/0.2224, allocations: 1.111 MB / 463 MB, free: 33.15 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005319/0.2277, allocations: 6.09 MB / 469.1 MB, free: 30.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003197/0.2309, allocations: 3.393 MB / 472.4 MB, free: 29.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003167/0.2341, allocations: 2.693 MB / 475.1 MB, free: 28.31 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002373/0.2365, allocations: 2.742 MB / 477.9 MB, free: 27.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005899/0.2371, allocations: 377.8 kB / 478.2 MB, free: 27.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00167/0.2387, allocations: 1.364 MB / 479.6 MB, free: 27.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001956/0.2407, allocations: 2.34 MB / 482 MB, free: 26.37 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002681/0.2434, allocations: 1.505 MB / 483.5 MB, free: 25.63 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01195/0.2553, allocations: 8.338 MB / 491.8 MB, free: 22.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.2553, allocations: 4 kB / 491.8 MB, free: 22.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.634e-06/0.2553, allocations: 0 / 491.8 MB, free: 22.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003444/0.2557, allocations: 0 / 491.8 MB, free: 22.77 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01768/0.2734, allocations: 6.016 MB / 497.8 MB, free: 19.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/0.2734, allocations: 13.52 kB / 497.8 MB, free: 19.2 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001955/0.2754, allocations: 0.7885 MB / 498.6 MB, free: 18.65 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04075/0.3161, allocations: 7.521 MB / 0.4943 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008523/0.3246, allocations: 3.224 MB / 0.4974 GB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002083/0.3249, allocations: 258.8 kB / 0.4977 GB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001969/0.3268, allocations: 348.3 kB / 0.498 GB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01775/0.3446, allocations: 12.41 MB / 0.5101 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001557/0.3447, allocations: 55.53 kB / 0.5102 GB, free: 15.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004093/0.3451, allocations: 163.8 kB / 0.5103 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002771/0.3479, allocations: 2.381 MB / 0.5127 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01869/0.3666, allocations: 10.7 MB / 0.5231 GB, free: 2.344 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05507/0.4217, allocations: 46.68 MB / 0.5687 GB, free: 2.426 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009662/0.4313, allocations: 5.364 MB / 0.5739 GB, free: 13.03 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00401/0.4353, allocations: 2.834 MB / 0.5767 GB, free: 10.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01613/0.4515, allocations: 11.57 MB / 0.588 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/0.4515, allocations: 55.81 kB / 0.588 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=193): time 5.49e-06/0.4515, allocations: 0 / 0.588 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=254): time 0.08045/0.532, allocations: 39.79 MB / 0.6269 GB, free: 6.664 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.5321, allocations: 209.9 kB / 0.6271 GB, free: 6.418 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006898/0.539, allocations: 4.952 MB / 0.6319 GB, free: 1.441 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008208/0.5398, allocations: 61.7 kB / 0.632 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.2365/0.7763, allocations: 3.523 MB / 0.6354 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001553/0.7778, allocations: 0.9802 MB / 0.6364 GB, free: 155.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001866/0.7797, allocations: 1.358 MB / 0.6377 GB, free: 155.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 3.255e-05/0.7797, allocations: 303.8 kB / 0.638 GB, free: 154.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003147/0.7829, allocations: 3.13 MB / 0.6411 GB, free: 153.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004437/0.7873, allocations: 7.1 MB / 0.648 GB, free: 147.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009526/0.7968, allocations: 10.97 MB / 0.6587 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001203/0.7969, allocations: 39.97 kB / 0.6588 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.01783/0.8148, allocations: 12.66 MB / 0.6711 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001158/0.8149, allocations: 65.38 kB / 0.6712 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002308/0.8151, allocations: 139.9 kB / 0.6713 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006411/0.8215, allocations: 3.243 MB / 0.6745 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005153/0.8267, allocations: 1.546 MB / 0.676 GB, free: 134 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01752/0.8442, allocations: 16.37 MB / 0.692 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005649/0.8499, allocations: 0.5062 MB / 0.6925 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001573/0.8514, allocations: 408.6 kB / 0.6929 GB, free: 126.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (808): * Single equations (assignments): 804 * 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 {(8,47,54.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004403/0.8558, allocations: 2.341 MB / 0.6952 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009124/0.8567, allocations: 429.8 kB / 0.6956 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008405/0.8651, allocations: 7.488 MB / 0.7029 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.403e-05/0.8652, allocations: 24 kB / 0.7029 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/0.8652, allocations: 12 kB / 0.7029 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.567e-05/0.8652, allocations: 18.95 kB / 0.7029 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02232/0.8875, allocations: 14.48 MB / 0.7171 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.937e-05/0.8876, allocations: 0 / 0.7171 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001355/0.8889, allocations: 387.4 kB / 0.7174 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004622/0.8935, allocations: 2.926 MB / 0.7203 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004755/0.894, allocations: 40 kB / 0.7203 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01197/0.906, allocations: 14.64 MB / 0.7346 GB, free: 89.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.906, allocations: 0 / 0.7346 GB, free: 89.29 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01226/0.9183, allocations: 11.48 MB / 0.7458 GB, free: 77.74 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001392/0.9197, allocations: 449 kB / 0.7463 GB, free: 77.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007971/0.9204, allocations: 47.91 kB / 0.7463 GB, free: 77.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001574/0.922, allocations: 255.6 kB / 0.7466 GB, free: 77.01 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004233/0.9224, allocations: 153.7 kB / 0.7467 GB, free: 76.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001315/0.9226, allocations: 64 kB / 0.7468 GB, free: 76.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003906/0.9265, allocations: 3.012 MB / 0.7497 GB, free: 73.78 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3e-08/0.9265, allocations: 0 / 0.7497 GB, free: 73.78 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006393/0.9329, allocations: 1.461 MB / 0.7511 GB, free: 72.32 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (189): * Single equations (assignments): 185 * 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 {(6,40,61.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01234/0.9452, allocations: 12.14 MB / 0.763 GB, free: 60.11 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009085/0.9543, allocations: 7.545 MB / 0.7703 GB, free: 52.57 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.9543, allocations: 0 / 0.7703 GB, free: 52.57 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002995/0.9573, allocations: 2.879 MB / 0.7732 GB, free: 49.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002524/0.9598, allocations: 0.5113 MB / 0.7737 GB, free: 49.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08123/1.041, allocations: 61.73 MB / 0.8339 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003872/1.045, allocations: 3.139 MB / 0.837 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.2054/1.25, allocations: 2.182 MB / 0.8391 GB, free: 177 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003927/1.254, allocations: 2.229 MB / 0.8413 GB, free: 177 MB / 0.5573 GB Notification: Performance of SimCode: time 1.212e-06/1.254, allocations: 2 kB / 0.8413 GB, free: 177 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.109/1.363, allocations: 98.74 MB / 0.9377 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/12.8, allocations: 7.031 kB / 0.9378 GB, free: 119.9 MB / 0.5573 GB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.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: 15.18337076716125]