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.0009488/0.0009488, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001029/0.001029, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.9531/0.9531, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.269/0.269, allocations: 34.23 MB / 294.8 MB, free: 0.6953 MB / 266.7 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 1.943e-06/1.943e-06, allocations: 0 / 442.2 MB, free: 1.562 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.428e-05/2.622e-05, allocations: 2.281 kB / 442.2 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.2057/0.2057, allocations: 10.45 MB / 452.6 MB, free: 38.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007866/0.2136, allocations: 4.188 MB / 456.8 MB, free: 35.72 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002447/0.216, allocations: 86.94 kB / 456.9 MB, free: 35.7 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003341/0.2194, allocations: 2.827 MB / 459.7 MB, free: 34.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00433/0.2237, allocations: 2.128 MB / 461.8 MB, free: 33.49 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.2254, allocations: 1.108 MB / 463 MB, free: 33.03 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004898/0.2303, allocations: 6.1 MB / 469.1 MB, free: 30.79 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003817/0.2341, allocations: 3.381 MB / 472.4 MB, free: 29.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003392/0.2375, allocations: 2.696 MB / 475.1 MB, free: 28.19 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002888/0.2404, allocations: 2.736 MB / 477.9 MB, free: 27.49 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008272/0.2412, allocations: 377.2 kB / 478.2 MB, free: 27.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001967/0.2432, allocations: 1.368 MB / 479.6 MB, free: 27.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002068/0.2452, allocations: 2.342 MB / 481.9 MB, free: 26.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002765/0.248, allocations: 1.508 MB / 483.5 MB, free: 25.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01307/0.2611, allocations: 8.338 MB / 491.8 MB, free: 22.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.2611, allocations: 0 / 491.8 MB, free: 22.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.2611, allocations: 1.188 kB / 491.8 MB, free: 22.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000352/0.2614, allocations: 0 / 491.8 MB, free: 22.64 MB / 410.7 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.01619/0.2776, allocations: 6.022 MB / 497.8 MB, free: 19.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.2777, allocations: 9.438 kB / 497.8 MB, free: 19.18 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001675/0.2793, allocations: 0.7884 MB / 498.6 MB, free: 18.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03905/0.3184, allocations: 7.521 MB / 0.4943 GB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007068/0.3255, allocations: 3.229 MB / 0.4974 GB, free: 13.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001595/0.3256, allocations: 250.8 kB / 0.4977 GB, free: 13.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001226/0.3268, allocations: 344.3 kB / 0.498 GB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01707/0.3439, allocations: 12.41 MB / 0.5101 GB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001599/0.3441, allocations: 59.58 kB / 0.5102 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005104/0.3446, allocations: 163.8 kB / 0.5103 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002592/0.3472, allocations: 2.377 MB / 0.5126 GB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01734/0.3645, allocations: 10.7 MB / 0.5231 GB, free: 2.324 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04927/0.4138, allocations: 46.68 MB / 0.5687 GB, free: 2.406 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009185/0.423, allocations: 5.361 MB / 0.5739 GB, free: 13.01 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003027/0.426, allocations: 2.838 MB / 0.5767 GB, free: 10.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01455/0.4405, allocations: 11.56 MB / 0.588 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/0.4406, allocations: 55.81 kB / 0.588 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=193): time 7.575e-06/0.4406, allocations: 4 kB / 0.588 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=254): time 0.07018/0.5108, allocations: 39.79 MB / 0.6269 GB, free: 6.648 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.635e-05/0.5109, allocations: 209.9 kB / 0.6271 GB, free: 6.402 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006416/0.5173, allocations: 4.949 MB / 0.6319 GB, free: 1.43 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0009579/0.5182, allocations: 65.7 kB / 0.632 GB, free: 1.359 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.2211/0.7393, allocations: 3.528 MB / 0.6354 GB, free: 155.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001515/0.7408, allocations: 0.9805 MB / 0.6364 GB, free: 155.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001921/0.7427, allocations: 1.356 MB / 0.6377 GB, free: 155 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 3.71e-05/0.7428, allocations: 303.8 kB / 0.638 GB, free: 154.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003336/0.7461, allocations: 3.13 MB / 0.6411 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004536/0.7506, allocations: 7.104 MB / 0.648 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009725/0.7604, allocations: 10.97 MB / 0.6587 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002092/0.7606, allocations: 38.62 kB / 0.6588 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02264/0.7832, allocations: 12.66 MB / 0.6711 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.481e-05/0.7833, allocations: 68.38 kB / 0.6712 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001541/0.7835, allocations: 140.5 kB / 0.6713 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005484/0.789, allocations: 3.241 MB / 0.6745 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003979/0.7929, allocations: 1.544 MB / 0.676 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0167/0.8096, allocations: 16.36 MB / 0.692 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00522/0.8148, allocations: 0.5149 MB / 0.6925 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001072/0.8159, allocations: 405.4 kB / 0.6929 GB, free: 126.7 MB / 0.5261 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.003922/0.8198, allocations: 2.336 MB / 0.6951 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000843/0.8207, allocations: 432 kB / 0.6956 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008068/0.8288, allocations: 7.485 MB / 0.7029 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.333e-05/0.8288, allocations: 28 kB / 0.7029 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/0.8288, allocations: 14.47 kB / 0.7029 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.04e-05/0.8288, allocations: 15.2 kB / 0.7029 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01689/0.8457, allocations: 14.48 MB / 0.7171 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.43e-05/0.8457, allocations: 4 kB / 0.7171 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.8468, allocations: 379.4 kB / 0.7174 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004288/0.8511, allocations: 2.927 MB / 0.7203 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000299/0.8514, allocations: 39.94 kB / 0.7203 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0126/0.864, allocations: 14.64 MB / 0.7346 GB, free: 89.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.864, allocations: 3.312 kB / 0.7346 GB, free: 89.22 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01202/0.876, allocations: 11.48 MB / 0.7458 GB, free: 77.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001615/0.8776, allocations: 445 kB / 0.7463 GB, free: 77.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000482/0.8781, allocations: 40 kB / 0.7463 GB, free: 77.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/0.8794, allocations: 259.6 kB / 0.7465 GB, free: 76.95 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003964/0.8798, allocations: 161.2 kB / 0.7467 GB, free: 76.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/0.8799, allocations: 62.42 kB / 0.7468 GB, free: 76.73 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003218/0.8832, allocations: 3.012 MB / 0.7497 GB, free: 73.72 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/0.8832, allocations: 0.5625 kB / 0.7497 GB, free: 73.72 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005068/0.8882, allocations: 1.457 MB / 0.7511 GB, free: 72.26 MB / 0.5261 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.01113/0.8994, allocations: 12.15 MB / 0.763 GB, free: 60.04 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008956/0.9083, allocations: 7.529 MB / 0.7703 GB, free: 52.52 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.9083, allocations: 0 / 0.7703 GB, free: 52.52 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003006/0.9113, allocations: 2.889 MB / 0.7732 GB, free: 49.62 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002662/0.914, allocations: 0.5101 MB / 0.7737 GB, free: 49.13 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07889/0.9929, allocations: 61.73 MB / 0.8339 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004126/0.997, allocations: 3.146 MB / 0.837 GB, free: 9.965 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.1865/1.183, allocations: 2.185 MB / 0.8391 GB, free: 176.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003782/1.187, allocations: 2.228 MB / 0.8413 GB, free: 176.9 MB / 0.5573 GB Notification: Performance of SimCode: time 2.154e-06/1.187, allocations: 5.281 kB / 0.8413 GB, free: 176.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1117/1.299, allocations: 98.73 MB / 0.9377 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/12.3, allocations: 8.047 kB / 0.9377 GB, free: 119.8 MB / 0.5573 GB " [Timeout remaining time 648] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins/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: 14.868512497283518]