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.001389/0.001389, 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.001533/0.001533, allocations: 214.9 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.474/1.474, 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.239/0.239, allocations: 46.94 MB / 360.8 MB, free: 3.945 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.002399/0.002399, allocations: 79.88 kB / 0.4962 GB, free: 7.555 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3653, allocations: 66.08 MB / 0.5607 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.0145/0.3798, allocations: 10.45 MB / 0.5709 GB, free: 9.531 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009768/0.3896, allocations: 4.182 MB / 0.575 GB, free: 5.34 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001896/0.3915, allocations: 87.56 kB / 0.5751 GB, free: 5.254 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005857/0.3973, allocations: 2.69 MB / 0.5777 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00633/0.4036, allocations: 2.07 MB / 0.5797 GB, free: 488 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00258/0.4062, allocations: 1.006 MB / 0.5807 GB, free: 15.47 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008607/0.4148, allocations: 5.373 MB / 0.5859 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004237/0.4191, allocations: 2.869 MB / 0.5887 GB, free: 7.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003405/0.4225, allocations: 1.775 MB / 0.5905 GB, free: 5.379 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004733/0.4272, allocations: 2.511 MB / 0.5929 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009708/0.4282, allocations: 368 kB / 0.5933 GB, free: 2.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002721/0.4309, allocations: 1.303 MB / 0.5946 GB, free: 1.195 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002372/0.4333, allocations: 2.244 MB / 0.5967 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002508/0.4358, allocations: 1.907 MB / 0.5986 GB, free: 13.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009932/0.4457, allocations: 8.257 MB / 0.6067 GB, free: 4.738 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/0.4457, allocations: 4 kB / 0.6067 GB, free: 4.734 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4457, allocations: 0 / 0.6067 GB, free: 4.734 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002231/0.4459, allocations: 0 / 0.6067 GB, free: 4.734 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.01559/0.4615, allocations: 5.943 MB / 0.6125 GB, free: 14.73 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.4616, allocations: 15.97 kB / 0.6125 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001451/0.463, allocations: 0.7946 MB / 0.6133 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08937/0.5524, allocations: 7.242 MB / 0.6203 GB, free: 6.652 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01036/0.5628, allocations: 3.545 MB / 0.6238 GB, free: 3.055 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003062/0.5631, allocations: 262.8 kB / 0.6241 GB, free: 2.797 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001503/0.5646, allocations: 351.7 kB / 0.6244 GB, free: 2.453 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.024/0.5886, allocations: 12.38 MB / 0.6365 GB, free: 5.234 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001547/0.5887, allocations: 59.56 kB / 0.6365 GB, free: 5.176 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004743/0.5892, allocations: 159.8 kB / 0.6367 GB, free: 5.02 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004187/0.5934, allocations: 2.381 MB / 0.639 GB, free: 2.637 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02272/0.6161, allocations: 10.68 MB / 0.6494 GB, free: 7.941 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06944/0.6856, allocations: 46.33 MB / 0.6947 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01583/0.7014, allocations: 5.169 MB / 0.6997 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004235/0.7056, allocations: 2.838 MB / 0.7025 GB, free: 264 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02231/0.7279, allocations: 11.3 MB / 0.7135 GB, free: 4.922 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.959e-05/0.728, allocations: 55.88 kB / 0.7136 GB, free: 4.859 MB / 0.545 GB Notification: Performance of pre-optimization done (n=193): time 5.07e-06/0.728, allocations: 3.938 kB / 0.7136 GB, free: 4.855 MB / 0.545 GB Notification: Performance of matching and sorting (n=254): time 0.4037/1.132, allocations: 38.58 MB / 0.7513 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.199e-05/1.132, allocations: 216.7 kB / 0.7515 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005696/1.137, allocations: 4.623 MB / 0.756 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007201/1.138, allocations: 65.53 kB / 0.7561 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001993/1.14, allocations: 3.557 MB / 0.7595 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001183/1.141, allocations: 0.993 MB / 0.7605 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001668/1.143, allocations: 1.377 MB / 0.7618 GB, free: 143 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.899e-05/1.143, allocations: 305.1 kB / 0.7621 GB, free: 142.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003547/1.147, allocations: 3.113 MB / 0.7652 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005119/1.152, allocations: 7.094 MB / 0.7721 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0101/1.162, allocations: 10.95 MB / 0.7828 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001409/1.162, allocations: 40 kB / 0.7828 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02342/1.185, allocations: 12.65 MB / 0.7952 GB, free: 105.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002345/1.186, allocations: 70.56 kB / 0.7953 GB, free: 105 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003197/1.186, allocations: 140 kB / 0.7954 GB, free: 104.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008795/1.195, allocations: 3.235 MB / 0.7986 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005346/1.2, allocations: 1.536 MB / 0.8001 GB, free: 100.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0209/1.221, allocations: 16.32 MB / 0.816 GB, free: 83.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005863/1.227, allocations: 435.4 kB / 0.8164 GB, free: 83.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001477/1.228, allocations: 407.9 kB / 0.8168 GB, free: 82.86 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.004598/1.233, allocations: 2.34 MB / 0.8191 GB, free: 80.51 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001145/1.234, allocations: 425.2 kB / 0.8195 GB, free: 80.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01344/1.248, allocations: 7.487 MB / 0.8268 GB, free: 72.58 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.753e-05/1.248, allocations: 31.36 kB / 0.8268 GB, free: 72.55 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-05/1.248, allocations: 8 kB / 0.8268 GB, free: 72.55 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-05/1.248, allocations: 15.95 kB / 0.8269 GB, free: 72.53 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0241/1.272, allocations: 14.37 MB / 0.8409 GB, free: 58.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.842e-05/1.272, allocations: 0 / 0.8409 GB, free: 58.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002057/1.274, allocations: 383.4 kB / 0.8412 GB, free: 57.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007634/1.281, allocations: 2.93 MB / 0.8441 GB, free: 54.84 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004049/1.282, allocations: 39.94 kB / 0.8441 GB, free: 54.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0175/1.299, allocations: 14.55 MB / 0.8584 GB, free: 40.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/1.299, allocations: 0 / 0.8584 GB, free: 40.12 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01844/1.318, allocations: 11.48 MB / 0.8696 GB, free: 28.57 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001292/1.319, allocations: 385 kB / 0.8699 GB, free: 28.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00128/1.32, allocations: 44 kB / 0.87 GB, free: 28.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002786/1.323, allocations: 187.7 kB / 0.8702 GB, free: 27.96 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007284/1.324, allocations: 161.6 kB / 0.8703 GB, free: 27.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003362/1.324, allocations: 59.98 kB / 0.8704 GB, free: 27.74 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004532/1.329, allocations: 2.742 MB / 0.873 GB, free: 25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.5e-07/1.329, allocations: 0 / 0.873 GB, free: 25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006638/1.335, allocations: 1.302 MB / 0.8743 GB, free: 23.7 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.01898/1.354, allocations: 12.14 MB / 0.8862 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01178/1.366, allocations: 7.53 MB / 0.8935 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/1.366, allocations: 0 / 0.8935 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00475/1.371, allocations: 2.887 MB / 0.8963 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004477/1.375, allocations: 0.5061 MB / 0.8968 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1262/1.502, allocations: 60.75 MB / 0.9562 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00963/1.511, allocations: 3.139 MB / 0.9592 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.006505/1.518, allocations: 2.169 MB / 0.9613 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004741/1.522, allocations: 2.218 MB / 0.9635 GB, free: 5.98 MB / 0.6387 GB Notification: Performance of SimCode: time 1.263e-06/1.522, allocations: 0 / 0.9635 GB, free: 5.98 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4466/1.969, allocations: 96.23 MB / 1.057 GB, free: 174.4 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.26/19.22, allocations: 3.281 kB / 1.057 GB, free: 174.4 MB / 0.6544 GB " [Timeout remaining time 641] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 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.mat","/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: 22.9196252329275]