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.001737/0.001737, allocations: 110 kB / 20.43 MB, free: 1.453 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.002264/0.002264, allocations: 213.1 kB / 23.74 MB, free: 4.66 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.544/1.544, allocations: 230.5 MB / 257.4 MB, free: 7.992 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.2455/0.2455, allocations: 46.93 MB / 360.8 MB, free: 4.156 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.00321/0.00321, allocations: 79.88 kB / 0.4962 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3458, allocations: 66.08 MB / 0.5607 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01523/0.3611, allocations: 12.04 MB / 0.5725 GB, free: 8.168 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0123/0.3734, allocations: 4.42 MB / 0.5768 GB, free: 3.738 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002457/0.3758, allocations: 83.62 kB / 0.5769 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006181/0.382, allocations: 2.803 MB / 0.5796 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006315/0.3883, allocations: 2.073 MB / 0.5816 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002951/0.3913, allocations: 0.9983 MB / 0.5826 GB, free: 13.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01056/0.4018, allocations: 5.381 MB / 0.5879 GB, free: 8.371 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006356/0.4082, allocations: 2.88 MB / 0.5907 GB, free: 5.438 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004491/0.4127, allocations: 1.783 MB / 0.5924 GB, free: 3.648 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005465/0.4181, allocations: 2.644 MB / 0.595 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001609/0.4197, allocations: 368 kB / 0.5954 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003557/0.4233, allocations: 1.451 MB / 0.5968 GB, free: 15.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003062/0.4264, allocations: 2.247 MB / 0.599 GB, free: 12.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004431/0.4308, allocations: 2.552 MB / 0.6015 GB, free: 10.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01167/0.4425, allocations: 8.222 MB / 0.6095 GB, free: 2.109 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.4425, allocations: 0 / 0.6095 GB, free: 2.109 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4425, allocations: 0 / 0.6095 GB, free: 2.109 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002578/0.4427, allocations: 3.938 kB / 0.6095 GB, free: 2.105 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.01734/0.4601, allocations: 5.947 MB / 0.6153 GB, free: 12.09 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.4601, allocations: 8.031 kB / 0.6153 GB, free: 12.08 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001547/0.4617, allocations: 0.7985 MB / 0.6161 GB, free: 11.27 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08439/0.5461, allocations: 7.25 MB / 0.6232 GB, free: 4.012 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008703/0.5548, allocations: 3.533 MB / 0.6266 GB, free: 436 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002998/0.5551, allocations: 254.8 kB / 0.6269 GB, free: 180 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001881/0.5569, allocations: 359.8 kB / 0.6272 GB, free: 15.82 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02296/0.5799, allocations: 12.28 MB / 0.6392 GB, free: 2.73 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000144/0.58, allocations: 47.58 kB / 0.6393 GB, free: 2.684 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004443/0.5805, allocations: 167.8 kB / 0.6394 GB, free: 2.52 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003848/0.5843, allocations: 2.377 MB / 0.6417 GB, free: 144 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02382/0.6082, allocations: 10.69 MB / 0.6522 GB, free: 5.426 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06992/0.6781, allocations: 48.53 MB / 0.6996 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0155/0.6936, allocations: 5.186 MB / 0.7046 GB, free: 14.24 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004465/0.698, allocations: 2.849 MB / 0.7074 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0219/0.7199, allocations: 11.87 MB / 0.719 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.958e-05/0.72, allocations: 59.88 kB / 0.7191 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=193): time 4.939e-06/0.72, allocations: 0 / 0.7191 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=254): time 0.3705/1.091, allocations: 38.47 MB / 0.7566 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/1.091, allocations: 205.9 kB / 0.7568 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005383/1.096, allocations: 4.394 MB / 0.7611 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005263/1.097, allocations: 69.7 kB / 0.7612 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001539/1.098, allocations: 3.563 MB / 0.7647 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009483/1.099, allocations: 0.9864 MB / 0.7656 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001424/1.1, allocations: 1.381 MB / 0.767 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.025e-05/1.1, allocations: 305.1 kB / 0.7673 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003493/1.104, allocations: 3.117 MB / 0.7703 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00486/1.109, allocations: 7.051 MB / 0.7772 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009588/1.118, allocations: 10.96 MB / 0.7879 GB, free: 113 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.268e-05/1.119, allocations: 40 kB / 0.7879 GB, free: 113 MB / 0.5606 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02262/1.141, allocations: 12.65 MB / 0.8003 GB, free: 100.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.792e-05/1.141, allocations: 67.94 kB / 0.8004 GB, free: 100.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000122/1.141, allocations: 136 kB / 0.8005 GB, free: 100.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008012/1.149, allocations: 3.239 MB / 0.8036 GB, free: 96.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004956/1.154, allocations: 1.54 MB / 0.8051 GB, free: 95.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02028/1.175, allocations: 16.49 MB / 0.8213 GB, free: 78.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005259/1.18, allocations: 439.4 kB / 0.8217 GB, free: 78.28 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000992/1.181, allocations: 400 kB / 0.8221 GB, free: 77.89 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.003624/1.184, allocations: 2.346 MB / 0.8243 GB, free: 75.54 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008086/1.185, allocations: 429.1 kB / 0.8248 GB, free: 75.11 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01314/1.198, allocations: 7.483 MB / 0.8321 GB, free: 67.61 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.723e-05/1.198, allocations: 30.98 kB / 0.8321 GB, free: 67.58 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.957e-05/1.198, allocations: 12 kB / 0.8321 GB, free: 67.57 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.708e-05/1.198, allocations: 11.95 kB / 0.8321 GB, free: 67.56 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02462/1.223, allocations: 14.97 MB / 0.8467 GB, free: 52.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-05/1.223, allocations: 7.938 kB / 0.8467 GB, free: 52.56 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001837/1.225, allocations: 379.4 kB / 0.8471 GB, free: 52.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007849/1.233, allocations: 2.927 MB / 0.85 GB, free: 49.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004457/1.233, allocations: 40 kB / 0.85 GB, free: 49.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01771/1.251, allocations: 14.72 MB / 0.8644 GB, free: 34.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.251, allocations: 3.984 kB / 0.8644 GB, free: 34.37 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0174/1.268, allocations: 11.47 MB / 0.8756 GB, free: 22.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/1.27, allocations: 393 kB / 0.876 GB, free: 22.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001047/1.271, allocations: 40 kB / 0.876 GB, free: 22.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002501/1.273, allocations: 191.7 kB / 0.8762 GB, free: 22.21 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000619/1.274, allocations: 165.3 kB / 0.8763 GB, free: 22.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002505/1.274, allocations: 56 kB / 0.8764 GB, free: 21.99 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004943/1.279, allocations: 2.75 MB / 0.8791 GB, free: 19.24 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.61e-07/1.279, allocations: 0 / 0.8791 GB, free: 19.24 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007822/1.287, allocations: 1.289 MB / 0.8803 GB, free: 17.95 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.02085/1.308, allocations: 12.14 MB / 0.8922 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01383/1.321, allocations: 7.52 MB / 0.8995 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.321, allocations: 3.938 kB / 0.8995 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005986/1.327, allocations: 2.89 MB / 0.9024 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005665/1.333, allocations: 0.5151 MB / 0.9029 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1189/1.452, allocations: 60.76 MB / 0.9622 GB, free: 7.77 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006588/1.459, allocations: 3.666 MB / 0.9658 GB, free: 4.07 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005933/1.464, allocations: 2.169 MB / 0.9679 GB, free: 1.895 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004026/1.469, allocations: 2.22 MB / 0.9701 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of SimCode: time 9.52e-07/1.469, allocations: 0 / 0.9701 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4402/1.909, allocations: 100.9 MB / 1.069 GB, free: 162.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.12/32.03, allocations: 3.984 kB / 1.069 GB, free: 162.9 MB / 0.6544 GB " [Timeout remaining time 628] (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: 35.89777079410851]