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.001917/0.001917, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002458/0.002458, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.63/1.63, allocations: 230.5 MB / 257.4 MB, free: 7.738 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.95 MB / 360.8 MB, free: 3.891 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.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 0.00289/0.00289, allocations: 79.88 kB / 0.4962 GB, free: 7.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.408/0.4109, allocations: 66.08 MB / 0.5607 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01378/0.4247, allocations: 10.45 MB / 0.5709 GB, free: 9.465 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009177/0.4339, allocations: 4.182 MB / 0.575 GB, free: 5.277 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001991/0.4359, allocations: 87.56 kB / 0.5751 GB, free: 5.191 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006013/0.4419, allocations: 2.694 MB / 0.5777 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006018/0.4479, allocations: 2.07 MB / 0.5797 GB, free: 424 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00297/0.4509, allocations: 1.01 MB / 0.5807 GB, free: 15.4 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009834/0.4607, allocations: 5.365 MB / 0.5859 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004689/0.4654, allocations: 2.884 MB / 0.5888 GB, free: 7.086 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00362/0.469, allocations: 1.776 MB / 0.5905 GB, free: 5.305 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00452/0.4735, allocations: 2.511 MB / 0.5929 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001154/0.4747, allocations: 368 kB / 0.5933 GB, free: 2.426 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003047/0.4777, allocations: 1.303 MB / 0.5946 GB, free: 1.121 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00284/0.4806, allocations: 2.244 MB / 0.5968 GB, free: 14.87 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003563/0.4841, allocations: 1.907 MB / 0.5986 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01332/0.4975, allocations: 8.257 MB / 0.6067 GB, free: 4.664 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.4975, allocations: 0 / 0.6067 GB, free: 4.664 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4975, allocations: 0 / 0.6067 GB, free: 4.664 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000296/0.4978, allocations: 0 / 0.6067 GB, free: 4.664 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01902/0.5168, allocations: 5.947 MB / 0.6125 GB, free: 14.66 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.118e-05/0.5169, allocations: 8.031 kB / 0.6125 GB, free: 14.65 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002519/0.5194, allocations: 0.8023 MB / 0.6133 GB, free: 13.83 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08834/0.6077, allocations: 7.238 MB / 0.6204 GB, free: 6.582 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01014/0.6179, allocations: 3.549 MB / 0.6238 GB, free: 2.98 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000286/0.6181, allocations: 258.8 kB / 0.6241 GB, free: 2.727 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001447/0.6196, allocations: 347.7 kB / 0.6244 GB, free: 2.387 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02332/0.6429, allocations: 12.39 MB / 0.6365 GB, free: 5.16 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001507/0.6431, allocations: 51.56 kB / 0.6365 GB, free: 5.109 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004662/0.6435, allocations: 163.8 kB / 0.6367 GB, free: 4.949 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004137/0.6477, allocations: 2.377 MB / 0.639 GB, free: 2.57 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02346/0.6711, allocations: 10.68 MB / 0.6494 GB, free: 7.879 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07292/0.744, allocations: 46.33 MB / 0.6947 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01532/0.7594, allocations: 5.186 MB / 0.6998 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004133/0.7635, allocations: 2.842 MB / 0.7025 GB, free: 184 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02045/0.7839, allocations: 11.29 MB / 0.7136 GB, free: 4.855 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.526e-05/0.784, allocations: 59.86 kB / 0.7136 GB, free: 4.789 MB / 0.545 GB Notification: Performance of pre-optimization done (n=193): time 5.23e-06/0.784, allocations: 0 / 0.7136 GB, free: 4.789 MB / 0.545 GB Notification: Performance of matching and sorting (n=254): time 0.3936/1.178, allocations: 38.58 MB / 0.7513 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.603e-05/1.178, allocations: 215.6 kB / 0.7515 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005949/1.184, allocations: 4.626 MB / 0.756 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007873/1.184, allocations: 64.67 kB / 0.7561 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001589/1.186, allocations: 3.554 MB / 0.7595 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008439/1.187, allocations: 0.9937 MB / 0.7605 GB, free: 144.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001483/1.188, allocations: 1.377 MB / 0.7619 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.177e-05/1.188, allocations: 305.1 kB / 0.7621 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003346/1.192, allocations: 3.117 MB / 0.7652 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00448/1.196, allocations: 7.088 MB / 0.7721 GB, free: 130.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009451/1.206, allocations: 10.95 MB / 0.7828 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001054/1.206, allocations: 44 kB / 0.7828 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02287/1.229, allocations: 12.66 MB / 0.7952 GB, free: 105 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.637e-05/1.229, allocations: 64 kB / 0.7953 GB, free: 104.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001378/1.229, allocations: 136.1 kB / 0.7954 GB, free: 104.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008261/1.237, allocations: 3.243 MB / 0.7986 GB, free: 101.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004885/1.242, allocations: 1.534 MB / 0.8001 GB, free: 100 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0191/1.261, allocations: 16.33 MB / 0.816 GB, free: 83.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005676/1.267, allocations: 439.4 kB / 0.8164 GB, free: 83.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001053/1.268, allocations: 403.9 kB / 0.8168 GB, free: 82.75 MB / 0.5606 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.003607/1.271, allocations: 2.337 MB / 0.8191 GB, free: 80.39 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000865/1.272, allocations: 425.2 kB / 0.8195 GB, free: 79.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/1.285, allocations: 7.487 MB / 0.8268 GB, free: 72.47 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.093e-05/1.285, allocations: 28 kB / 0.8268 GB, free: 72.44 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-05/1.285, allocations: 8 kB / 0.8268 GB, free: 72.43 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.251e-05/1.285, allocations: 16.83 kB / 0.8269 GB, free: 72.42 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0248/1.31, allocations: 14.37 MB / 0.8409 GB, free: 58.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.912e-05/1.31, allocations: 6.688 kB / 0.8409 GB, free: 58.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001977/1.312, allocations: 375.5 kB / 0.8413 GB, free: 57.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007705/1.32, allocations: 2.927 MB / 0.8441 GB, free: 54.72 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004685/1.32, allocations: 39.94 kB / 0.8441 GB, free: 54.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01698/1.337, allocations: 14.55 MB / 0.8584 GB, free: 40.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.337, allocations: 0 / 0.8584 GB, free: 40.01 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01745/1.354, allocations: 11.49 MB / 0.8696 GB, free: 28.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00142/1.356, allocations: 385 kB / 0.8699 GB, free: 28.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001033/1.357, allocations: 40 kB / 0.87 GB, free: 28.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002241/1.359, allocations: 187.7 kB / 0.8702 GB, free: 27.85 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005439/1.36, allocations: 161.6 kB / 0.8703 GB, free: 27.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001847/1.36, allocations: 67.92 kB / 0.8704 GB, free: 27.62 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003578/1.363, allocations: 2.742 MB / 0.8731 GB, free: 24.88 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.91e-07/1.363, allocations: 0 / 0.8731 GB, free: 24.88 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006428/1.37, allocations: 1.296 MB / 0.8743 GB, free: 23.58 MB / 0.5606 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.01741/1.387, allocations: 12.15 MB / 0.8862 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0112/1.399, allocations: 7.525 MB / 0.8935 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/1.399, allocations: 4 kB / 0.8935 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004392/1.403, allocations: 2.887 MB / 0.8964 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003335/1.406, allocations: 0.502 MB / 0.8968 GB, free: 460 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1192/1.525, allocations: 60.74 MB / 0.9562 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005625/1.531, allocations: 3.138 MB / 0.9592 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005949/1.537, allocations: 2.172 MB / 0.9614 GB, free: 8.078 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004268/1.541, allocations: 2.221 MB / 0.9635 GB, free: 5.855 MB / 0.6387 GB Notification: Performance of SimCode: time 8.72e-07/1.541, allocations: 0 / 0.9635 GB, free: 5.855 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.461/2.002, allocations: 96.21 MB / 1.057 GB, free: 174.5 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.58/19.58, allocations: 7.219 kB / 1.057 GB, free: 174.5 MB / 0.6544 GB " [Timeout remaining time 640] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/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: 23.0302369967103]