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.001842/0.001842, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.002434/0.002434, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.421/1.421, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.2265/0.2265, allocations: 46.92 MB / 361.6 MB, free: 4.207 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 75.88 kB / 0.497 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3174, allocations: 66.08 MB / 0.5615 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01384/0.3312, allocations: 12.03 MB / 0.5733 GB, free: 8.238 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008543/0.3398, allocations: 4.435 MB / 0.5776 GB, free: 3.793 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.3409, allocations: 83.56 kB / 0.5777 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005024/0.3459, allocations: 2.799 MB / 0.5804 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00441/0.3503, allocations: 2.061 MB / 0.5824 GB, free: 14.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001924/0.3523, allocations: 1.006 MB / 0.5834 GB, free: 13.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007613/0.3599, allocations: 5.379 MB / 0.5886 GB, free: 8.438 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004162/0.364, allocations: 2.892 MB / 0.5915 GB, free: 5.492 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002971/0.367, allocations: 1.775 MB / 0.5932 GB, free: 3.711 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004282/0.3713, allocations: 2.644 MB / 0.5958 GB, free: 1.059 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009428/0.3722, allocations: 364 kB / 0.5961 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003182/0.3754, allocations: 1.451 MB / 0.5975 GB, free: 15.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002867/0.3783, allocations: 2.247 MB / 0.5997 GB, free: 13 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003426/0.3817, allocations: 2.555 MB / 0.6022 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01108/0.3928, allocations: 8.218 MB / 0.6103 GB, free: 2.176 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3928, allocations: 4 kB / 0.6103 GB, free: 2.172 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3928, allocations: 0 / 0.6103 GB, free: 2.172 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002219/0.393, allocations: 7.922 kB / 0.6103 GB, free: 2.164 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.01653/0.4095, allocations: 5.946 MB / 0.6161 GB, free: 12.15 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.4096, allocations: 12.03 kB / 0.6161 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001567/0.4097, allocations: 110.8 kB / 0.6162 GB, free: 12.03 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001789/0.4115, allocations: 0.7985 MB / 0.617 GB, free: 11.22 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08859/0.5001, allocations: 7.242 MB / 0.6241 GB, free: 3.969 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009879/0.51, allocations: 3.533 MB / 0.6275 GB, free: 392 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003292/0.5103, allocations: 259.4 kB / 0.6277 GB, free: 132 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001797/0.5121, allocations: 347.7 kB / 0.6281 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02513/0.5373, allocations: 12.29 MB / 0.6401 GB, free: 2.691 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002361/0.5375, allocations: 55.56 kB / 0.6401 GB, free: 2.637 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001081/0.5386, allocations: 159.8 kB / 0.6403 GB, free: 2.48 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004588/0.5432, allocations: 2.381 MB / 0.6426 GB, free: 100 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02288/0.566, allocations: 10.7 MB / 0.6531 GB, free: 5.379 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06667/0.6327, allocations: 48.53 MB / 0.7004 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01583/0.6485, allocations: 5.194 MB / 0.7055 GB, free: 14.19 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004427/0.653, allocations: 2.842 MB / 0.7083 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02148/0.6745, allocations: 11.86 MB / 0.7199 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.864e-05/0.6745, allocations: 63.81 kB / 0.7199 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=193): time 4.738e-06/0.6745, allocations: 0 / 0.7199 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=254): time 0.363/1.038, allocations: 38.48 MB / 0.7575 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/1.038, allocations: 209.9 kB / 0.7577 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004565/1.042, allocations: 4.387 MB / 0.762 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004542/1.043, allocations: 68.28 kB / 0.7621 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001369/1.044, allocations: 3.566 MB / 0.7655 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008268/1.045, allocations: 0.9931 MB / 0.7665 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001487/1.046, allocations: 1.374 MB / 0.7679 GB, free: 138.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.9e-05/1.046, allocations: 305.1 kB / 0.7682 GB, free: 138 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003426/1.05, allocations: 3.113 MB / 0.7712 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004623/1.054, allocations: 7.037 MB / 0.7781 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009365/1.064, allocations: 10.96 MB / 0.7888 GB, free: 113 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000102/1.064, allocations: 40 kB / 0.7888 GB, free: 113 MB / 0.5606 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02153/1.085, allocations: 12.64 MB / 0.8012 GB, free: 100.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.377e-05/1.085, allocations: 67.98 kB / 0.8012 GB, free: 100.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001058/1.086, allocations: 140 kB / 0.8014 GB, free: 100.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008387/1.094, allocations: 3.239 MB / 0.8045 GB, free: 96.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00477/1.099, allocations: 1.536 MB / 0.806 GB, free: 95.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01933/1.118, allocations: 16.51 MB / 0.8221 GB, free: 78.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00517/1.123, allocations: 427.4 kB / 0.8225 GB, free: 78.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008916/1.124, allocations: 411.6 kB / 0.8229 GB, free: 77.93 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.002968/1.127, allocations: 2.338 MB / 0.8252 GB, free: 75.58 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000713/1.128, allocations: 421.2 kB / 0.8256 GB, free: 75.17 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01292/1.141, allocations: 7.487 MB / 0.8329 GB, free: 67.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.662e-05/1.141, allocations: 34.47 kB / 0.833 GB, free: 67.63 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/1.141, allocations: 12 kB / 0.833 GB, free: 67.62 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.176e-05/1.141, allocations: 11.97 kB / 0.833 GB, free: 67.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02353/1.164, allocations: 14.96 MB / 0.8476 GB, free: 52.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.596e-05/1.164, allocations: 8.812 kB / 0.8476 GB, free: 52.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001977/1.166, allocations: 387.4 kB / 0.848 GB, free: 52.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007676/1.174, allocations: 2.915 MB / 0.8508 GB, free: 49.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004905/1.175, allocations: 47.98 kB / 0.8509 GB, free: 49.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01694/1.191, allocations: 14.72 MB / 0.8653 GB, free: 34.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.191, allocations: 0 / 0.8653 GB, free: 34.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01754/1.209, allocations: 11.48 MB / 0.8765 GB, free: 22.86 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001617/1.211, allocations: 389.5 kB / 0.8768 GB, free: 22.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001201/1.212, allocations: 36 kB / 0.8769 GB, free: 22.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002657/1.215, allocations: 199.1 kB / 0.8771 GB, free: 22.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007479/1.215, allocations: 153.6 kB / 0.8772 GB, free: 22.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002218/1.215, allocations: 64 kB / 0.8773 GB, free: 22.04 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003769/1.219, allocations: 2.746 MB / 0.8799 GB, free: 19.29 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.219, allocations: 4 kB / 0.88 GB, free: 19.29 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005718/1.225, allocations: 1.301 MB / 0.8812 GB, free: 17.98 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.0173/1.242, allocations: 12.12 MB / 0.8931 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01279/1.255, allocations: 7.522 MB / 0.9004 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/1.255, allocations: 7.938 kB / 0.9004 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005798/1.261, allocations: 2.893 MB / 0.9032 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003318/1.264, allocations: 0.5 MB / 0.9037 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1137/1.378, allocations: 60.77 MB / 0.9631 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004688/1.383, allocations: 3.658 MB / 0.9666 GB, free: 4.129 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005257/1.388, allocations: 2.173 MB / 0.9688 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003713/1.391, allocations: 2.214 MB / 0.9709 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of SimCode: time 8.71e-07/1.391, allocations: 0 / 0.9709 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3913/1.783, allocations: 100.9 MB / 1.069 GB, free: 163 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.41/33.19, allocations: 11.67 kB / 1.069 GB, free: 162.9 MB / 0.6544 GB " [Timeout remaining time 627] (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: 37.43887811899185]