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.001313/0.001313, allocations: 105.1 kB / 21.22 MB, free: 0.6211 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.002116/0.002116, allocations: 209.2 kB / 24.52 MB, free: 3.91 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.443/1.443, allocations: 230.5 MB / 258.2 MB, free: 7.789 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.2239/0.2239, allocations: 46.95 MB / 361.6 MB, free: 3.941 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.002277/0.002277, allocations: 71.89 kB / 0.4969 GB, free: 7.562 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3233, allocations: 66.09 MB / 0.5614 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01418/0.3375, allocations: 10.39 MB / 0.5716 GB, free: 9.582 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00996/0.3475, allocations: 4.167 MB / 0.5757 GB, free: 5.406 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001784/0.3493, allocations: 87.56 kB / 0.5757 GB, free: 5.32 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005499/0.3548, allocations: 2.69 MB / 0.5784 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006375/0.3611, allocations: 2.078 MB / 0.5804 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002658/0.3638, allocations: 1.006 MB / 0.5814 GB, free: 15.53 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00785/0.3716, allocations: 5.367 MB / 0.5866 GB, free: 10.15 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004328/0.376, allocations: 2.888 MB / 0.5894 GB, free: 7.207 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002996/0.379, allocations: 1.779 MB / 0.5912 GB, free: 5.422 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003829/0.3828, allocations: 2.644 MB / 0.5938 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008555/0.3837, allocations: 368 kB / 0.5941 GB, free: 2.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002494/0.3861, allocations: 1.318 MB / 0.5954 GB, free: 1.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002808/0.389, allocations: 2.248 MB / 0.5976 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003743/0.3927, allocations: 1.911 MB / 0.5995 GB, free: 12.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01223/0.4049, allocations: 8.249 MB / 0.6075 GB, free: 4.633 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4049, allocations: 0 / 0.6075 GB, free: 4.633 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4049, allocations: 0 / 0.6075 GB, free: 4.633 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003148/0.4053, allocations: 0 / 0.6075 GB, free: 4.633 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.01936/0.4246, allocations: 5.95 MB / 0.6133 GB, free: 14.62 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.4247, allocations: 12.02 kB / 0.6133 GB, free: 14.61 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001902/0.4249, allocations: 118.8 kB / 0.6135 GB, free: 14.49 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001729/0.4266, allocations: 0.7906 MB / 0.6142 GB, free: 13.69 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08115/0.5077, allocations: 7.246 MB / 0.6213 GB, free: 6.43 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008371/0.5161, allocations: 3.545 MB / 0.6248 GB, free: 2.832 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002545/0.5164, allocations: 262.6 kB / 0.625 GB, free: 2.574 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001128/0.5175, allocations: 347.7 kB / 0.6253 GB, free: 2.234 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02359/0.5411, allocations: 12.39 MB / 0.6374 GB, free: 5.012 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001835/0.5413, allocations: 59.56 kB / 0.6375 GB, free: 4.953 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005642/0.5418, allocations: 163.8 kB / 0.6377 GB, free: 4.793 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004222/0.5461, allocations: 2.373 MB / 0.64 GB, free: 2.418 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0224/0.5685, allocations: 10.7 MB / 0.6504 GB, free: 7.695 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06567/0.6341, allocations: 46.34 MB / 0.6957 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01574/0.6499, allocations: 5.173 MB / 0.7007 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004221/0.6541, allocations: 2.844 MB / 0.7035 GB, free: 16 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02065/0.6747, allocations: 11.29 MB / 0.7145 GB, free: 4.668 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.841e-05/0.6748, allocations: 51.88 kB / 0.7146 GB, free: 4.609 MB / 0.545 GB Notification: Performance of pre-optimization done (n=193): time 1.006e-05/0.6748, allocations: 7.984 kB / 0.7146 GB, free: 4.602 MB / 0.545 GB Notification: Performance of matching and sorting (n=254): time 0.3763/1.051, allocations: 38.57 MB / 0.7523 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.714e-05/1.051, allocations: 214.9 kB / 0.7525 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004735/1.056, allocations: 4.387 MB / 0.7567 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004931/1.056, allocations: 65.7 kB / 0.7568 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001455/1.058, allocations: 3.572 MB / 0.7603 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009235/1.059, allocations: 0.9818 MB / 0.7613 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001576/1.06, allocations: 1.373 MB / 0.7626 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.082e-05/1.06, allocations: 305.1 kB / 0.7629 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003563/1.064, allocations: 3.113 MB / 0.7659 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005285/1.069, allocations: 7.092 MB / 0.7728 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01074/1.08, allocations: 10.96 MB / 0.7836 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001211/1.08, allocations: 40 kB / 0.7836 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02431/1.104, allocations: 12.65 MB / 0.7959 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001705/1.105, allocations: 64.97 kB / 0.796 GB, free: 105.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002152/1.105, allocations: 136 kB / 0.7961 GB, free: 105 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008519/1.113, allocations: 3.243 MB / 0.7993 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004954/1.118, allocations: 1.532 MB / 0.8008 GB, free: 100.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01983/1.138, allocations: 16.33 MB / 0.8168 GB, free: 83.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005537/1.144, allocations: 439.4 kB / 0.8172 GB, free: 83.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001139/1.145, allocations: 407.9 kB / 0.8176 GB, free: 82.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.004879/1.15, allocations: 2.342 MB / 0.8198 GB, free: 80.58 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001141/1.151, allocations: 429.2 kB / 0.8203 GB, free: 80.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01375/1.165, allocations: 7.476 MB / 0.8276 GB, free: 72.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.172e-05/1.165, allocations: 28 kB / 0.8276 GB, free: 72.63 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.35e-05/1.165, allocations: 15.98 kB / 0.8276 GB, free: 72.62 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.091e-05/1.165, allocations: 7.969 kB / 0.8276 GB, free: 72.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02424/1.189, allocations: 14.37 MB / 0.8416 GB, free: 58.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.318e-05/1.189, allocations: 0 / 0.8416 GB, free: 58.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001964/1.191, allocations: 381.8 kB / 0.842 GB, free: 57.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007677/1.199, allocations: 2.927 MB / 0.8449 GB, free: 54.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004066/1.199, allocations: 54.48 kB / 0.8449 GB, free: 54.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01666/1.216, allocations: 14.55 MB / 0.8591 GB, free: 40.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/1.216, allocations: 0 / 0.8591 GB, free: 40.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01701/1.233, allocations: 11.47 MB / 0.8703 GB, free: 28.64 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/1.234, allocations: 389 kB / 0.8707 GB, free: 28.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00109/1.235, allocations: 47.83 kB / 0.8707 GB, free: 28.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002542/1.237, allocations: 183.7 kB / 0.8709 GB, free: 28.03 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006444/1.238, allocations: 161.6 kB / 0.8711 GB, free: 27.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000279/1.238, allocations: 60 kB / 0.8711 GB, free: 27.81 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004317/1.242, allocations: 2.746 MB / 0.8738 GB, free: 25.06 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.242, allocations: 0 / 0.8738 GB, free: 25.06 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006047/1.249, allocations: 1.293 MB / 0.8751 GB, free: 23.77 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.01755/1.266, allocations: 12.14 MB / 0.8869 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01034/1.276, allocations: 7.526 MB / 0.8943 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.198e-06/1.276, allocations: 0 / 0.8943 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004132/1.281, allocations: 2.892 MB / 0.8971 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003354/1.284, allocations: 0.5027 MB / 0.8976 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1174/1.401, allocations: 60.75 MB / 0.9569 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005888/1.407, allocations: 3.139 MB / 0.96 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005477/1.413, allocations: 2.172 MB / 0.9621 GB, free: 8.258 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00379/1.416, allocations: 2.21 MB / 0.9643 GB, free: 6.047 MB / 0.6387 GB Notification: Performance of SimCode: time 1.813e-06/1.416, allocations: 0 / 0.9643 GB, free: 6.047 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3681/1.785, allocations: 98.79 MB / 1.061 GB, free: 171.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.68/32.46, allocations: 4.062 kB / 1.061 GB, free: 171.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: 36.634333788999356]